2015-03-07 12:51:28 +01:00
|
|
|
package ellpeck.actuallyadditions.blocks;
|
2015-01-05 22:14:01 +01:00
|
|
|
|
2015-03-19 21:27:56 +01:00
|
|
|
import cpw.mods.fml.common.registry.GameRegistry;
|
|
|
|
import ellpeck.actuallyadditions.util.IName;
|
2015-03-07 12:51:28 +01:00
|
|
|
import ellpeck.actuallyadditions.util.Util;
|
2015-02-09 17:25:05 +01:00
|
|
|
import net.minecraft.block.Block;
|
|
|
|
|
2015-01-05 22:14:01 +01:00
|
|
|
public class InitBlocks{
|
|
|
|
|
2015-02-09 17:25:05 +01:00
|
|
|
public static Block blockCompost;
|
2015-02-17 16:15:16 +01:00
|
|
|
public static Block blockMisc;
|
|
|
|
public static Block blockFeeder;
|
2015-02-20 22:45:33 +01:00
|
|
|
public static Block blockGiantChest;
|
2015-02-09 17:25:05 +01:00
|
|
|
|
2015-03-07 02:23:31 +01:00
|
|
|
public static Block blockGrinder;
|
|
|
|
public static Block blockGrinderDouble;
|
|
|
|
public static Block blockFurnaceDouble;
|
2015-03-19 21:27:56 +01:00
|
|
|
public static Block blockInputter;
|
2015-03-07 02:23:31 +01:00
|
|
|
|
2015-01-05 22:14:01 +01:00
|
|
|
public static void init(){
|
2015-02-09 17:25:05 +01:00
|
|
|
Util.logInfo("Initializing Blocks...");
|
|
|
|
|
|
|
|
blockCompost = new BlockCompost();
|
2015-03-07 02:23:31 +01:00
|
|
|
Util.register(blockCompost, BlockCompost.TheItemBlock.class);
|
2015-01-05 22:14:01 +01:00
|
|
|
|
2015-02-17 16:15:16 +01:00
|
|
|
blockMisc = new BlockMisc();
|
2015-03-07 02:23:31 +01:00
|
|
|
Util.register(blockMisc, BlockMisc.TheItemBlock.class);
|
2015-02-17 16:15:16 +01:00
|
|
|
|
|
|
|
blockFeeder = new BlockFeeder();
|
2015-03-07 02:23:31 +01:00
|
|
|
Util.register(blockFeeder, BlockFeeder.TheItemBlock.class);
|
2015-01-05 22:14:01 +01:00
|
|
|
|
2015-02-20 22:45:33 +01:00
|
|
|
blockGiantChest = new BlockGiantChest();
|
2015-03-07 02:23:31 +01:00
|
|
|
Util.register(blockGiantChest, BlockGiantChest.TheItemBlock.class);
|
|
|
|
|
|
|
|
blockGrinder = new BlockGrinder(false);
|
|
|
|
Util.register(blockGrinder, BlockGrinder.TheItemBlock.class);
|
|
|
|
|
|
|
|
blockGrinderDouble = new BlockGrinder(true);
|
|
|
|
Util.register(blockGrinderDouble, BlockGrinder.TheItemBlock.class);
|
|
|
|
|
|
|
|
blockFurnaceDouble = new BlockFurnaceDouble();
|
|
|
|
Util.register(blockFurnaceDouble, BlockFurnaceDouble.TheItemBlock.class);
|
2015-03-19 21:27:56 +01:00
|
|
|
|
|
|
|
blockInputter = new BlockInputter();
|
|
|
|
GameRegistry.registerBlock(blockInputter, BlockInputter.TheItemBlock.class, ((IName)blockInputter).getName());
|
2015-02-17 16:15:16 +01:00
|
|
|
}
|
2015-02-20 22:45:33 +01:00
|
|
|
}
|