use of pl.asie.charset.audio.tape.RecipeTape in project Charset by CharsetMC.
the class ModCharsetAudio method init.
@Mod.EventHandler
public void init(FMLInitializationEvent event) {
packet = new PacketRegistry(ModCharsetAudio.MODID);
packet.registerPacket(0x01, PacketNoteParticle.class);
packet.registerPacket(0x10, PacketDriveState.class);
packet.registerPacket(0x11, PacketDriveAudio.class);
packet.registerPacket(0x12, PacketDriveStop.class);
packet.registerPacket(0x13, PacketDriveRecord.class);
packet.registerPacket(0x14, PacketDriveCounter.class);
GameRegistry.registerTileEntity(TileIronNote.class, "charset:ironnoteblock");
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ironNoteBlock), "iii", "iNi", "iii", 'i', "ingotIron", 'N', Blocks.noteblock));
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(tapeReelItem), " i ", "ipi", " i ", 'i', "ingotIron", 'p', Items.paper));
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(magneticTapeItem, 32), "ddd", "rir", "ddd", 'd', "dyeBlack", 'r', Items.redstone, 'i', "ingotIron"));
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(partTapeDriveItem), "igi", "rRr", "ipi", 'g', "blockGlass", 'p', Blocks.piston, 'R', new ItemStack(tapeReelItem, 1, 0), 'r', Items.redstone, 'i', "ingotIron"));
NetworkRegistry.INSTANCE.registerGuiHandler(this, new GuiHandlerAudio());
GameRegistry.addRecipe(new RecipeTapeReel());
RecipeSorter.register("charsetaudio:tapeReel", RecipeTapeReel.class, RecipeSorter.Category.SHAPELESS, "after:minecraft:shapeless");
GameRegistry.addRecipe(new RecipeTape());
RecipeSorter.register("charsetaudio:tape", RecipeTape.class, RecipeSorter.Category.SHAPED, "after:minecraft:shaped");
proxy.init();
}
Aggregations