Résolu Recette avec objet modée qui ne marche pas...
-
@SpyMan marche pas
-
envoi ton code stp la ou sont enregistrer tes items/blocks, les recipes et la class principale
-
@SpyMan tout est dans la classe principale comme tu ma dit:
Classe principales:
package SCPCraft; import worldgen.SCPWorldGeneration; import cpw.mods.fml.client.registry.ClientRegistry; import cpw.mods.fml.common.FMLCommonHandler; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.event.FMLServerStartingEvent; import cpw.mods.fml.common.network.NetworkRegistry; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.common.config.Configuration; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.Entity; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemArmor; import net.minecraft.item.ItemStack; import net.minecraft.item.ItemSword; import net.minecraft.util.ChatComponentText; import net.minecraft.util.IChatComponent; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.common.config.Configuration; import net.minecraftforge.common.util.EnumHelper; import net.minecraftforge.fluids.Fluid; import SCPCraft.blocks.SCPBlock009; import SCPCraft.blocks.SCPBlock019; import SCPCraft.blocks.SCPBlock143Leaves; import SCPCraft.blocks.SCPBlock143Log; import SCPCraft.blocks.SCPBlock143Sapling; import SCPCraft.blocks.SCPBlock513; import SCPCraft.blocks.SCPBlockBasic; import SCPCraft.blocks.SCPBlockSmoker; import SCPCraft.blocks.SCPBlockTransparancy; import SCPCraft.common.CommonProxy; import SCPCraft.config.SCPConfig; import SCPCraft.config.SCPConfigHandler; import SCPCraft.entity.boss.SCPEntity682; import SCPCraft.entity.clockworkvirus.SCPEntity217Cow; import SCPCraft.entity.clockworkvirus.SCPEntity217Creeper; import SCPCraft.entity.clockworkvirus.SCPEntity217Pig; import SCPCraft.entity.clockworkvirus.SCPEntity217Spider; import SCPCraft.entity.clockworkvirus.SCPEntity217Testificate; import SCPCraft.entity.clockworkvirus.SCPEntity217Zombie; import SCPCraft.entity.monster.SCPEntity019n2; import SCPCraft.entity.monster.SCPEntity023; import SCPCraft.entity.monster.SCPEntity049; import SCPCraft.entity.monster.SCPEntity050AEJ; import SCPCraft.entity.monster.SCPEntity058; import SCPCraft.entity.monster.SCPEntity080; import SCPCraft.entity.monster.SCPEntity096Mad; import SCPCraft.entity.monster.SCPEntity1000; import SCPCraft.entity.monster.SCPEntity106; import SCPCraft.entity.monster.SCPEntity173; import SCPCraft.entity.monster.SCPEntity280; import SCPCraft.entity.monster.SCPEntity457; import SCPCraft.entity.monster.SCPEntity472; import SCPCraft.entity.monster.SCPEntity538; import SCPCraft.entity.monster.SCPEntity939; import SCPCraft.entity.monster.SCPEntity966; import SCPCraft.entity.monster.SCPEntityRat; import SCPCraft.entity.passive.SCPEntity053; import SCPCraft.entity.passive.SCPEntity096Cry; import SCPCraft.entity.passive.SCPEntity096Docile; import SCPCraft.entity.passive.SCPEntity111; import SCPCraft.entity.passive.SCPEntity131; import SCPCraft.entity.passive.SCPEntity372; import SCPCraft.entity.passive.SCPEntity513A; import SCPCraft.entity.passive.SCPEntity629; import SCPCraft.entity.passive.SCPEntity997; import SCPCraft.entity.passive.SCPEntity999; import SCPCraft.entity.passive.SCPEntityClassD027; import SCPCraft.entity.passive.SCPEntityClassDGuy; import SCPCraft.init.SCPBlocks; import SCPCraft.init.SCPItems; import SCPCraft.items.SCPItem063; import SCPCraft.items.SCPItem1023ARC; import SCPCraft.items.SCPItem143Axe; import SCPCraft.items.SCPItem143Pickaxe; import SCPCraft.items.SCPItem143Spade; import SCPCraft.items.SCPItem217Cow; import SCPCraft.items.SCPItem217Creeper; import SCPCraft.items.SCPItem217Pig; import SCPCraft.items.SCPItem217Spider; import SCPCraft.items.SCPItem217Testificate; import SCPCraft.items.SCPItem217Zombie; import SCPCraft.items.SCPItem458; import SCPCraft.items.SCPItem500; import SCPCraft.items.SCPItem50AEJ; import SCPCraft.items.SCPItem912Armor; import SCPCraft.items.SCPItemClassDArmor; import SCPCraft.items.SCPItemKeycard; import SCPCraft.items.SCPItemWrench; import SCPCraft.items.cups.CupApple; import SCPCraft.items.cups.CupBlood; import SCPCraft.items.cups.CupCactus; import SCPCraft.items.cups.CupCoal; import SCPCraft.items.cups.CupFeather; import SCPCraft.items.cups.CupGlass; import SCPCraft.items.cups.CupGlowstone; import SCPCraft.items.cups.CupGold; import SCPCraft.items.cups.CupGoldApple; import SCPCraft.items.cups.CupMoldyPumpkin; import SCPCraft.items.cups.CupMycelium; import SCPCraft.items.cups.CupNetherrack; import SCPCraft.items.cups.CupObsidian; import SCPCraft.items.cups.CupSoulSand; import SCPCraft.items.cups.CupSpiderEye; import SCPCraft.items.documents.SCPDocument019; import SCPCraft.items.documents.SCPDocument023; import SCPCraft.items.documents.SCPDocument027; import SCPCraft.items.documents.SCPDocument049; import SCPCraft.items.documents.SCPDocument053; import SCPCraft.items.documents.SCPDocument058; import SCPCraft.items.documents.SCPDocument080; import SCPCraft.items.documents.SCPDocument096; import SCPCraft.items.documents.SCPDocument1000; import SCPCraft.items.documents.SCPDocument106; import SCPCraft.items.documents.SCPDocument111; import SCPCraft.items.documents.SCPDocument131; import SCPCraft.items.documents.SCPDocument143; import SCPCraft.items.documents.SCPDocument173; import SCPCraft.items.documents.SCPDocument280; import SCPCraft.items.documents.SCPDocument372; import SCPCraft.items.documents.SCPDocument457; import SCPCraft.items.documents.SCPDocument472; import SCPCraft.items.documents.SCPDocument513; import SCPCraft.items.documents.SCPDocument538; import SCPCraft.items.documents.SCPDocument629; import SCPCraft.items.documents.SCPDocument966; import SCPCraft.items.documents.SCPDocument997; import SCPCraft.items.documents.SCPDocument999; import SCPCraft.items.records.SCPItem096Record; import SCPCraft.items.records.SCPItem106Record; import SCPCraft.items.records.SCPItem173Record; import SCPCraft.tileentity.SCPTileentity019; import SCPCraft.tileentity.SCPTileentity513; import SCPCraft.tileentity.SCPTileentitySmoker; import cpw.mods.fml.common.FMLCommonHandler; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.eventhandler.SubscribeEvent; import cpw.mods.fml.common.gameevent.PlayerEvent.PlayerLoggedInEvent; import cpw.mods.fml.common.network.NetworkRegistry; import cpw.mods.fml.common.registry.EntityRegistry; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; @Mod(modid = "SCP", name = "SCPCraft", version = "unspecified", guiFactory = "SCPCraft.client.gui.SCPGuiFactory") public class mod_SCP { @SidedProxy(clientSide = "SCPCraft.client.ClientProxy", serverSide = "SCPCraft.common.CommonProxy") public static CommonProxy proxy; public static String configPath; @Instance("scpmod") public static mod_SCP instance; public static CreativeTabs tabSCPItems = new CreativeTabs("tabSCPItems") { @SideOnly(Side.CLIENT) public Item getTabIconItem() { return SCPItems.Circuit; } }; public static CreativeTabs tabSCPs = new CreativeTabs("tabSCPs") { @SideOnly(Side.CLIENT) public Item getTabIconItem() { return SCPItems.Document173; } }; public static CreativeTabs tabSCPBlocks = new CreativeTabs("tabSCPBlocks") { @SideOnly(Side.CLIENT) public Item getTabIconItem() { return Item.getItemFromBlock(SCPBlocks.Reinforced_Steel); } }; public static CreativeTabs tabSCPCups = new CreativeTabs("tabSCPCups") { @SideOnly(Side.CLIENT) public Item getTabIconItem() { return SCPItems.EmptyCup; } }; public static Item.ToolMaterial SCPMaterial1023; public static Item.ToolMaterial SCPMaterial143; public static Item.ToolMaterial SCPMaterial063; public static ItemArmor.ArmorMaterial ClassD; public static ItemArmor.ArmorMaterial SCP912; public static Item Circuit; public static Item SCP1023ARC; public static Item GasMask; public static Item ClassDChestplate; public static Item ClassDLegging; public static Item ClassDBoots; public static Item SCP912Helmet; public static Item SCP912Chestplate; public static Item SCP912Legging; public static Item SCP912Boots; public static Item SCP458; public static Item SCP500; public static Item Wrench; public static Item SCP050AEJ; public static Item SCP063; public static Item Pearl173; public static Item Pearl111; public static Item Pearl457; public static Item Pearl019; public static Item Pearl513; public static Item Pearl1000; public static Item Pearl049; public static Item Pearl131; public static Item Pearl096; public static Item Pearl629; public static Item Pearl999; public static Item Pearl106; public static Item Pearl538; public static Item Pearl080; public static Item Pearl280; public static Item Pearl143; public static Item Pearl058; public static Item Pearl966; public static Item Pearl053; public static Item Pearl027; public static Item Pearl997; public static Item Pearl472; public static Item Pearl372; public static Item Pearl023; public static Item Pearl939; public static Item Document173; public static Item Document111; public static Item Document457; public static Item Document019; public static Item Document513; public static Item Document1000; public static Item Document049; public static Item Document131; public static Item Document096; public static Item Document629; public static Item Document999; public static Item Document106; public static Item Document538; public static Item Document080; public static Item Document280; public static Item Document143; public static Item Document058; public static Item Document472; public static Item Document966; public static Item Document053; public static Item Document027; public static Item Document997; public static Item Document372; public static Item Document023; public static Item Document939; public static Item SCP217; public static Item SCP217Cow; public static Item SCP217Creeper; public static Item SCP217Pig; public static Item SCP217Spider; public static Item SCP217Testificate; public static Item SCP217Zombie; public static Item EmptyCup; public static Item MyceliumCup; public static Item NetherrackCup; public static Item CoalCup; public static Item GlowstoneCup; public static Item GoldCup; public static Item GoldAppleCup; public static Item CactusCup; public static Item SoulSandCup; public static Item ObsidianCup; public static Item FeatherCup; public static Item SpiderEyeCup; public static Item GlassCup; public static Item MoldyPumpkinCup; public static Item AppleCup; public static Item BloodCup; public static Item KeycardLv1; public static Item KeycardLv2; public static Item KeycardLv3; public static Item OmniKeycard; public static Item Record173; public static Item Record106; public static Item Record096; public static Item SCP143Sword; public static Item SCP143Pickaxe; public static Item SCP143Shovel; public static Item SCP143Axe; public static Item CorrodedIronDoor; public static Block Reinforced_Steel; public static Block Blood_Block; public static Block Corroded_Iron_Block; public static Block SCP019; public static Block SCP513; public static Block Granite; public static Block Marble; public static Block Smoker; public static Block Grate; public static Block SCP143Log; public static Block SCP143Leaves; public static Block SCP143Sapling; public static Block SCP143Planks; public static Block SCP009; public static Block key_slot_1; public static Block key_slot_2; public static Block key_slot_3; public static Block key_slot_omni; static { SCPItems.SCPMaterial1023 = EnumHelper.addToolMaterial("SCPMaterial1023", 0, 9999996, 20.0f, 9999996.0f, 100); SCPItems.SCPMaterial143 = EnumHelper.addToolMaterial("SCPMaterial143", 1, 2500, 8.0f, 4.0f, 2); SCPItems.SCPMaterial063 = EnumHelper.addToolMaterial("SCPMaterial063", 10, 100000000, 1000.0f, 0.0f, 0); SCPItems.ClassD = EnumHelper.addArmorMaterial("ClassD", 25, new int[] { 2, 7, 5, 3 }, 9); SCPItems.SCP912 = EnumHelper.addArmorMaterial("SCP912", 26, new int[] { 40, 90, 70, 50 }, 3500); } SCPWorldGeneration worldgeneration = new SCPWorldGeneration(); @EventHandler public void preInit(FMLPreInitializationEvent event) { configPath = event.getModConfigurationDirectory() + "/scp/"; SCPConfig.init(configPath); addSCP(SCPEntityClassDGuy.class, "Class-D Guy", 400, 16737792, 0); addSCP(SCPEntity173.class, "SCP-173", 401, 16708287, 2868736); addSCP(SCPEntity111.class, "SCP-111", 402, 52224, 7864137); addSCP(SCPEntity457.class, "SCP-457", 403, 16711680, 16737792); addSCP(SCPEntity019n2.class, "SCP-019-2", 404, 16767633, 16776444); addSCP(SCPEntity217Cow.class, "Cowborg", 405, 0, 10066329); addSCP(SCPEntity217Creeper.class, "CreeperDrone", 406, 0, 52224); addSCP(SCPEntity217Pig.class, "Pigbot", 407, 16751001, 10066329); addSCP(SCPEntity217Spider.class, "Spitron", 408, 0, 10066329); addSCP(SCPEntity217Testificate.class, "Testifinator", 409, 0, 10066329); addSCP(SCPEntity217Zombie.class, "Zomborg", 410, 0, 52224); addSCP(SCPEntity513A.class, "SCP-513-A", 411, 0, 16713989); addSCP(SCPEntity1000.class, "SCP-1000", 412, 5570560, 16767633); addSCP(SCPEntity049.class, "SCP-049", 413, 5570560, 16777215); addSCP(SCPEntity131.class, "SCP-131", 414, 16711680, 16776960); addSCPWithNoEgg(SCPEntity096Mad.class, "SCP-096 Mad", 415); addSCP(SCPEntity096Docile.class, "SCP-096 Docile", 416, 16762060, 10082815); addSCPWithNoEgg(SCPEntity096Cry.class, "SCP-096 Cry", 417); addSCP(SCPEntity629.class, "SCP-629", 418, 9132544, 9139456); addSCP(SCPEntity999.class, "SCP-999", 419, 16737792, 16742410); addSCP(SCPEntity106.class, "SCP-106", 420, 0, 4468511); addSCP(SCPEntity538.class, "SCP-538", 421, 0, 4803656); addSCP(SCPEntity080.class, "SCP-080", 422, 0, 5592662); addSCP(SCPEntity280.class, "SCP-280", 423, 0, 9342347); addSCP(SCPEntity058.class, "SCP-058", 424, 10027008, 3342336); addSCPWithNoEgg(SCPEntity050AEJ.class, "SCP-50-AE-J", 425); addSCP(SCPEntity966.class, "SCP-966", 426, 16767633, 16776444); addSCP(SCPEntity053.class, "SCP-053", 427, 16771862, 11078399); addSCP(SCPEntityRat.class, "Rat", 428, 0, 16767633); addSCPWithNoEgg(SCPEntityClassD027.class, "Class-D Infested with SCP-027", 429); addSCP(SCPEntity997.class, "SCP-997", 430, 9132544, 9139456); addSCP(SCPEntity472.class, "SCP-472", 431, 16711680, 8523267); addSCP(SCPEntity372.class, "SCP-372", 432, 52224, 52224); addSCP(SCPEntity023.class, "SCP-023", 433, 0, 0); addSCP(SCPEntity939.class, "SCP-939", 434, 16711680, 16777215); addSCP(SCPEntity682.class, "SCP-682", 500, 0, 0); GameRegistry.registerWorldGenerator(worldgeneration, 0); ///Keycard KeycardLv1 = new SCPItemKeycard().setCreativeTab(mod_SCP.tabSCPItems).setUnlocalizedName("KeycardLv1").setTextureName("scp:keycard_1"); KeycardLv2 = new SCPItemKeycard().setCreativeTab(mod_SCP.tabSCPItems).setUnlocalizedName("KeycardLv2").setTextureName("scp:keycard_2"); KeycardLv3 = new SCPItemKeycard().setCreativeTab(mod_SCP.tabSCPItems).setUnlocalizedName("KeycardLv3").setTextureName("scp:keycard_3"); OmniKeycard = new SCPItemKeycard().setCreativeTab(mod_SCP.tabSCPItems).setUnlocalizedName("OmniKeycard").setTextureName("scp:keycard_4"); ///Normal Items Circuit = new Item().setCreativeTab(mod_SCP.tabSCPItems).setUnlocalizedName("Circuit").setTextureName("scp:circuit"); Wrench = new SCPItemWrench().setCreativeTab(mod_SCP.tabSCPItems).setUnlocalizedName("Wrench").setTextureName("scp:wrench"); GasMask = new SCPItemClassDArmor(ClassD, 0).setCreativeTab(mod_SCP.tabSCPItems).setTextureName("scp:gas_mask").setUnlocalizedName("GasMask"); ClassDChestplate = new SCPItemClassDArmor(ClassD, 1).setCreativeTab(mod_SCP.tabSCPItems).setTextureName("scp:classd_shirt").setUnlocalizedName("ClassDChestplate"); ClassDLegging = new SCPItemClassDArmor(ClassD, 2).setCreativeTab(mod_SCP.tabSCPItems).setTextureName("scp:classd_pants").setUnlocalizedName("ClassDLegging"); ClassDBoots = new SCPItemClassDArmor(ClassD, 3).setCreativeTab(mod_SCP.tabSCPItems).setTextureName("scp:classd_boots").setUnlocalizedName("ClassDBoots"); ///Document Document173 = new SCPDocument173(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_euclid"); Document111 = new SCPDocument111(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_safe"); Document457 = new SCPDocument457(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_keter"); Document019 = new SCPDocument019(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_keter"); Document513 = new SCPDocument513(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_euclid"); Document1000 = new SCPDocument1000(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_keter"); Document049 = new SCPDocument049(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_euclid"); Document131 = new SCPDocument131(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_safe"); Document096 = new SCPDocument096(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_euclid"); Document629 = new SCPDocument629(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_safe"); Document999 = new SCPDocument999(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_safe"); Document106 = new SCPDocument106(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_keter"); Document538 = new SCPDocument538(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_euclid"); Document080 = new SCPDocument080(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_euclid"); Document280 = new SCPDocument280(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_keter"); Document058 = new SCPDocument058(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_keter"); Document472 = new SCPDocument472(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_euclid"); Document053 = new SCPDocument053(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_euclid"); Document966 = new SCPDocument966(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_euclid"); Document027 = new SCPDocument027(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_euclid"); Document997 = new SCPDocument997(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_safe"); Document372 = new SCPDocument372(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_euclid"); Document023 = new SCPDocument023(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_euclid"); Document143 = new SCPDocument143(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_euclid"); Document939 = new SCPDocument058(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Document").setTextureName("scp:document_keter"); ///Pearl Pearl173 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl173").setTextureName("scp:0173"); Pearl111 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl111").setTextureName("scp:scp-111"); Pearl457 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl457").setTextureName("scp:scp-457"); Pearl019 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl019").setTextureName("scp:scp-019"); Pearl513 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl513").setTextureName("scp:cowbell"); Pearl1000 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl1000").setTextureName("scp:scp-1000"); Pearl049 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl049").setTextureName("scp:scp-049"); Pearl131 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl131").setTextureName("scp:0131"); Pearl096 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl096").setTextureName("scp:scp-096"); Pearl629 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl629").setTextureName("scp:scp-629"); Pearl999 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl999").setTextureName("scp:scp-999"); Pearl106 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl106").setTextureName("scp:scp-106"); Pearl538 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl538").setTextureName("scp:scp-538"); Pearl080 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl080").setTextureName("scp:scp-080"); Pearl280 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl280").setTextureName("scp:scp-280"); Pearl058 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl058").setTextureName("scp:scp-058"); Pearl966 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl966").setTextureName("scp:scp-966"); Pearl053 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl053").setTextureName("scp:scp-053"); Pearl027 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl027").setTextureName("scp:scp-027"); Pearl997 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl997").setTextureName("scp:scp-997"); Pearl472 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl472").setTextureName("scp:scp-472"); Pearl372 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl372").setTextureName("scp:scp-372"); Pearl023 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl023").setTextureName("scp:0023"); Pearl143 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl143").setTextureName("scp:scp-143"); Pearl939 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("Pearl939").setTextureName("scp:scp-939"); ///SCPs Items SCP458 = new SCPItem458(2, 0.3F, false).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("SCP458").setTextureName("scp:scp-458"); SCP912Helmet = new SCPItem912Armor(SCP912, 0).setCreativeTab(mod_SCP.tabSCPs).setTextureName("scp:swat_helmet").setUnlocalizedName("SCP912Helmet"); SCP912Chestplate = new SCPItem912Armor(SCP912, 1).setCreativeTab(mod_SCP.tabSCPs).setTextureName("scp:swat_shirt").setUnlocalizedName("SCP912Chestplate"); SCP912Legging = new SCPItem912Armor(SCP912, 2).setCreativeTab(mod_SCP.tabSCPs).setTextureName("scp:swat_pants").setUnlocalizedName("SCP912Legging"); SCP912Boots = new SCPItem912Armor(SCP912, 3).setCreativeTab(mod_SCP.tabSCPs).setTextureName("scp:swat_shoes").setUnlocalizedName("SCP912Boots"); SCP1023ARC = new SCPItem1023ARC(SCPItems.SCPMaterial1023).setCreativeTab(mod_SCP.tabSCPs).setTextureName("scp:1023").setUnlocalizedName("SCP1023ARC"); SCP500 = new SCPItem500(2, 0.3F, false).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("SCP500").setTextureName("scp:scp-500"); SCP050AEJ = new SCPItem50AEJ(2).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("SCP050AEJ").setTextureName("scp:scp-50-ae-j"); SCP063 = new SCPItem063(SCPItems.SCPMaterial063).setCreativeTab(mod_SCP.tabSCPs).setTextureName("scp:scp-063").setUnlocalizedName("SCP063"); ///Cups EmptyCup = new Item().setCreativeTab(mod_SCP.tabSCPCups).setUnlocalizedName("EmptyCup").setTextureName("scp:CupEmpty"); MyceliumCup = new CupMycelium(0, 0, false).setCreativeTab(mod_SCP.tabSCPCups).setUnlocalizedName("MyceliumCup").setTextureName("scp:CupMycelium"); NetherrackCup = new CupNetherrack(0, 0, false).setCreativeTab(mod_SCP.tabSCPCups).setUnlocalizedName("NetherrackCup").setTextureName("scp:CupNetherrack"); CoalCup = new CupCoal(0, 0, false).setCreativeTab(mod_SCP.tabSCPCups).setUnlocalizedName("CoalCup").setTextureName("scp:CupCoal"); GlowstoneCup = new CupGlowstone(0, 0, false).setCreativeTab(mod_SCP.tabSCPCups).setUnlocalizedName("GlowstoneCup").setTextureName("scp:CupGlowstone"); GoldCup = new CupGold(0, 0, false).setCreativeTab(mod_SCP.tabSCPCups).setUnlocalizedName("GoldCup").setTextureName("scp:CupGold"); GoldAppleCup = new CupGoldApple(0, 0, false).setCreativeTab(mod_SCP.tabSCPCups).setUnlocalizedName("GoldAppleCup").setTextureName("scp:CupAppleGold"); CactusCup = new CupCactus(0, 0, false).setCreativeTab(mod_SCP.tabSCPCups).setUnlocalizedName("CactusCup").setTextureName("scp:CupCactus"); SoulSandCup = new CupSoulSand(0, 0, false).setCreativeTab(mod_SCP.tabSCPCups).setUnlocalizedName("SoulSandCup").setTextureName("scp:CupSlowSand"); ObsidianCup = new CupObsidian(0, 0, false).setCreativeTab(mod_SCP.tabSCPCups).setUnlocalizedName("ObsidianCup").setTextureName("scp:CupObsidian"); FeatherCup = new CupFeather(0, 0, false).setCreativeTab(mod_SCP.tabSCPCups).setUnlocalizedName("FeatherCup").setTextureName("scp:CupFeather"); SpiderEyeCup = new CupSpiderEye(0, 0, false).setCreativeTab(mod_SCP.tabSCPCups).setUnlocalizedName("SpiderEyeCup").setTextureName("scp:CupSpiderEye"); GlassCup = new CupGlass(0, 0, false).setCreativeTab(mod_SCP.tabSCPCups).setUnlocalizedName("GlassCup").setTextureName("scp:CupGlass"); MoldyPumpkinCup = new CupMoldyPumpkin(0, 0, false).setCreativeTab(mod_SCP.tabSCPCups).setUnlocalizedName("MoldyPumpkinCup").setTextureName("scp:CupPumpkin"); AppleCup = new CupApple(0, 0, false).setCreativeTab(mod_SCP.tabSCPCups).setUnlocalizedName("AppleCup").setTextureName("scp:CupApple"); BloodCup = new CupBlood(0, 0, false).setCreativeTab(mod_SCP.tabSCPCups).setUnlocalizedName("BloodCup").setTextureName("scp:CupBlood"); ///SCP-217 SCP217 = new Item().setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("SCP217").setTextureName("scp:SCP217"); SCP217Cow = new SCPItem217Cow(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("SCP217Cow").setTextureName("scp:SCP217Cow"); SCP217Creeper = new SCPItem217Creeper(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("SCP217Creeper").setTextureName("scp:SCP217Creeper"); SCP217Pig = new SCPItem217Pig(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("SCP217Pig").setTextureName("scp:SCP217Pig"); SCP217Spider = new SCPItem217Spider(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("SCP217Spider").setTextureName("scp:SCP217Spider"); SCP217Testificate = new SCPItem217Testificate(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("SCP217Testificate").setTextureName("scp:SCP217Testificate"); SCP217Zombie = new SCPItem217Zombie(0).setCreativeTab(mod_SCP.tabSCPs).setUnlocalizedName("SCP217Zombie").setTextureName("scp:SCP217Zombie"); ///Records Record173 = new SCPItem173Record("Record173").setUnlocalizedName("Record173"); Record106 = new SCPItem106Record("Record106").setUnlocalizedName("Record106"); Record096 = new SCPItem096Record("Record096").setUnlocalizedName("Record096"); ///SCP-143 SCP143Sword = new ItemSword(SCPItems.SCPMaterial143).setCreativeTab(mod_SCP.tabSCPs).setTextureName("scp:scp143sword").setUnlocalizedName("SCP143Sword"); SCP143Pickaxe = new SCPItem143Pickaxe(SCPItems.SCPMaterial143).setCreativeTab(mod_SCP.tabSCPs).setTextureName("scp:scp143pickaxe").setUnlocalizedName("SCP143Pickaxe"); SCP143Axe = new SCPItem143Axe(SCPItems.SCPMaterial143).setCreativeTab(mod_SCP.tabSCPs).setTextureName("scp:scp143axe").setUnlocalizedName("SCP143Axe"); SCP143Shovel = new SCPItem143Spade(SCPItems.SCPMaterial143).setCreativeTab(mod_SCP.tabSCPs).setTextureName("scp:scp143spade").setUnlocalizedName("SCP143Shovel"); Reinforced_Steel = new SCPBlockBasic(Material.iron).setBlockName("Reinforced_Steel").setCreativeTab(mod_SCP.tabSCPBlocks).setBlockTextureName("scp:locker").setHardness(20.0F).setResistance(6000.0F); Blood_Block = new SCPBlockBasic(Material.iron).setBlockName("Blood_Block").setCreativeTab(mod_SCP.tabSCPBlocks).setBlockTextureName("scp:blood_block").setHardness(5.0F).setResistance(10.0F); Corroded_Iron_Block = new SCPBlockBasic(Material.iron).setBlockName("Corroded_Iron_Block").setCreativeTab(mod_SCP.tabSCPBlocks).setBlockTextureName("scp:corroded_iron").setHardness(20.0F).setResistance(6000.0F); SCP019 = new SCPBlock019().setHardness(600000.0F).setResistance(600000.0F).setBlockName("SCP-019").setCreativeTab(mod_SCP.tabSCPItems).setBlockTextureName("scp:monster pot"); SCP513 = new SCPBlock513().setHardness(600000.0F).setResistance(600000.0F).setBlockName("SCP-513").setCreativeTab(mod_SCP.tabSCPBlocks).setBlockTextureName("scp:machine0"); Granite = new SCPBlockBasic(Material.iron).setBlockName("Granite").setCreativeTab(mod_SCP.tabSCPBlocks).setBlockTextureName("scp:granite").setHardness(5.0F).setResistance(10.0F); Marble = new SCPBlockBasic(Material.rock).setBlockName("Marble").setCreativeTab(mod_SCP.tabSCPBlocks).setBlockTextureName("scp:marble").setHardness(5.0F).setResistance(10.0F); Smoker = new SCPBlockSmoker().setBlockName("Smoker").setCreativeTab(mod_SCP.tabSCPBlocks).setHardness(5.0F).setResistance(10.0F); Grate = new SCPBlockTransparancy(Material.glass).setBlockName("Grate").setCreativeTab(mod_SCP.tabSCPBlocks).setBlockTextureName("scp:grate").setHardness(5.0F).setResistance(10.0F); SCP143Log = new SCPBlock143Log().setBlockTextureName("scp:scp143log").setBlockName("SCP143Log").setCreativeTab(mod_SCP.tabSCPBlocks); SCP143Leaves = new SCPBlock143Leaves().setBlockTextureName("scp:scp143leaves").setBlockName("SCP143Leaves").setCreativeTab(mod_SCP.tabSCPBlocks); SCP143Sapling = new SCPBlock143Sapling().setBlockTextureName("scp:scp143sapling").setBlockName("SCP143Sapling").setCreativeTab(mod_SCP.tabSCPBlocks); SCP143Planks = new SCPBlockBasic(Material.wood).setBlockTextureName("scp:scp143plank").setBlockName("SCP143Planks").setCreativeTab(mod_SCP.tabSCPBlocks); SCP009 = new SCPBlock009(0, 0).setBlockTextureName("scp:scp009").setBlockName("SCP009").setCreativeTab(mod_SCP.tabSCPBlocks); } public static void register() { } @SubscribeEvent public void onPlayerJoin(PlayerLoggedInEvent event) { EntityPlayer player = event.player; player.addChatMessage(new ChatComponentText("Thanks for downloading SCPCraft! Hope you enjoy :)!")); } @EventHandler public void init(FMLInitializationEvent event) { FMLCommonHandler.instance().bus().register(new SCPConfigHandler()); GameRegistry.registerItem(Circuit, "Circuit"); GameRegistry.registerItem(GasMask, "GasMask"); GameRegistry.addRecipe(new ItemStack(SCPItems.GasMask, 1), new Object[]{"111", "1X1", "XXX", Character.valueOf('1'), new ItemStack(Blocks.iron_block, 1),}); GameRegistry.registerItem(ClassDChestplate, "ClassDChestplate"); GameRegistry.addRecipe(new ItemStack(SCPItems.ClassDChestplate, 1), new Object[]{"1X1", "111", "111", Character.valueOf('1'), new ItemStack(Blocks.iron_block, 1),}); GameRegistry.registerItem(ClassDLegging, "ClassDLegging"); GameRegistry.addRecipe(new ItemStack(SCPItems.ClassDLegging, 1), new Object[]{"111", "1X1", "1X1", Character.valueOf('1'), new ItemStack(Blocks.iron_block, 1),}); GameRegistry.registerItem(ClassDBoots, "ClassDBoots"); GameRegistry.addRecipe(new ItemStack(SCPItems.ClassDBoots, 1), new Object[]{"1X1", "1X1", "XXX", Character.valueOf('1'), new ItemStack(Blocks.iron_block, 1),}); GameRegistry.addRecipe(new ItemStack(SCPItems.ClassDBoots, 1), new Object[]{"XXX", "1X1", "1X1", Character.valueOf('1'), new ItemStack(Blocks.iron_block, 1),}); GameRegistry.registerItem(Wrench, "Wrench"); GameRegistry.addRecipe(new ItemStack(SCPItems.Wrench, 1), new Object[]{"X1X", "11X", "XX1", Character.valueOf('1'), new ItemStack(Items.iron_ingot, 1),}); GameRegistry.addRecipe(new ItemStack(SCPItems.Wrench, 1), new Object[]{"X1X", "X11", "1XX", Character.valueOf('1'), new ItemStack(Items.iron_ingot, 1),}); ///Document GameRegistry.registerItem(Document173, "Document173"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document173, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl173, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document111, "Document111"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document111, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl111, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document457, "Document457"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document457, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl457, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document019, "Document019"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document019, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl019, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document513, "Document513"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document513, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl513, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document1000, "Document1000"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document1000, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl1000, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document049, "Document049"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document049, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl049, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document131, "Document131"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document131, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl131, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document096, "Document096"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document096, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl096, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document629, "Document629"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document629, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl629, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document999, "Document999"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document999, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl999, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document106, "Document106"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document106, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl106, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document538, "Document538"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document538, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl538, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document080, "Document080"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document080, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl080, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document280, "Document280"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document280, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl280, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document143, "Document143"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document143, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl143, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document058, "Document058"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document058, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl058, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document966, "Document966"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document966, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl966, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document053, "Document053"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document053, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl053, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document027, "Document027"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document027, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl027, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document997, "Document997"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document997, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl997, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document472, "Document472"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document472, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl472, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document372, "Document372"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document372, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl372, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document023, "Document023"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document023, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl023, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); GameRegistry.registerItem(Document939, "Document939"); GameRegistry.addRecipe(new ItemStack(SCPItems.Document939, 1), new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.paper, 1),Character.valueOf('3'), new ItemStack(Items.paper, 1), Character.valueOf('4'), new ItemStack(SCPItems.Pearl939, 1),Character.valueOf('5'), new ItemStack(Items.paper, 1), Character.valueOf('7'), new ItemStack(Items.paper, 1),}); ///Pearl GameRegistry.registerItem(Pearl173, "Pearl173"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl173, 1),new Object[]{"012", "345", "678", Character.valueOf('0'), new ItemStack(Blocks.stone, 1), Character.valueOf('1'),new ItemStack(Items.rotten_flesh, 1), Character.valueOf('2'), new ItemStack(Blocks.stone, 1), Character.valueOf('3'),new ItemStack(Items.rotten_flesh, 1), Character.valueOf('4'), new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'),new ItemStack(Items.rotten_flesh, 1), Character.valueOf('6'), new ItemStack(Blocks.stone, 1), Character.valueOf('7'),new ItemStack(Items.rotten_flesh, 1), Character.valueOf('8'), new ItemStack(Blocks.stone, 1),}); GameRegistry.registerItem(Pearl111, "Pearl111"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl111, 1), new Object[]{"012", "345", "678", Character.valueOf('0'), new ItemStack(Items.apple, 1),Character.valueOf('1'), new ItemStack(Blocks.dirt, 1), Character.valueOf('2'), new ItemStack(Items.apple, 1), Character.valueOf('3'),new ItemStack(Blocks.dirt, 1), Character.valueOf('4'), new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'),new ItemStack(Blocks.dirt, 1), Character.valueOf('6'), new ItemStack(Items.apple, 1), Character.valueOf('7'),new ItemStack(Blocks.dirt, 1), Character.valueOf('8'), new ItemStack(Items.apple, 1),}); GameRegistry.registerItem(Pearl457, "Pearl457"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl457, 1),new Object[]{"012", "345", "678", Character.valueOf('0'),new ItemStack(Blocks.netherrack, 1), Character.valueOf('1'), new ItemStack(Items.flint_and_steel, 1), Character.valueOf('2'),new ItemStack(Blocks.netherrack, 1), Character.valueOf('3'), new ItemStack(Items.flint_and_steel, 1), Character.valueOf('4'),new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'), new ItemStack(Items.flint_and_steel, 1), Character.valueOf('6'),new ItemStack(Blocks.netherrack, 1), Character.valueOf('7'), new ItemStack(Items.flint_and_steel, 1), Character.valueOf('8'),new ItemStack(Blocks.netherrack, 1),}); GameRegistry.registerItem(Pearl019, "Pearl019"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl019, 1),new Object[]{"012", "345", "678", Character.valueOf('0'),new ItemStack(Items.coal, 1), Character.valueOf('1'), new ItemStack(Blocks.clay, 1), Character.valueOf('2'),new ItemStack(Items.coal, 1), Character.valueOf('3'), new ItemStack(Blocks.clay, 1), Character.valueOf('4'),new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'), new ItemStack(Blocks.clay, 1), Character.valueOf('6'),new ItemStack(Items.coal, 1), Character.valueOf('7'), new ItemStack(Blocks.clay, 1), Character.valueOf('8'),new ItemStack(Items.coal, 1),}); GameRegistry.registerItem(Pearl513, "Pearl513"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl513, 1),new Object[]{"X1X", "345", "678", Character.valueOf('1'), new ItemStack(Items.iron_ingot, 1), Character.valueOf('3'), new ItemStack(Items.iron_ingot, 1), Character.valueOf('4'),new ItemStack(Items.iron_ingot, 1), Character.valueOf('5'), new ItemStack(Items.iron_ingot, 1), Character.valueOf('6'),new ItemStack(Items.iron_ingot, 1), Character.valueOf('7'), new ItemStack(Items.ender_pearl, 1), Character.valueOf('8'),new ItemStack(Items.iron_ingot, 1),}); GameRegistry.registerItem(Pearl1000, "Pearl1000"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl1000, 1), new Object[]{"012", "345", "678", Character.valueOf('0'), new ItemStack(Items.wheat_seeds, 1),Character.valueOf('1'), new ItemStack(Blocks.grass, 1), Character.valueOf('2'), new ItemStack(Items.wheat_seeds, 1), Character.valueOf('3'),new ItemStack(Blocks.grass, 1), Character.valueOf('4'), new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'),new ItemStack(Blocks.grass, 1), Character.valueOf('6'), new ItemStack(Items.wheat_seeds, 1), Character.valueOf('7'),new ItemStack(Blocks.grass, 1), Character.valueOf('8'), new ItemStack(Items.wheat_seeds, 1),}); GameRegistry.registerItem(Pearl049, "Pearl049"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl049, 1), new Object[]{"012", "345", "678", Character.valueOf('0'), new ItemStack(Items.spider_eye, 1),Character.valueOf('1'), new ItemStack(Items.apple, 1), Character.valueOf('2'), new ItemStack(Items.spider_eye, 1), Character.valueOf('3'),new ItemStack(Items.apple, 1), Character.valueOf('4'), new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'),new ItemStack(Items.apple, 1), Character.valueOf('6'), new ItemStack(Items.spider_eye, 1), Character.valueOf('7'),new ItemStack(Items.apple, 1), Character.valueOf('8'), new ItemStack(Items.spider_eye, 1),}); GameRegistry.registerItem(Pearl131, "Pearl131"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl131, 1), new Object[]{"012", "345", "678", Character.valueOf('0'), new ItemStack(Items.redstone, 1),Character.valueOf('1'), new ItemStack(Items.ender_eye, 1), Character.valueOf('2'), new ItemStack(Items.redstone, 1), Character.valueOf('3'),new ItemStack(Items.ender_eye, 1), Character.valueOf('4'), new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'),new ItemStack(Items.ender_eye, 1), Character.valueOf('6'), new ItemStack(Items.redstone, 1), Character.valueOf('7'),new ItemStack(Items.ender_eye, 1), Character.valueOf('8'), new ItemStack(Items.redstone, 1),}); GameRegistry.registerItem(Pearl096, "Pearl096"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl096, 1),new Object[]{"012", "345", "678", Character.valueOf('0'), new ItemStack(Items.gunpowder, 1), Character.valueOf('1'),new ItemStack(Items.ghast_tear, 1), Character.valueOf('2'), new ItemStack(Items.gunpowder, 1), Character.valueOf('3'),new ItemStack(Items.ghast_tear, 1), Character.valueOf('4'), new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'),new ItemStack(Items.ghast_tear, 1), Character.valueOf('6'), new ItemStack(Items.gunpowder, 1), Character.valueOf('7'),new ItemStack(Items.ghast_tear, 1), Character.valueOf('8'), new ItemStack(Items.gunpowder, 1),}); GameRegistry.registerItem(Pearl629, "Pearl629"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl629, 1), new Object[]{"012", "345", "678", Character.valueOf('0'), new ItemStack(Items.gold_ingot, 1),Character.valueOf('1'), new ItemStack(Items.iron_ingot, 1), Character.valueOf('2'), new ItemStack(Items.gold_ingot, 1), Character.valueOf('3'),new ItemStack(Items.iron_ingot, 1), Character.valueOf('4'), new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'),new ItemStack(Items.iron_ingot, 1), Character.valueOf('6'), new ItemStack(Items.gold_ingot, 1), Character.valueOf('7'),new ItemStack(Items.iron_ingot, 1), Character.valueOf('8'), new ItemStack(Items.gold_ingot, 1),}); GameRegistry.registerItem(Pearl999, "Pearl999"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl999, 1), new Object[]{"012", "345", "678", Character.valueOf('0'), new ItemStack(Items.blaze_powder, 1),Character.valueOf('1'), new ItemStack(Items.slime_ball, 1), Character.valueOf('2'), new ItemStack(Items.blaze_powder, 1), Character.valueOf('3'),new ItemStack(Items.slime_ball, 1), Character.valueOf('4'), new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'),new ItemStack(Items.slime_ball, 1), Character.valueOf('6'), new ItemStack(Items.blaze_powder, 1), Character.valueOf('7'),new ItemStack(Items.slime_ball, 1), Character.valueOf('8'), new ItemStack(Items.blaze_powder, 1),}); GameRegistry.registerItem(Pearl106, "Pearl106"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl106, 1), new Object[]{"012", "345", "678", Character.valueOf('0'),new ItemStack(Blocks.mossy_cobblestone, 1), Character.valueOf('1'), new ItemStack(Blocks.obsidian, 1), Character.valueOf('2'),new ItemStack(Blocks.mossy_cobblestone, 1), Character.valueOf('3'), new ItemStack(Blocks.obsidian, 1), Character.valueOf('4'),new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'), new ItemStack(Blocks.obsidian, 1), Character.valueOf('6'),new ItemStack(Blocks.mossy_cobblestone, 1), Character.valueOf('7'), new ItemStack(Blocks.obsidian, 1), Character.valueOf('8'),new ItemStack(Blocks.mossy_cobblestone, 1),}); GameRegistry.registerItem(Pearl538, "Pearl538"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl538, 1), new Object[]{"012", "345", "678", Character.valueOf('0'), new ItemStack(Items.string, 1),Character.valueOf('1'), new ItemStack(Items.spider_eye, 1), Character.valueOf('2'), new ItemStack(Items.string, 1), Character.valueOf('3'),new ItemStack(Items.spider_eye, 1), Character.valueOf('4'), new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'),new ItemStack(Items.spider_eye, 1), Character.valueOf('6'), new ItemStack(Items.string, 1), Character.valueOf('7'),new ItemStack(Items.spider_eye, 1), Character.valueOf('8'), new ItemStack(Items.string, 1),}); GameRegistry.registerItem(Pearl080, "Pearl080"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl080, 1), new Object[]{"012", "345", "678", Character.valueOf('0'),new ItemStack(Items.coal, 1), Character.valueOf('1'), new ItemStack(Blocks.torch, 1), Character.valueOf('2'),new ItemStack(Items.coal, 1), Character.valueOf('3'), new ItemStack(Blocks.torch, 1), Character.valueOf('4'),new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'), new ItemStack(Blocks.torch, 1), Character.valueOf('6'),new ItemStack(Items.coal, 1), Character.valueOf('7'), new ItemStack(Blocks.torch, 1), Character.valueOf('8'),new ItemStack(Items.coal, 1),}); GameRegistry.registerItem(Pearl280, "Pearl280"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl280, 1), new Object[]{"012", "345", "678", Character.valueOf('0'), new ItemStack(Blocks.obsidian, 1),Character.valueOf('1'), new ItemStack(Blocks.end_stone, 1), Character.valueOf('2'), new ItemStack(Blocks.obsidian, 1), Character.valueOf('3'),new ItemStack(Blocks.end_stone, 1), Character.valueOf('4'), new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'),new ItemStack(Blocks.end_stone, 1), Character.valueOf('6'), new ItemStack(Blocks.obsidian, 1), Character.valueOf('7'),new ItemStack(Blocks.end_stone, 1), Character.valueOf('8'), new ItemStack(Blocks.obsidian, 1),}); GameRegistry.registerItem(Pearl143, "Pearl143"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl143, 1), new Object[]{"012", "345", "678", Character.valueOf('0'), new ItemStack(Blocks.planks, 1),Character.valueOf('1'), new ItemStack(Blocks.sapling, 1), Character.valueOf('2'), new ItemStack(Blocks.planks, 1), Character.valueOf('3'),new ItemStack(Blocks.sapling, 1), Character.valueOf('4'), new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'),new ItemStack(Blocks.sapling, 1), Character.valueOf('6'), new ItemStack(Blocks.planks, 1), Character.valueOf('7'),new ItemStack(Blocks.sapling, 1), Character.valueOf('8'), new ItemStack(Blocks.planks, 1),}); GameRegistry.registerItem(Pearl058, "Pearl058"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl058, 1), new Object[]{"012", "345", "678", Character.valueOf('0'), new ItemStack(Blocks.redstone_block, 1),Character.valueOf('1'), new ItemStack(Items.spider_eye, 1), Character.valueOf('2'), new ItemStack(Blocks.redstone_block, 1), Character.valueOf('3'),new ItemStack(Items.spider_eye, 1), Character.valueOf('4'), new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'),new ItemStack(Items.spider_eye, 1), Character.valueOf('6'), new ItemStack(Blocks.redstone_block, 1), Character.valueOf('7'),new ItemStack(Items.spider_eye, 1), Character.valueOf('8'), new ItemStack(Blocks.redstone_block, 1),}); GameRegistry.registerItem(Pearl966, "Pearl966"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl966, 1), new Object[]{"012", "345", "678", Character.valueOf('0'), new ItemStack(Items.redstone, 1),Character.valueOf('1'), new ItemStack(Items.bed, 1), Character.valueOf('2'), new ItemStack(Items.redstone, 1), Character.valueOf('3'),new ItemStack(Items.bed, 1), Character.valueOf('4'), new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'),new ItemStack(Items.bed, 1), Character.valueOf('6'), new ItemStack(Items.redstone, 1), Character.valueOf('7'),new ItemStack(Items.bed, 1), Character.valueOf('8'), new ItemStack(Items.redstone, 1),}); GameRegistry.registerItem(Pearl053, "Pearl053"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl053, 1), new Object[]{"012", "345", "678", Character.valueOf('0'), new ItemStack(Blocks.yellow_flower, 1),Character.valueOf('1'), new ItemStack(Blocks.red_flower, 1), Character.valueOf('2'), new ItemStack(Blocks.yellow_flower, 1), Character.valueOf('3'),new ItemStack(Blocks.red_flower, 1), Character.valueOf('4'), new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'),new ItemStack(Blocks.red_flower, 1), Character.valueOf('6'), new ItemStack(Blocks.yellow_flower, 1), Character.valueOf('7'),new ItemStack(Blocks.red_flower, 1), Character.valueOf('8'), new ItemStack(Blocks.yellow_flower, 1),}); GameRegistry.registerItem(Pearl027, "Pearl027"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl027, 1), new Object[]{"012", "345", "678", Character.valueOf('0'), new ItemStack(Items.coal, 1),Character.valueOf('1'), new ItemStack(Blocks.iron_bars, 1), Character.valueOf('2'), new ItemStack(Items.coal, 1), Character.valueOf('3'),new ItemStack(Blocks.iron_bars, 1), Character.valueOf('4'), new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'),new ItemStack(Blocks.iron_bars, 1), Character.valueOf('6'), new ItemStack(Items.coal, 1), Character.valueOf('7'),new ItemStack(Blocks.iron_bars, 1), Character.valueOf('8'), new ItemStack(Items.coal, 1),}); GameRegistry.registerItem(Pearl997, "Pearl997"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl997, 1), new Object[]{"012", "345", "678", Character.valueOf('0'), new ItemStack(Items.brewing_stand, 1),Character.valueOf('1'), new ItemStack(Items.gold_ingot, 1), Character.valueOf('2'), new ItemStack(Items.brewing_stand, 1), Character.valueOf('3'),new ItemStack(Items.gold_ingot, 1), Character.valueOf('4'), new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'),new ItemStack(Items.gold_ingot, 1), Character.valueOf('6'), new ItemStack(Items.brewing_stand, 1), Character.valueOf('7'),new ItemStack(Items.gold_ingot, 1), Character.valueOf('8'), new ItemStack(Items.brewing_stand, 1),}); GameRegistry.registerItem(Pearl472, "Pearl472"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl472, 1), new Object[]{"012", "345", "678", Character.valueOf('0'), new ItemStack(Blocks.redstone_block, 1),Character.valueOf('1'), new ItemStack(Items.redstone, 1), Character.valueOf('2'), new ItemStack(Blocks.redstone_block, 1), Character.valueOf('3'),new ItemStack(Items.redstone, 1), Character.valueOf('4'), new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'),new ItemStack(Items.redstone, 1), Character.valueOf('6'), new ItemStack(Blocks.redstone_block, 1), Character.valueOf('7'),new ItemStack(Items.redstone, 1), Character.valueOf('8'), new ItemStack(Blocks.redstone_block, 1),}); GameRegistry.registerItem(Pearl372, "Pearl372"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl372, 1), new Object[]{"012", "345", "678", Character.valueOf('0'), new ItemStack(Blocks.leaves, 1),Character.valueOf('1'), new ItemStack(Blocks.vine, 1), Character.valueOf('2'), new ItemStack(Blocks.leaves, 1), Character.valueOf('3'),new ItemStack(Blocks.vine, 1), Character.valueOf('4'), new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'),new ItemStack(Blocks.vine, 1), Character.valueOf('6'), new ItemStack(Blocks.leaves, 1), Character.valueOf('7'),new ItemStack(Blocks.vine, 1), Character.valueOf('8'), new ItemStack(Blocks.leaves, 1),}); GameRegistry.registerItem(Pearl023, "Pearl023"); GameRegistry.registerItem(Pearl939, "Pearl939"); GameRegistry.addRecipe(new ItemStack(SCPItems.Pearl939, 1), new Object[]{"012", "345", "678", Character.valueOf('0'), new ItemStack(Items.lava_bucket, 1),Character.valueOf('1'), new ItemStack(Blocks.noteblock, 1), Character.valueOf('2'), new ItemStack(Items.lava_bucket, 1), Character.valueOf('3'),new ItemStack(Blocks.noteblock, 1), Character.valueOf('4'), new ItemStack(Items.ender_pearl, 1), Character.valueOf('5'),new ItemStack(Blocks.noteblock, 1), Character.valueOf('6'), new ItemStack(Items.lava_bucket, 1), Character.valueOf('7'),new ItemStack(Blocks.noteblock, 1), Character.valueOf('8'), new ItemStack(Items.lava_bucket, 1),}); ///SCPs Items GameRegistry.registerItem(SCP458, "SCP458"); GameRegistry.addRecipe(new ItemStack(SCPItems.SCP458, 1), new Object[]{"111", "111", "X2X", Character.valueOf('1'), new ItemStack(Items.golden_apple, 1),Character.valueOf('2'), new ItemStack(Items.diamond, 1),}); GameRegistry.registerItem(SCP050AEJ, "SCP050AEJ"); GameRegistry.registerItem(SCP500, "SCP500"); GameRegistry.registerItem(SCP912Helmet, "SCP912Helmet"); GameRegistry.addRecipe(new ItemStack(SCPItems.SCP912Helmet, 1), new Object[]{"111", "2X2", "XXX", Character.valueOf('1'), new ItemStack(Blocks.iron_block, 1),Character.valueOf('2'), new ItemStack(Items.iron_ingot, 1),}); GameRegistry.registerItem(SCP912Chestplate, "SCP912Chestplate"); GameRegistry.addRecipe(new ItemStack(SCPItems.SCP912Chestplate, 1), new Object[]{"1X1", "222", "111", Character.valueOf('1'), new ItemStack(Blocks.iron_block, 1),Character.valueOf('2'), new ItemStack(Items.iron_ingot, 1),}); GameRegistry.registerItem(SCP912Legging, "SCP912Legging"); GameRegistry.addRecipe(new ItemStack(SCPItems.SCP912Legging, 1), new Object[]{"111", "2X2", "1X1", Character.valueOf('1'), new ItemStack(Blocks.iron_block, 1),Character.valueOf('2'), new ItemStack(Items.iron_ingot, 1),}); GameRegistry.registerItem(SCP912Boots, "SCP912Boots"); GameRegistry.addRecipe(new ItemStack(SCPItems.SCP912Boots, 1), new Object[]{"1X1", "2X2", "XXX", Character.valueOf('1'), new ItemStack(Blocks.iron_block, 1),Character.valueOf('2'), new ItemStack(Items.iron_ingot, 1),}); GameRegistry.addRecipe(new ItemStack(SCPItems.SCP912Boots, 1), new Object[]{"XXX", "1X1", "2X2", Character.valueOf('1'), new ItemStack(Blocks.iron_block, 1),Character.valueOf('2'), new ItemStack(Items.iron_ingot, 1),}); GameRegistry.registerItem(SCP1023ARC, "SCP1023ARC"); GameRegistry.registerItem(SCP143Sword, "SCP143Sword"); GameRegistry.registerItem(SCP143Axe, "SCP143Axe"); GameRegistry.registerItem(SCP143Pickaxe, "SCP143Pickaxe"); GameRegistry.registerItem(SCP143Shovel, "SCP143Shovel"); GameRegistry.registerItem(KeycardLv1, "KeycardLv1"); GameRegistry.registerItem(KeycardLv2, "KeycardLv2"); GameRegistry.registerItem(KeycardLv3, "KeycardLv3"); GameRegistry.registerItem(OmniKeycard, "OmniKeycard"); GameRegistry.registerItem(SCP063, "SCP063"); GameRegistry.addRecipe(new ItemStack(SCPItems.SCP063, 1), new Object[]{"12X", "12X", "X2X", Character.valueOf('1'), new ItemStack(Items.emerald, 1),Character.valueOf('2'), new ItemStack(Blocks.obsidian, 1),}); ///Cups GameRegistry.registerItem(EmptyCup, "EmptyCup"); GameRegistry.registerItem(MyceliumCup, "MyceliumCup"); GameRegistry.registerItem(NetherrackCup, "NetherrackCup"); GameRegistry.registerItem(CoalCup, "CoalCup"); GameRegistry.registerItem(GlowstoneCup, "GlowstoneCup"); GameRegistry.registerItem(GoldCup, "GoldCup"); GameRegistry.registerItem(GoldAppleCup, "GoldAppleCup"); GameRegistry.registerItem(CactusCup, "CactusCup"); GameRegistry.registerItem(SoulSandCup, "SoulSandCup"); GameRegistry.registerItem(ObsidianCup, "ObsidianCup"); GameRegistry.registerItem(FeatherCup, "FeatherCup"); GameRegistry.registerItem(SpiderEyeCup, "SpiderEyeCup"); GameRegistry.registerItem(GlassCup, "GlassCup"); GameRegistry.registerItem(MoldyPumpkinCup, "MoldyPumpkinCup"); GameRegistry.registerItem(AppleCup, "AppleCup"); GameRegistry.registerItem(BloodCup, "BloodCup"); ///SCP-217 GameRegistry.registerItem(SCP217, "SCP217"); GameRegistry.registerItem(SCP217Cow, "SCP217Cow"); GameRegistry.registerItem(SCP217Creeper, "SCP217Creeper"); GameRegistry.registerItem(SCP217Pig, "SCP217Pig"); GameRegistry.registerItem(SCP217Spider, "SCP217Spider"); GameRegistry.registerItem(SCP217Testificate, "SCP217Testificate"); GameRegistry.registerItem(SCP217Zombie, "SCP217Zombie"); ///Records GameRegistry.registerItem(Record173, "Record173"); GameRegistry.registerItem(Record106, "Record106"); GameRegistry.registerItem(Record096, "Record096"); GameRegistry.registerBlock(Reinforced_Steel, Reinforced_Steel.getUnlocalizedName().substring(5)); GameRegistry.addRecipe(new ItemStack(SCPBlocks.Reinforced_Steel, 1),new Object[]{"X1X", "345", "X7X", Character.valueOf('1'), new ItemStack(Items.iron_ingot, 1), Character.valueOf('3'), new ItemStack(Items.iron_ingot, 1), Character.valueOf('4'), new ItemStack(Blocks.iron_block, 1), Character.valueOf('5'),new ItemStack(Items.iron_ingot, 1), Character.valueOf('7'), new ItemStack(Items.iron_ingot, 1),}); GameRegistry.registerBlock(Blood_Block, Blood_Block.getUnlocalizedName().substring(5)); GameRegistry.registerBlock(Corroded_Iron_Block, Corroded_Iron_Block.getUnlocalizedName().substring(5)); GameRegistry.registerBlock(SCP019, SCP019.getUnlocalizedName().substring(5)); GameRegistry.registerBlock(SCP513, SCP513.getUnlocalizedName().substring(5)); GameRegistry.registerBlock(Granite, Granite.getUnlocalizedName().substring(5)); GameRegistry.registerBlock(Marble, Marble.getUnlocalizedName().substring(5)); GameRegistry.registerBlock(Smoker, Smoker.getUnlocalizedName().substring(5)); GameRegistry.registerBlock(Grate, Grate.getUnlocalizedName().substring(5)); GameRegistry.addRecipe(new ItemStack(SCPBlocks.Grate, 1),new Object[]{"111", "111", "111", Character.valueOf('1'), new ItemStack(Blocks.iron_bars, 1),}); GameRegistry.registerBlock(SCP143Log, SCP143Log.getUnlocalizedName().substring(5)); GameRegistry.registerBlock(SCP143Leaves, SCP143Leaves.getUnlocalizedName().substring(5)); GameRegistry.registerBlock(SCP143Sapling, SCP143Sapling.getUnlocalizedName().substring(5)); GameRegistry.registerBlock(SCP143Planks, SCP143Planks.getUnlocalizedName().substring(5)); GameRegistry.addRecipe(new ItemStack(SCPBlocks.SCP143Planks, 4),new Object[]{"1XX", "XXX", "XXX", Character.valueOf('1'), new ItemStack(SCPBlocks.SCP143Log, 1),}); GameRegistry.addRecipe(new ItemStack(SCPBlocks.SCP143Planks, 4),new Object[]{"X1X", "XXX", "XXX", Character.valueOf('1'), new ItemStack(SCPBlocks.SCP143Log, 1),}); GameRegistry.addRecipe(new ItemStack(SCPBlocks.SCP143Planks, 4),new Object[]{"XX1", "XXX", "XXX", Character.valueOf('1'), new ItemStack(SCPBlocks.SCP143Log, 1),}); GameRegistry.addRecipe(new ItemStack(SCPBlocks.SCP143Planks, 4),new Object[]{"XXX", "1XX", "XXX", Character.valueOf('1'), new ItemStack(SCPBlocks.SCP143Log, 1),}); GameRegistry.addRecipe(new ItemStack(SCPBlocks.SCP143Planks, 4),new Object[]{"XXX", "X1X", "XXX", Character.valueOf('1'), new ItemStack(SCPBlocks.SCP143Log, 1),}); GameRegistry.addRecipe(new ItemStack(SCPBlocks.SCP143Planks, 4),new Object[]{"XXX", "XX1", "XXX", Character.valueOf('1'), new ItemStack(SCPBlocks.SCP143Log, 1),}); GameRegistry.addRecipe(new ItemStack(SCPBlocks.SCP143Planks, 4),new Object[]{"XXX", "XXX", "1XX", Character.valueOf('1'), new ItemStack(SCPBlocks.SCP143Log, 1),}); GameRegistry.addRecipe(new ItemStack(SCPBlocks.SCP143Planks, 4),new Object[]{"XXX", "XXX", "X1X", Character.valueOf('1'), new ItemStack(SCPBlocks.SCP143Log, 1),}); GameRegistry.addRecipe(new ItemStack(SCPBlocks.SCP143Planks, 4),new Object[]{"XXX", "XXX", "XX1", Character.valueOf('1'), new ItemStack(SCPBlocks.SCP143Log, 1),}); GameRegistry.registerBlock(SCP009, SCP009.getUnlocalizedName().substring(5)); GameRegistry.registerTileEntity(SCPTileentity019.class, "scp:SCP019"); GameRegistry.registerTileEntity(SCPTileentity513.class, "scp:SCP513"); GameRegistry.registerTileEntity(SCPTileentitySmoker.class, "scp:Smoker"); } public void addSCP(Class <? extends Entity> entityClass, String name, int id,int backgroundColor, int foregroundColor) { int entiyID = EntityRegistry.findGlobalUniqueEntityId(); EntityRegistry.registerGlobalEntityID(entityClass, name, EntityRegistry.findGlobalUniqueEntityId(), backgroundColor, foregroundColor); EntityRegistry.registerModEntity(entityClass, name, id, this, 500, 1, true); proxy.registerRender(); } public void addSCPWithNoEgg(Class <? extends Entity> entityClass, String name, int id) { int entiyID = EntityRegistry.findGlobalUniqueEntityId(); EntityRegistry.registerGlobalEntityID(entityClass, name, EntityRegistry.findGlobalUniqueEntityId()); EntityRegistry.registerModEntity(entityClass, name, id, this, 500, 1, true); proxy.registerRender(); } public static void syncConfig(Configuration config) { if (config.hasChanged()) { config.save(); } } @EventHandler public void postInit(FMLPostInitializationEvent event) { } }
-
Tu ENREGSITRE TOUT LES ITEMS/BLOCKS ET apres tu creer tes recipes
dsl maj -
@SpyMan le probleme ses que comment dire les code des recipes sont tous en dessous des truc auquels ils appartient sa va etre un enfer de tout changer de place 0_0
-
-
@SpyMan et toi tu souris x)
-
Je suis sadique x)
-
@SpyMan sa marche toujours pas
-
OK SA MARCHE ENFIN