YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.item.EnumToolMaterial Enum Reference

Public Member Functions

int getMaxUses ()
 
float getEfficiencyOnProperMaterial ()
 
int getDamageVsEntity ()
 
int getHarvestLevel ()
 
int getEnchantability ()
 
int getToolCraftingMaterial ()
 

Public Attributes

 WOOD =(0, 59, 2.0F, 0, 15)
 
 STONE =(1, 131, 4.0F, 1, 5)
 
 IRON =(2, 250, 6.0F, 2, 14)
 
 EMERALD =(3, 1561, 8.0F, 3, 10)
 
 GOLD =(0, 32, 12.0F, 0, 22)
 
Item customCraftingMaterial = null
 

Member Function Documentation

int net.minecraft.item.EnumToolMaterial.getDamageVsEntity ( )

Damage versus entities.

float net.minecraft.item.EnumToolMaterial.getEfficiencyOnProperMaterial ( )

The strength of this tool material against blocks which it is effective against.

int net.minecraft.item.EnumToolMaterial.getEnchantability ( )

Return the natural enchantability factor of the material.

int net.minecraft.item.EnumToolMaterial.getHarvestLevel ( )

The level of material this tool can harvest (3 = DIAMOND, 2 = IRON, 1 = STONE, 0 = IRON/GOLD)

int net.minecraft.item.EnumToolMaterial.getMaxUses ( )

The number of uses this material allows. (wood = 59, stone = 131, iron = 250, diamond = 1561, gold = 32)

int net.minecraft.item.EnumToolMaterial.getToolCraftingMaterial ( )

Return the crafting material for this tool material, used to determine the item that can be used to repair a tool with an anvil

Member Data Documentation

Item net.minecraft.item.EnumToolMaterial.customCraftingMaterial = null
net.minecraft.item.EnumToolMaterial.EMERALD =(3, 1561, 8.0F, 3, 10)
net.minecraft.item.EnumToolMaterial.GOLD =(0, 32, 12.0F, 0, 22)
net.minecraft.item.EnumToolMaterial.IRON =(2, 250, 6.0F, 2, 14)
net.minecraft.item.EnumToolMaterial.STONE =(1, 131, 4.0F, 1, 5)
net.minecraft.item.EnumToolMaterial.WOOD =(0, 59, 2.0F, 0, 15)

The documentation for this enum was generated from the following file: