Skip to content

Instantly share code, notes, and snippets.

@jose-vm
Last active August 29, 2015 14:23
Show Gist options
  • Save jose-vm/c71f3d8fd149c9c0c718 to your computer and use it in GitHub Desktop.
Save jose-vm/c71f3d8fd149c9c0c718 to your computer and use it in GitHub Desktop.
ArmorMaterial creation example
Parameters:
ArmorMaterial(int maxDamageFactor, int armorSlotsHelmet, int armorSlotsChestplate, int armorSlotsLeggings, int armorSlotsBoots);
Originals: CLOTH(5, 1, 3, 2, 1), CHAIN(15, 2, 5, 4, 1), IRON(15, 2, 6, 5, 2), GOLD(7, 2, 5, 3, 1), DIAMOND(33, 3, 8, 6, 3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment