buildcraft/api/buildcraft/api/boards/RedstoneBoardRegistry.java

32 lines
1,013 B
Java
Raw Normal View History

/**
* Copyright (c) 2011-2014, 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;
2014-06-12 18:29:02 +02:00
import java.util.Collection;
2014-05-29 15:07:18 +02:00
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.nbt.NBTTagCompound;
public abstract class RedstoneBoardRegistry {
public static RedstoneBoardRegistry instance;
2014-06-15 19:27:17 +02:00
public abstract void registerBoardClass(RedstoneBoardNBT<?> redstoneBoardNBT, float probability);
public abstract void createRandomBoard(NBTTagCompound nbt);
public abstract RedstoneBoardNBT getRedstoneBoard(NBTTagCompound nbt);
2014-05-29 15:07:18 +02:00
2014-06-15 19:27:17 +02:00
public abstract RedstoneBoardNBT<?> getRedstoneBoard(String id);
2014-05-29 21:58:08 +02:00
2014-05-29 15:07:18 +02:00
public abstract void registerIcons(IIconRegister par1IconRegister);
2014-06-15 21:05:06 +02:00
public abstract Collection<RedstoneBoardNBT<?>> getAllBoardNBTs();
}