Closed krivey closed 2 months ago
Add setUnbreakable() and changes to isUnbreakable()
Codes like this:
ItemSwordStone sword = Item.get(ItemID.STONE_SWORD); sword.setNamedTag(sword.getNamedTag().putByte("Unbreakable", 1)); return sword;
Can be shortened into this:
return Item.get(ItemID.STONE_SWORD).setUnbreakable();
Add setUnbreakable() and changes to isUnbreakable()
Codes like this:
Can be shortened into this: