Jump to content

Monstrous_Apple

Members
  • Posts

    217
  • Joined

  • Last visited

Everything posted by Monstrous_Apple

  1. That's not what I'm saying... I'm saying ONE VALUE as in on percentage not a range of just 10% or 20% or 30% etc not 20%, 21%, 22%, 23% just 20% OR 30%
  2. No I mean up to 90% as in a single value of either 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, or 90%
  3. 10% - 90% that means one value ranging from 10% up to 90% but only one a ta time
  4. Okay thanks guys and how would I make it so the soul has a chance to drop from 10% - 90%?
  5. This code makes it so that when a bat is killed it drops a Bat Soul but what I need is for that to only happen IF you kill it using a certain sword, does anyone know how I would do that?: //Bat Soul @SubscribeEvent public void addEntityDrop1 (LivingDropsEvent event) { if (event.entity instanceof EntityBat) { ItemStack itemstack = new ItemStack(MASouls.BatSoul, 1); event.drops.add(new EntityItem(event.entity.worldObj, event.entity.posX, event.entity.posY, event.entity.posZ, itemstack)); } }
  6. Okay so I did what you said, and I put the color change here: GameRegistry.registerItem(ObsidianStick = new MAItem("§4ObsidianStick"), "ObsidianStick"); And this happens: https://scontent-lhr3-1.xx.fbcdn.net/v/t34.0-12/13277907_1002269206489629_433977824_n.png?oh=80cfcfe2aa321bb150445d8995a18a6b&oe=57438F9A[/img] It makes the name go from "Obsidian Stick" with no colour to "item.ObsidianStick.name" with most of it red, can you tell me what I did wrong please?
  7. Oh thanks I'll give it a go now
  8. Does anyone know how to change my items name color? https://scontent-lhr3-1.xx.fbcdn.net/v/t34.0-12/13281794_1002224119827471_1806548740_n.png?oh=de359f1333a656eb220ab0f410035bb2&oe=574387FE[/img] So like where it says "Obsidian Ingot" in plain color how would I change just this item to a Red color?
  9. Okay I figured out the problem, thanks.
  10. Opps typo I was meant to say inputting lol
  11. So basically a recipe is outputting an item that don't exist?
  12. Does anyone see what the problem is? Other than the recipe problem nothing seems to be the problem and other than that I don't know what casued the recipe problem because it was working a moment before now?:
  13. So like this?: package com.MonstrousApple.mod.items; import java.util.List; import com.MonstrousApple.mod.MAGlobal; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; public class MAItem extends Item { public MAItem(String name, ItemStack stack, EntityPlayer playerIn, List list, boolean par4) { super(); this.setUnlocalizedName(name); this.setCreativeTab(MAGlobal.maCreativeTabItems); } } GameRegistry.registerItem(SoulHarvesterBlade = new MAItem("SoulHarvesterBlade", null, null, null, false), "SoulHarvesterBlade"); Just change the third null to what if that's correct?
  14. Example codes make it easier to learn though, it's harder and longer to go from scratch
  15. This works for me: //Villager Egg GameRegistry.addRecipe(new ItemStack (Items.spawn_egg, 1, 120), new Object [] { "BBB", "BBB", "BBB", 'B', Items.diamond, }); https://scontent-lhr3-1.xx.fbcdn.net/v/t34.0-12/13228057_1001880076528542_159516703_n.png?oh=512a75d717e904d4380aced963874eff&oe=57411A8F[/img] I don't think it's the best way for it and it might have a problem when using it outside your work space but hopefully will work.
  16. Yeah I was thinking about doing the first option but I have over 150 items to make tool tips for so that would take ages but yeah the second option seems more viable, but yeah would it be okay for an example code please?
  17. Oh okay thanks
  18. I want to add information to my items, I have this code which works when put inside the Item class I have but since all my items are linked to that Item class they all get the same information, how would I make it so that each item has different information? Here's my current code: @Override public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean par4) { list.add("Example"); } Item class: package com.MonstrousApple.mod.items; import java.util.List; import com.MonstrousApple.mod.MAGlobal; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; public class MAItem extends Item { public MAItem(String name) { super(); this.setUnlocalizedName(name); this.setCreativeTab(MAGlobal.maCreativeTabItems); } @Override public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean par4) { list.add("Example"); } } Items class: package com.MonstrousApple.mod.items; import java.util.List; import com.MonstrousApple.mod.MAGlobal; import com.MonstrousApple.mod.blocks.MABlocks; import com.MonstrousApple.mod.blocks.crops.MACherryCropDrop; import com.MonstrousApple.mod.items.armor.MAAssassinArmor; import com.MonstrousApple.mod.items.armor.MABerserkerArmor; import com.MonstrousApple.mod.items.armor.MACompactDiamondArmor; import com.MonstrousApple.mod.items.armor.MACopperArmor; import com.MonstrousApple.mod.items.armor.MAEmeraldArmor; import com.MonstrousApple.mod.items.armor.MAKnightArmor; import com.MonstrousApple.mod.items.armor.MANickelArmor; import com.MonstrousApple.mod.items.armor.MAObsidianArmor; import com.MonstrousApple.mod.items.armor.MAPaladinArmor; import com.MonstrousApple.mod.items.armor.MARubyArmor; import com.MonstrousApple.mod.items.armor.MASapphireArmor; import com.MonstrousApple.mod.items.armor.MAScoutArmor; import com.MonstrousApple.mod.items.armor.MASteelArmor; import com.MonstrousApple.mod.items.armor.MATestArmor; import com.MonstrousApple.mod.items.crops.MAItemSeeds; import com.MonstrousApple.mod.items.durabletools.MAArrowMouldDurableTools; import com.MonstrousApple.mod.items.durabletools.MABlazeChargeTools; import com.MonstrousApple.mod.items.durabletools.MABlazeHammerTools; import com.MonstrousApple.mod.items.durabletools.MANetherStarItems; import com.MonstrousApple.mod.items.durabletools.MAIngotMouldDurableTools; import com.MonstrousApple.mod.items.durabletools.MAStainlessSteelDurableTools; import com.MonstrousApple.mod.items.durabletools.MAStickMouldDurableTools; import com.MonstrousApple.mod.items.durabletools.MAStringMouldDurableTools; import com.MonstrousApple.mod.items.foodsetup.MAItemFishFood; import com.MonstrousApple.mod.items.foodsetup.MAItemFood; import com.MonstrousApple.mod.items.tools.MAAxe; import com.MonstrousApple.mod.items.tools.MAGlowingSword; import com.MonstrousApple.mod.items.tools.MAHoe; import com.MonstrousApple.mod.items.tools.MANetherBlade; import com.MonstrousApple.mod.items.tools.MAPickaxe; import com.MonstrousApple.mod.items.tools.MASpade; import com.MonstrousApple.mod.items.tools.MASword; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Blocks; import net.minecraft.item.Item; import net.minecraft.item.Item.ToolMaterial; import net.minecraft.item.ItemArmor.ArmorMaterial; import net.minecraft.item.ItemStack; import net.minecraft.potion.Potion; import net.minecraftforge.common.util.EnumHelper; import net.minecraftforge.fml.common.registry.GameRegistry; public class MAItems { // Items public static Item ObsidianStick; public static Item ObsidianString; public static Item ObsidianIngot; public static Item IronPlate; public static Item GoldPlate; public static Item DiamondPiece; public static Item ObsidianPlate; public static Item SteelIngot; public static Item StainlessSteelIngot; public static Item SteelPlate; public static Item StainlessSteelPlate; public static Item Chromium; public static Item SearedLeather; public static Item SoulHarvesterBlade; public static Item SoulHarvesterHilt; // Glowing Items public static Item BlessedStar; public static Item CursedStar; //Bows and Arrows /**public static Item IronBow; public static Item IronArrow; public static Item SteelBow; public static Item SteelArrow; public static Item DiamondBow; public static Item DiamondArrow; public static Item ObsidianBow; public static Item Obsidian_pulling_0; public static Item Obsidian_pulling_1; public static Item Obsidian_pulling_2; public static Item ObsidianArrow; public static Item NetherBow; public static Item NetherArrow; */ // Durable Tools public static Item StainlessSteelHammer; public static Item StainlessSteelPeeler; public static Item StainlessSteelCuttingKnife; public static Item StainlessSteelChisel; public static Item StickMould; public static Item StringMould; public static Item ArrowMould; public static Item IngotMould; public static Item FlameCharge; public static Item BlazeCharge; public static Item BlazeHammer; // Crops public static Item CherrySeeds; public static Item BananaSeeds; // Food public static Item UncookedPie; public static Item CookedPie; public static Item Cherry; public static Item UncookedCherryPie; public static Item CookedCherryPie; public static Item UnpeeledBanana; public static Item PeeledBanana; public static Item UncookedBananaPie; public static Item CookedBananaPie; public static Item CookedPumpkinPie; // Fish Food public static Item RawBass; public static Item CookedBass; // Tools (After Enum it's; Harvest Level, Durability/Uses, Efficiency/How Fast It Mines (Float), Damage Dealt (Float), Enchantability; public static ToolMaterial CopperTools = EnumHelper.addToolMaterial("CopperTools", 2, 250, 6.0F, 2.0F, 14); public static Item CopperPickaxe; public static Item CopperAxe; public static Item CopperSpade; public static Item CopperHoe; public static Item CopperSword; public static ToolMaterial NickelTools = EnumHelper.addToolMaterial("NickelTools", 2, 250, 6.0F, 2.0F, 14); public static Item NickelPickaxe; public static Item NickelAxe; public static Item NickelSpade; public static Item NickelHoe; public static Item NickelSword; public static ToolMaterial SteelTools = EnumHelper.addToolMaterial("SteelTools", 2, 300, 6.0F, 2.0F, 14); public static Item SteelPickaxe; public static Item SteelAxe; public static Item SteelSpade; public static Item SteelHoe; public static Item SteelSword; public static ToolMaterial CompactDiamondTools = EnumHelper.addToolMaterial("CompactDiamondTools", 3, 2341 /** Diamond Tools <780.5< Obsidian Tools */, 12.0F, 4.5F, 15); public static Item CompactDiamondPickaxe; public static Item CompactDiamondAxe; public static Item CompactDiamondSpade; public static Item CompactDiamondHoe; public static Item CompactDiamondSword; public static ToolMaterial ObsidianTools = EnumHelper.addToolMaterial("ObsidianTools", 3, 3122, 16.0F, 6.0F, 10); public static Item ObsidianPickaxe; public static Item ObsidianAxe; public static Item ObsidianSpade; public static Item ObsidianHoe; public static Item ObsidianSword; //Same as Obsidian, just with an invisible blade and slight more enchantability because of the potions public static ToolMaterial InvisibleTools = EnumHelper.addToolMaterial("InvisibleTools", 3, 3122, 16.0F, 6.0F, 15); public static Item InvisiBlade; //Glowing Tools (After Enum it's; Harvest Level, Durability/Uses, Efficiency/How Fast It Mines (Float), Damage Dealt (Float), Enchantability; public static ToolMaterial NetherTools = EnumHelper.addToolMaterial("NetherTools", 3, 500000, 20.0F, 18.0F, 30); public static Item NetherSword; //Same as Compact Diamond, with the ability to make a mob drop it's soul, but with 1000 less durability and double the enchantability public static ToolMaterial SoulHarvestingTools = EnumHelper.addToolMaterial("SoulHarvestingTools", 3, 1341 /** Diamond Tools <780.5< Obsidian Tools */, 12.0F, 4.5F, 30); public static Item SoulHarvester; //Armor (After Enum it's; Max Damage Factor (damage taken before breaking), Armour Values (1 = Half a Armour Bar Point; Helmet, Chestplate, Leggings, Boots), Enchantability; public static ArmorMaterial CopperArmor = EnumHelper.addArmorMaterial("CopperArmor", MAGlobal.MOD_ID + ":" + "Copper", 15, new int[] { 2, 6, 5, 2, }, 9); public static Item CopperHelmet; public static Item CopperChestplate; public static Item CopperLeggings; public static Item CopperBoots; public static ArmorMaterial NickelArmor = EnumHelper.addArmorMaterial("NickelArmor", MAGlobal.MOD_ID + ":" + "Nickel", 15, new int[] { 2, 6, 5, 2, }, 9); public static Item NickelHelmet; public static Item NickelChestplate; public static Item NickelLeggings; public static Item NickelBoots; public static ArmorMaterial SteelArmor = EnumHelper.addArmorMaterial("SteelArmor", MAGlobal.MOD_ID + ":" + "Steel", 18, new int[] { 2, 6, 5, 2, }, 9); public static Item SteelHelmet; public static Item SteelChestplate; public static Item SteelLeggings; public static Item SteelBoots; public static ArmorMaterial CompactDiamondArmor = EnumHelper.addArmorMaterial("CompactDiamondArmor", MAGlobal.MOD_ID + ":" + "CompactDiamond", 50 /** Diamond Armor <16.5< Obsidian Armor */, new int[] { 3, 8, 6, 3, }, 15); public static Item CompactDiamondHelmet; public static Item CompactDiamondChestplate; public static Item CompactDiamondLeggings; public static Item CompactDiamondBoots; public static ArmorMaterial ObsidianArmor = EnumHelper.addArmorMaterial("ObsidianArmor", MAGlobal.MOD_ID + ":" + "Obsidian", 66, new int[] { 3, 8, 6, 3, }, 10); public static Item ObsidianHelmet; public static Item ObsidianChestplate; public static Item ObsidianLeggings; public static Item ObsidianBoots; public static ArmorMaterial EmeraldArmor = EnumHelper.addArmorMaterial("EmeraldArmor", MAGlobal.MOD_ID + ":" + "Emerald", 22, new int[] { 3, 8, 6, 3, }, 10); public static Item EmeraldHelmet; public static Item EmeraldChestplate; public static Item EmeraldLeggings; public static Item EmeraldBoots; public static ArmorMaterial SapphireArmor = EnumHelper.addArmorMaterial("SapphireArmor", MAGlobal.MOD_ID + ":" + "Sapphire", 22, new int[] { 3, 8, 6, 3, }, 10); public static Item SapphireHelmet; public static Item SapphireChestplate; public static Item SapphireLeggings; public static Item SapphireBoots; public static ArmorMaterial RubyArmor = EnumHelper.addArmorMaterial("RubyArmor", MAGlobal.MOD_ID + ":" + "Ruby", 22, new int[] { 3, 8, 6, 3, }, 10); public static Item RubyHelmet; public static Item RubyChestplate; public static Item RubyLeggings; public static Item RubyBoots; public static ArmorMaterial KnightArmor = EnumHelper.addArmorMaterial("KnightArmor", MAGlobal.MOD_ID + ":" + "Knight", 50, new int[] { 2, 6, 5, 2, }, 15); public static Item KnightHelmet; public static Item KnightChestplate; public static Item KnightLeggings; public static Item KnightBoots; public static ArmorMaterial PaladinArmor = EnumHelper.addArmorMaterial("PaladinArmor", MAGlobal.MOD_ID + ":" + "Paladin", 100, new int[] { 3, 8, 6, 3, }, 30); public static Item PaladinHelmet; public static Item PaladinChestplate; public static Item PaladinLeggings; public static Item PaladinBoots; public static ArmorMaterial BerserkerArmor = EnumHelper.addArmorMaterial("BerserkerArmor", MAGlobal.MOD_ID + ":" + "Berserker", 100, new int[] { 3, 8, 6, 3, }, 30); public static Item BerserkerHelmet; public static Item BerserkerChestplate; public static Item BerserkerLeggings; public static Item BerserkerBoots; public static ArmorMaterial ScoutArmor = EnumHelper.addArmorMaterial("ScoutArmor", MAGlobal.MOD_ID + ":" + "Scout", 50, new int[] { 2, 6, 5, 2, }, 15); public static Item ScoutHelmet; public static Item ScoutChestplate; public static Item ScoutLeggings; public static Item ScoutBoots; public static ArmorMaterial AssassinArmor = EnumHelper.addArmorMaterial("AssassinArmor", MAGlobal.MOD_ID + ":" + "Assassin", 100, new int[] { 3, 8, 6, 3, }, 30); public static Item AssassinHelmet; public static Item AssassinChestplate; public static Item AssassinLeggings; public static Item AssassinBoots; public static ArmorMaterial TestArmor = EnumHelper.addArmorMaterial("TestArmor", MAGlobal.MOD_ID + ":" + "Test", 40, new int[] { 1, 1, 1, 1, }, 10); public static Item TestHelmet; public static Item TestChestplate; public static Item TestLeggings; public static Item TestBoots; // Ingots public static Item CopperIngot; public static Item NickelIngot; // Gems public static Item Sapphire; public static Item Ruby; public static void initItems() { // Items - Register GameRegistry.registerItem(ObsidianStick = new MAItem("ObsidianStick"), "ObsidianStick"); GameRegistry.registerItem(ObsidianString = new MAItem("ObsidianString"), "ObsidianString"); GameRegistry.registerItem(ObsidianIngot = new MAItem("ObsidianIngot"), "ObsidianIngot"); GameRegistry.registerItem(IronPlate = new MAItem("IronPlate"), "IronPlate"); GameRegistry.registerItem(GoldPlate = new MAItem("GoldPlate"), "GoldPlate"); GameRegistry.registerItem(DiamondPiece = new MAItem("DiamondPiece"), "DiamondPiece"); GameRegistry.registerItem(ObsidianPlate = new MAItem("ObsidianPlate"), "ObsidianPlate"); GameRegistry.registerItem(SteelIngot = new MAItem("SteelIngot"), "SteelIngot"); GameRegistry.registerItem(StainlessSteelIngot = new MAItem("StainlessSteelIngot"), "StainlessSteelIngot"); GameRegistry.registerItem(SteelPlate = new MAItem("SteelPlate"), "SteelPlate"); GameRegistry.registerItem(StainlessSteelPlate = new MAItem("StainlessSteelPlate"), "StainlessSteelPlate"); GameRegistry.registerItem(Chromium = new MAItem("Chromium"), "Chromium"); GameRegistry.registerItem(SearedLeather = new MAItem("SearedLeather"), "SearedLeather"); GameRegistry.registerItem(SoulHarvesterBlade = new MAItem("SoulHarvesterBlade"), "SoulHarvesterBlade"); GameRegistry.registerItem(SoulHarvesterHilt = new MAItem("SoulHarvesterHilt"), "SoulHarvesterHilt"); // Glowing Items - Register GameRegistry.registerItem(BlessedStar = new MANetherStarItems("BlessedStar"), "BlessedStar"); GameRegistry.registerItem(CursedStar = new MANetherStarItems("CursedStar"), "CursedStar"); //Bows and Arrows - Register //GameRegistry.registerItem(IronBow = new MAIronBow("IronBow"), "IronBow"); //GameRegistry.registerItem(IronArrow = new MAItem("IronArrow"), "IronArrow"); //GameRegistry.registerItem(SteelBow = new MASteelBow("SteelBow"), "SteelBow"); //GameRegistry.registerItem(SteelArrow = new MAItem("SteelArrow"), "SteelArrow"); //GameRegistry.registerItem(DiamondBow = new MADiamondBow("DiamondBow"), "DiamondBow"); //GameRegistry.registerItem(DiamondArrow = new MAItem("DiamondArrow"), "DiamondArrow"); //GameRegistry.registerItem(ObsidianBow = new MAObsidianBow("ObsidianBow"), "ObsidianBow"); //GameRegistry.registerItem(ObsidianArrow = new MAItem("ObsidianArrow"), "ObsidianArrow"); //GameRegistry.registerItem(NetherBow = new MANetherBow("NetherBow"), "NetherBow"); //GameRegistry.registerItem(NetherArrow = new MAItem("NetherArrow"), "NetherArrow"); // Durable Tools GameRegistry.registerItem(StainlessSteelHammer = new MAStainlessSteelDurableTools("StainlessSteelHammer"), "StainlessSteelHammer"); GameRegistry.registerItem(StainlessSteelPeeler = new MAStainlessSteelDurableTools("StainlessSteelPeeler"), "StainlessSteelPeeler"); GameRegistry.registerItem(StainlessSteelCuttingKnife = new MAStainlessSteelDurableTools("StainlessSteelCuttingKnife"), "StainlessSteelCuttingKnife"); GameRegistry.registerItem(StainlessSteelChisel = new MAStainlessSteelDurableTools("StainlessSteelChisel"), "StainlessSteelChisel"); GameRegistry.registerItem(StickMould = new MAStickMouldDurableTools("StickMould"), "StickMould"); GameRegistry.registerItem(StringMould = new MAStringMouldDurableTools("StringMould"), "StringMould"); GameRegistry.registerItem(ArrowMould = new MAArrowMouldDurableTools("ArrowMould"), "ArrowMould"); GameRegistry.registerItem(IngotMould = new MAIngotMouldDurableTools("IngotMould"), "IngotMould"); GameRegistry.registerItem(FlameCharge = new MABlazeChargeTools("FlameCharge"), "FlameCharge"); GameRegistry.registerItem(BlazeCharge = new MABlazeChargeTools("BlazeCharge"), "BlazeCharge"); GameRegistry.registerItem(BlazeHammer = new MABlazeHammerTools("BlazeHammer"), "BlazeHammer"); // Crops GameRegistry.registerItem(CherrySeeds = new MAItemSeeds(MABlocks.CherryPlant, Blocks.farmland, "CherrySeeds"), "CherrySeeds"); GameRegistry.registerItem(BananaSeeds = new MAItemSeeds(MABlocks.BananaPlant, Blocks.farmland, "BananaSeeds"), "BananaSeeds"); // Food - Register; Name - Amount of Food Given - Amount of Saturation // Given - True or False for if it can be fed to wolves) // Cooked beef gives; 8 - 0.8F - True/False // For potions add on the end, .setPotionEffect(Potion.example.id, // duration, amplifier, probability [0.5 being half, 50%]), GameRegistry.registerItem(UncookedPie = new MAItemFood("UncookedPie", 4, 0.4F, false), "UncookedPie"); GameRegistry.registerItem(CookedPie = new MAItemFood("CookedPie", 7, 0.7F, false), "CookedPie"); GameRegistry.registerItem(Cherry = new MAItemFood("Cherry", 3, 0.3F, false), "Cherry"); GameRegistry.registerItem(UncookedCherryPie = new MAItemFood("UncookedCherryPie", 5, 0.5F, false), "UncookedCherryPie"); GameRegistry.registerItem(CookedCherryPie = new MAItemFood("CookedCherryPie", 9, 0.9F, false), "CookedCherryPie"); GameRegistry.registerItem(UnpeeledBanana = new MAItemFood("UnpeeledBanana", 1, 0.1F, false), "UnpeeledBanana"); GameRegistry.registerItem(PeeledBanana = new MAItemFood("PeeledBanana", 3, 0.3F, false), "PeeledBanana"); GameRegistry.registerItem(UncookedBananaPie = new MAItemFood("UncookedBananaPie", 5, 0.5F, false), "UncookedBananaPie"); GameRegistry.registerItem(CookedBananaPie = new MAItemFood("CookedBananaPie", 9, 0.9F, false), "CookedBananaPie"); GameRegistry.registerItem(CookedPumpkinPie = new MAItemFood("CookedPumpkinPie", 9, 0.9F, false), "CookedPumpkinPie"); // Fish Food - Register // Cooked cod gives; ? - ?.?F - True/False // For potions add on the end, .setPotionEffect(Potion.example.id, // duration, amplifier, probability [0.5 being half, 50%]), GameRegistry.registerItem(RawBass = new MAItemFood("RawBass", 2, 0.2F, false).setPotionEffect(Potion.hunger.id, 10, 1 - 1, 1F).setPotionEffect(Potion.absorption.id, 10, 1 - 1, 1F), "RawBass"); GameRegistry.registerItem(CookedBass = new MAItemFood("CookedBass", 4, 0.8F, false), "CookedBass"); // Tools - Register GameRegistry.registerItem(CopperPickaxe = new MAPickaxe("CopperPickaxe", CopperTools), "CopperPickaxe"); GameRegistry.registerItem(CopperAxe = new MAAxe("CopperAxe", CopperTools), "CopperAxe"); GameRegistry.registerItem(CopperSpade = new MASpade("CopperSpade", CopperTools), "CopperSpade"); GameRegistry.registerItem(CopperHoe = new MAHoe("CopperHoe", CopperTools), "CopperHoe"); GameRegistry.registerItem(CopperSword = new MASword("CopperSword", CopperTools), "CopperSword"); GameRegistry.registerItem(NickelPickaxe = new MAPickaxe("NickelPickaxe", NickelTools), "NickelPickaxe"); GameRegistry.registerItem(NickelAxe = new MAAxe("NickelAxe", NickelTools), "NickelAxe"); GameRegistry.registerItem(NickelSpade = new MASpade("NickelSpade", NickelTools), "NickelSpade"); GameRegistry.registerItem(NickelHoe = new MAHoe("NickelHoe", NickelTools), "NickelHoe"); GameRegistry.registerItem(NickelSword = new MASword("NickelSword", NickelTools), "NickelSword"); GameRegistry.registerItem(SteelPickaxe = new MAPickaxe("SteelPickaxe", SteelTools), "SteelPickaxe"); GameRegistry.registerItem(SteelAxe = new MAAxe("SteelAxe", SteelTools), "SteelAxe"); GameRegistry.registerItem(SteelSpade = new MASpade("SteelSpade", SteelTools), "SteelSpade"); GameRegistry.registerItem(SteelHoe = new MAHoe("SteelHoe", SteelTools), "SteelHoe"); GameRegistry.registerItem(SteelSword = new MASword("SteelSword", SteelTools), "SteelSword"); GameRegistry.registerItem(CompactDiamondPickaxe = new MAPickaxe("CompactDiamondPickaxe", CompactDiamondTools), "CompactDiamondPickaxe"); GameRegistry.registerItem(CompactDiamondAxe = new MAAxe("CompactDiamondAxe", CompactDiamondTools), "CompactDiamondAxe"); GameRegistry.registerItem(CompactDiamondSpade = new MASpade("CompactDiamondSpade", CompactDiamondTools), "CompactDiamondSpade"); GameRegistry.registerItem(CompactDiamondHoe = new MAHoe("CompactDiamondHoe", CompactDiamondTools), "CompactDiamondHoe"); GameRegistry.registerItem(CompactDiamondSword = new MASword("CompactDiamondSword", CompactDiamondTools), "CompactDiamondSword"); GameRegistry.registerItem(ObsidianPickaxe = new MAPickaxe("ObsidianPickaxe", ObsidianTools), "ObsidianPickaxe"); GameRegistry.registerItem(ObsidianAxe = new MAAxe("ObsidianAxe", ObsidianTools), "ObsidianAxe"); GameRegistry.registerItem(ObsidianSpade = new MASpade("ObsidianSpade", ObsidianTools), "ObsidianSpade"); GameRegistry.registerItem(ObsidianHoe = new MAHoe("ObsidianHoe", ObsidianTools), "ObsidianHoe"); GameRegistry.registerItem(ObsidianSword = new MASword("ObsidianSword", ObsidianTools), "ObsidianSword"); //Same as Obsidian, just with an invisible blade and slight more enchantability because of the potions GameRegistry.registerItem(InvisiBlade = new MASword("InvisiBlade", InvisibleTools), "InvisiBlade"); // Glowing Tools - Register GameRegistry.registerItem(NetherSword = new MANetherBlade("NetherSword", NetherTools), "NetherSword"); GameRegistry.registerItem(SoulHarvester = new MASword("SoulHarvester", SoulHarvestingTools), "SoulHarvester"); // Armor - Register GameRegistry.registerItem(CopperHelmet = new MACopperArmor("CopperHelmet", CopperArmor, 1, 0), "CopperHelmet"); GameRegistry.registerItem(CopperChestplate = new MACopperArmor("CopperChestplate", CopperArmor, 1, 1), "CopperChestplate"); GameRegistry.registerItem(CopperLeggings = new MACopperArmor("CopperLeggings", CopperArmor, 2, 2), "CopperLeggings"); GameRegistry.registerItem(CopperBoots = new MACopperArmor("CopperBoots", CopperArmor, 1, 3), "CopperBoots"); GameRegistry.registerItem(NickelHelmet = new MANickelArmor("NickelHelmet", NickelArmor, 1, 0), "NickelHelmet"); GameRegistry.registerItem(NickelChestplate = new MANickelArmor("NickelChestplate", NickelArmor, 1, 1), "NickelChestplate"); GameRegistry.registerItem(NickelLeggings = new MANickelArmor("NickelLeggings", NickelArmor, 2, 2), "NickelLeggings"); GameRegistry.registerItem(NickelBoots = new MANickelArmor("NickelBoots", NickelArmor, 1, 3), "NickelBoots"); GameRegistry.registerItem(SteelHelmet = new MASteelArmor("SteelHelmet", SteelArmor, 1, 0), "SteelHelmet"); GameRegistry.registerItem(SteelChestplate = new MASteelArmor("SteelChestplate", SteelArmor, 1, 1), "SteelChestplate"); GameRegistry.registerItem(SteelLeggings = new MASteelArmor("SteelLeggings", SteelArmor, 2, 2), "SteelLeggings"); GameRegistry.registerItem(SteelBoots = new MASteelArmor("SteelBoots", SteelArmor, 1, 3), "SteelBoots"); GameRegistry.registerItem(CompactDiamondHelmet = new MACompactDiamondArmor("CompactDiamondHelmet", CompactDiamondArmor, 1, 0), "CompactDiamondHelmet"); GameRegistry.registerItem(CompactDiamondChestplate = new MACompactDiamondArmor("CompactDiamondChestplate", CompactDiamondArmor, 1, 1), "CompactDiamondChestplate"); GameRegistry.registerItem(CompactDiamondLeggings = new MACompactDiamondArmor("CompactDiamondLeggings", CompactDiamondArmor, 2, 2), "CompactDiamondLeggings"); GameRegistry.registerItem(CompactDiamondBoots = new MACompactDiamondArmor("CompactDiamondBoots", CompactDiamondArmor, 1, 3), "CompactDiamondBoots"); GameRegistry.registerItem(ObsidianHelmet = new MAObsidianArmor("ObsidianHelmet", ObsidianArmor, 1, 0), "ObsidianHelmet"); GameRegistry.registerItem(ObsidianChestplate = new MAObsidianArmor("ObsidianChestplate", ObsidianArmor, 1, 1), "ObsidianChestplate"); GameRegistry.registerItem(ObsidianLeggings = new MAObsidianArmor("ObsidianLeggings", ObsidianArmor, 2, 2), "ObsidianLeggings"); GameRegistry.registerItem(ObsidianBoots = new MAObsidianArmor("ObsidianBoots", ObsidianArmor, 1, 3), "ObsidianBoots"); GameRegistry.registerItem(EmeraldHelmet = new MAEmeraldArmor("EmeraldHelmet", EmeraldArmor, 1, 0), "EmeraldHelmet"); GameRegistry.registerItem(EmeraldChestplate = new MAEmeraldArmor("EmeraldChestplate", EmeraldArmor, 1, 1), "EmeraldChestplate"); GameRegistry.registerItem(EmeraldLeggings = new MAEmeraldArmor("EmeraldLeggings", EmeraldArmor, 2, 2), "EmeraldLeggings"); GameRegistry.registerItem(EmeraldBoots = new MAEmeraldArmor("EmeraldBoots", EmeraldArmor, 1, 3), "EmeraldBoots"); GameRegistry.registerItem(SapphireHelmet = new MASapphireArmor("SapphireHelmet", SapphireArmor, 1, 0), "SapphireHelmet"); GameRegistry.registerItem(SapphireChestplate = new MASapphireArmor("SapphireChestplate", SapphireArmor, 1, 1), "SapphireChestplate"); GameRegistry.registerItem(SapphireLeggings = new MASapphireArmor("SapphireLeggings", SapphireArmor, 2, 2), "SapphireLeggings"); GameRegistry.registerItem(SapphireBoots = new MASapphireArmor("SapphireBoots", SapphireArmor, 1, 3), "SapphireBoots"); GameRegistry.registerItem(RubyHelmet = new MARubyArmor("RubyHelmet", RubyArmor, 1, 0), "RubyHelmet"); GameRegistry.registerItem(RubyChestplate = new MARubyArmor("RubyChestplate", RubyArmor, 1, 1), "RubyChestplate"); GameRegistry.registerItem(RubyLeggings = new MARubyArmor("RubyLeggings", RubyArmor, 2, 2), "RubyLeggings"); GameRegistry.registerItem(RubyBoots = new MARubyArmor("RubyBoots", RubyArmor, 1, 3), "RubyBoots"); GameRegistry.registerItem(KnightHelmet = new MAKnightArmor("KnightHelmet", KnightArmor, 1, 0), "KnightHelmet"); GameRegistry.registerItem(KnightChestplate = new MAKnightArmor("KnightChestplate", KnightArmor, 1, 1), "KnightChestplate"); GameRegistry.registerItem(KnightLeggings = new MAKnightArmor("KnightLeggings", KnightArmor, 2, 2), "KnightLeggings"); GameRegistry.registerItem(KnightBoots = new MAKnightArmor("KnightBoots", KnightArmor, 1, 3), "KnightBoots"); GameRegistry.registerItem(PaladinHelmet = new MAPaladinArmor("PaladinHelmet", PaladinArmor, 1, 0), "PaladinHelmet"); GameRegistry.registerItem(PaladinChestplate = new MAPaladinArmor("PaladinChestplate", PaladinArmor, 1, 1), "PaladinChestplate"); GameRegistry.registerItem(PaladinLeggings = new MAPaladinArmor("PaladinLeggings", PaladinArmor, 2, 2), "PaladinLeggings"); GameRegistry.registerItem(PaladinBoots = new MAPaladinArmor("PaladinBoots", PaladinArmor, 1, 3), "PaladinBoots"); GameRegistry.registerItem(BerserkerHelmet = new MABerserkerArmor("BerserkerHelmet", BerserkerArmor, 1, 0), "BerserkerHelmet"); GameRegistry.registerItem(BerserkerChestplate = new MABerserkerArmor("BerserkerChestplate", BerserkerArmor, 1, 1), "BerserkerChestplate"); GameRegistry.registerItem(BerserkerLeggings = new MABerserkerArmor("BerserkerLeggings", BerserkerArmor, 2, 2), "BerserkerLeggings"); GameRegistry.registerItem(BerserkerBoots = new MABerserkerArmor("BerserkerBoots", BerserkerArmor, 1, 3), "BerserkerBoots"); GameRegistry.registerItem(ScoutHelmet = new MAScoutArmor("ScoutHelmet", ScoutArmor, 1, 0), "ScoutHelmet"); GameRegistry.registerItem(ScoutChestplate = new MAScoutArmor("ScoutChestplate", ScoutArmor, 1, 1), "ScoutChestplate"); GameRegistry.registerItem(ScoutLeggings = new MAScoutArmor("ScoutLeggings", ScoutArmor, 2, 2), "ScoutLeggings"); GameRegistry.registerItem(ScoutBoots = new MAScoutArmor("ScoutBoots", ScoutArmor, 1, 3), "ScoutBoots"); GameRegistry.registerItem(AssassinHelmet = new MAAssassinArmor("AssassinHelmet", AssassinArmor, 1, 0), "AssassinHelmet"); GameRegistry.registerItem(AssassinChestplate = new MAAssassinArmor("AssassinChestplate", AssassinArmor, 1, 1), "AssassinChestplate"); GameRegistry.registerItem(AssassinLeggings = new MAAssassinArmor("AssassinLeggings", AssassinArmor, 2, 2), "AssassinLeggings"); GameRegistry.registerItem(AssassinBoots = new MAAssassinArmor("AssassinBoots", AssassinArmor, 1, 3), "AssassinBoots"); GameRegistry.registerItem(TestHelmet = new MATestArmor("TestHelmet", TestArmor, 1, 0), "TestHelmet"); GameRegistry.registerItem(TestChestplate = new MATestArmor("TestChestplate", TestArmor, 1, 1), "TestChestplate"); GameRegistry.registerItem(TestLeggings = new MATestArmor("TestLeggings", TestArmor, 2, 2), "TestLeggings"); GameRegistry.registerItem(TestBoots = new MATestArmor("TestBoots", TestArmor, 1, 3), "TestBoots"); // Ingots - Register GameRegistry.registerItem(CopperIngot = new MAItem("CopperIngot"), "CopperIngot"); GameRegistry.registerItem(NickelIngot = new MAItem("NickelIngot"), "NickelIngot"); // Gems - Register GameRegistry.registerItem(Sapphire = new MAItem("Sapphire"), "Sapphire"); GameRegistry.registerItem(Ruby = new MAItem("Ruby"), "Ruby"); } }
  19. Oh so I just need to use a 16x32 texture?
  20. I'm currently using the .json file to make my weapon longer but I can't get it to go straight and long it sort of distorts it? Does anyone know how to do this properly? https://scontent-lhr3-1.xx.fbcdn.net/v/t34.0-12/13246134_1001820673201149_633108695_n.png?oh=e80b59af33c350f62d32bc3b86fa5e91&oe=5741270F[/img]
  21. And so then why does crafting the potion work but it doesn't work in using it to craft something?
  22. No I didn't lie there was no problem on mine... But okay
  23. That I still can't do a crafting recipe using a spawner egg of a specific type?
  24. But it doesn't, can you try this out yourself and see if it works for you and if yes then what did you do differently?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.