Constructs new ItemTier object including equivalent native object, and adds it to the lookup map used in ToolsModule.getTierByName.
your tool material's name, must be unique or you'll get a java.lang.IllegalArgumentException telling you the tool material with your name has already been registered
tool digging level, (1 - wooden, 2 - stone, 3 - iron, ...)
tool durability
how many times faster the tool with this material will mine blocks of its types
how many attack damage will be added to the tool's base damage from its material
the more it is, the better enchantments you'll get with less experience levels on the enchanting table
how many attack damage will be added to the base damage of the tools with the following ItemTier
the value used when enchanting a tool with the following ItemTier. The more it is, the better enchantments you will get with less experience levels.
digging level of the tools with the following ItemTier
pointer to the native object wrapped by the following ItemTier object, represented by a signed 64-bit integer
how many times faster the tools with the following ItemTier will mine blocks of their types
durability of the tools with the following ItemTier
Generated using TypeDoc
Wrapper for the native
Item::Tier
class used to register custom materials for tools, same as ToolAPI.ToolMaterial, but the created object is linked to the equivalent native object.1.0