Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public int getBurnTime(ItemStack itemstack)
- {
- Item item = itemstack.func_77973_b();
- if (((item instanceof ItemBlock)) && ((((ItemBlock)item).field_150939_a instanceof LOTRBlockSaplingBase))) {
- return 100;
- }
- if (item == LOTRMod.nauriteGem) {
- return 600;
- }
- if ((item == Item.func_150898_a(LOTRMod.blockOreStorage)) && (itemstack.func_77960_j() == 10)) {
- return 6000;
- }
- if (item == LOTRMod.mallornStick) {
- return 100;
- }
- if (((item instanceof ItemTool)) && (((ItemTool)item).func_150913_i() == LOTRMaterial.MALLORN.toToolMaterial())) {
- return 200;
- }
- if (((item instanceof ItemSword)) && (((ItemSword)item).func_150932_j().equals(LOTRMaterial.MALLORN.toToolMaterial().toString()))) {
- return 200;
- }
- if (((item instanceof ItemHoe)) && (((ItemHoe)item).func_77842_f().equals(LOTRMaterial.MALLORN.toToolMaterial().toString()))) {
- return 200;
- }
- if ((item == Items.field_151120_aE) || (item == Item.func_150898_a(LOTRMod.reeds)) || (item == Item.func_150898_a(LOTRMod.driedReeds)) || (item == Item.func_150898_a(LOTRMod.cornStalk))) {
- return 100;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement