2014-05-27 00:25:39 +02:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2011-2014, SpaceToad and the BuildCraft Team
|
|
|
|
* http://www.mod-buildcraft.com
|
|
|
|
*
|
2014-12-09 21:09:14 +01:00
|
|
|
* 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.
|
2014-05-27 00:25:39 +02:00
|
|
|
*/
|
|
|
|
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;
|
2014-05-29 11:28:34 +02:00
|
|
|
import net.minecraft.nbt.NBTTagCompound;
|
|
|
|
|
2014-05-27 00:25:39 +02:00
|
|
|
public abstract class RedstoneBoardRegistry {
|
|
|
|
|
|
|
|
public static RedstoneBoardRegistry instance;
|
|
|
|
|
2014-06-15 19:27:17 +02:00
|
|
|
public abstract void registerBoardClass(RedstoneBoardNBT<?> redstoneBoardNBT, float probability);
|
2014-05-29 11:28:34 +02:00
|
|
|
|
|
|
|
public abstract void createRandomBoard(NBTTagCompound nbt);
|
2014-05-27 00:25:39 +02:00
|
|
|
|
2014-06-01 15:13:23 +02:00
|
|
|
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-01 15:13:23 +02:00
|
|
|
|
2014-06-15 21:05:06 +02:00
|
|
|
public abstract Collection<RedstoneBoardNBT<?>> getAllBoardNBTs();
|
2014-05-27 00:25:39 +02:00
|
|
|
}
|