Examples of func_82803_g()


Examples of net.minecraft.item.ItemSword.func_82803_g()

                  shouldEquip = true;
                } else if (item instanceof ItemSword && oldItem.getItem() instanceof ItemSword) {
                  ItemSword newSword = (ItemSword) item;
                  ItemSword oldSword = (ItemSword) oldItem.getItem();

                  if (newSword.func_82803_g() == oldSword.func_82803_g()) {
                    shouldEquip = itemStack.getItemDamage() > oldItem.getItemDamage() || itemStack.hasTagCompound() && !oldItem.hasTagCompound();
                  } else {
                    shouldEquip = newSword.func_82803_g() > oldSword.func_82803_g();
                  }
                } else {
View Full Code Here

Examples of net.minecraft.item.ItemSword.func_82803_g()

                  ItemSword oldSword = (ItemSword) oldItem.getItem();

                  if (newSword.func_82803_g() == oldSword.func_82803_g()) {
                    shouldEquip = itemStack.getItemDamage() > oldItem.getItemDamage() || itemStack.hasTagCompound() && !oldItem.hasTagCompound();
                  } else {
                    shouldEquip = newSword.func_82803_g() > oldSword.func_82803_g();
                  }
                } else {
                  shouldEquip = false;
                }
              } else if (item instanceof ItemArmor && !(oldItem.getItem() instanceof ItemArmor)) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.