Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.TheRPGAdventurer.ROTD.client.init;
- import com.TheRPGAdventurer.ROTD.RealmOfTheDragons;
- import com.TheRPGAdventurer.ROTD.client.items.ItemDiamondShears;
- import com.TheRPGAdventurer.ROTD.client.items.ItemModAxe;
- import com.TheRPGAdventurer.ROTD.client.items.ItemModPickAxe;
- import com.TheRPGAdventurer.ROTD.client.items.ItemModShovel;
- import com.TheRPGAdventurer.ROTD.client.items.ItemModSword;
- import net.minecraft.item.Item;
- import net.minecraft.item.Item.ToolMaterial;
- import net.minecraft.item.ItemPickaxe;
- import net.minecraft.item.ItemSpade;
- import net.minecraft.item.ItemStack;
- import net.minecraft.item.ItemSword;
- import net.minecraftforge.common.util.EnumHelper;
- public class ModTools {
- public static final ToolMaterial JadeDragonScaleMaterial = EnumHelper.addToolMaterial(RealmOfTheDragons.MODID + ":jadedragonscales", 4, 1700, 8.0F, 6.0F, 11);
- public static final ToolMaterial RubyDragonScaleMaterial = EnumHelper.addToolMaterial(RealmOfTheDragons.MODID + ":rubydragonscales", 4, 1700, 8.0F, 6.0F, 11);
- public static final ToolMaterial GarnetDragonScaleMaterial = EnumHelper.addToolMaterial(RealmOfTheDragons.MODID + ":garnetdragonscales", 4, 1700, 8.0F, 6.0F, 11);
- public static final ToolMaterial AmethystDragonScaleMaterial = EnumHelper.addToolMaterial(RealmOfTheDragons.MODID + ":amethystdragonscales", 4, 1700, 8.0F, 6.0F, 11);
- public static final ToolMaterial SapphireDragonScaleMaterial = EnumHelper.addToolMaterial(RealmOfTheDragons.MODID + ":sapphiredragonscales", 4, 1700, 8.0F, 6.0F, 11);
- public static ItemModPickAxe jadeDragonPickaxe = new ItemModPickAxe(JadeDragonScaleMaterial, "jade_dragon_pickaxe");
- public static ItemModAxe jadeDragonAxe = new ItemModAxe(JadeDragonScaleMaterial, "jade_dragon_axe");
- public static ItemModShovel jadeDragonShovel = new ItemModShovel(JadeDragonScaleMaterial, "jade_dragon_shovel");
- public static ItemModSword jadeDragonSword = new ItemModSword(JadeDragonScaleMaterial, "jade_dragon_sword");
- public static ItemModPickAxe garnetDragonPickaxe = new ItemModPickAxe(GarnetDragonScaleMaterial, "garnet_dragon_pickaxe");
- public static ItemModAxe garnetDragonAxe = new ItemModAxe(GarnetDragonScaleMaterial, "garnet_dragon_axe");
- public static ItemModShovel garnetDragonShovel = new ItemModShovel(GarnetDragonScaleMaterial, "garnet_dragon_shovel");
- public static ItemModSword garnetDragonSword = new ItemModSword(GarnetDragonScaleMaterial, "garnet_dragon_sword");
- public static ItemModPickAxe sapphireDragonPickaxe = new ItemModPickAxe(SapphireDragonScaleMaterial, "sapphire_dragon_pickaxe");
- public static ItemModAxe sapphireDragonAxe = new ItemModAxe(SapphireDragonScaleMaterial, "sapphire_dragon_axe");
- public static ItemModShovel sapphireDragonShovel = new ItemModShovel(SapphireDragonScaleMaterial, "sapphire_dragon_shovel");
- public static ItemModSword sapphireDragonSword = new ItemModSword(SapphireDragonScaleMaterial, "sapphire_dragon_sword");
- public static ItemModPickAxe amethystDragonPickaxe = new ItemModPickAxe(AmethystDragonScaleMaterial, "amethyst_dragon_pickaxe");
- public static ItemModAxe amethystDragonAxe = new ItemModAxe(AmethystDragonScaleMaterial, "amethyst_dragon_axe");
- public static ItemModShovel amethystDragonShovel = new ItemModShovel(AmethystDragonScaleMaterial, "amethyst_dragon_shovel");
- public static ItemModSword amethystDragonSword = new ItemModSword(AmethystDragonScaleMaterial, "amethyst_dragon_sword");
- public static ItemModPickAxe rubyDragonPickaxe = new ItemModPickAxe(RubyDragonScaleMaterial, "ruby_dragon_pickaxe");
- public static ItemModAxe rubyDragonAxe = new ItemModAxe(RubyDragonScaleMaterial, "ruby_dragon_axe");
- public static ItemModShovel rubyDragonShovel = new ItemModShovel(RubyDragonScaleMaterial, "ruby_dragon_shovel");
- public static ItemModSword rubyDragonSword = new ItemModSword(RubyDragonScaleMaterial, "ruby_dragon_sword");
- public static ItemDiamondShears diamond_shears = new ItemDiamondShears("diamond_shears");
- public static final Item[] TOOLS = {
- jadeDragonPickaxe,
- jadeDragonAxe,
- jadeDragonShovel,
- jadeDragonSword,
- rubyDragonPickaxe,
- rubyDragonAxe,
- rubyDragonShovel,
- rubyDragonSword,
- amethystDragonAxe,
- amethystDragonPickaxe,
- amethystDragonShovel,
- amethystDragonSword,
- garnetDragonAxe,
- garnetDragonPickaxe,
- garnetDragonShovel,
- garnetDragonSword,
- sapphireDragonAxe,
- sapphireDragonPickaxe,
- sapphireDragonShovel,
- sapphireDragonSword,
- diamond_shears
- };
- private static void initRepairs() {
- AmethystDragonScaleMaterial.setRepairItem(new ItemStack(ModItems.AmethystDragonScales));
- GarnetDragonScaleMaterial.setRepairItem(new ItemStack(ModItems.GarnetDragonScales));
- JadeDragonScaleMaterial.setRepairItem(new ItemStack(ModItems.JadeDragonScales));
- RubyDragonScaleMaterial.setRepairItem(new ItemStack(ModItems.RubyDragonScales));
- SapphireDragonScaleMaterial.setRepairItem(new ItemStack(ModItems.SapphireDragonScales));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement