blob: edfe79cb58e3eb74056bc3ed75e9a1272771f889 [file] [log] [blame] [raw]
/** Copyright (c) 2011-2015, SpaceToad and the BuildCraft Team http://www.mod-buildcraft.com
*
* The BuildCraft API is distributed under the terms of the MIT License. Please check the contents of the license, which
* should be located as "LICENSE.API" in the BuildCraft source code distribution. */
package buildcraft.api.boards;
import java.util.Collection;
import net.minecraft.nbt.NBTTagCompound;
public abstract class RedstoneBoardRegistry {
public static RedstoneBoardRegistry instance;
/** Register a redstone board type.
*
* @param redstoneBoardNBT The RedstoneBoardNBT instance containing the board information.
* @param microJoules MJ price of the board, in micro MJ. */
public abstract void registerBoardType(RedstoneBoardNBT<?> redstoneBoardNBT, long microJoules);
public abstract void setEmptyRobotBoard(RedstoneBoardRobotNBT redstoneBoardNBT);
public abstract RedstoneBoardRobotNBT getEmptyRobotBoard();
public abstract RedstoneBoardNBT<?> getRedstoneBoard(NBTTagCompound nbt);
public abstract RedstoneBoardNBT<?> getRedstoneBoard(String id);
public abstract Collection<RedstoneBoardNBT<?>> getAllBoardNBTs();
public abstract long getPowerCost(RedstoneBoardNBT<?> board);
}