public class ItemChisel extends ItemTool
durability| Constructor and Description |
|---|
ItemChisel(ResourceName name,
float miningSpeed,
int durability,
ToolProperty property,
int level) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
onInteractWith(IWorld world,
int x,
int y,
TileLayer layer,
double mouseX,
double mouseY,
AbstractEntityPlayer player,
ItemInstance instance) |
addToolProperty, createRenderer, getMiningSpeed, getToolProperties, onTileBrokendescribeItem, getHighestPossibleMeta, useMetaAsDurabilitygetRendererattacksMultipleEntities, canHoldButtonToAttack, getAttackCooldown, getAttackDamage, getCustomAttackableEntities, getDespawnTime, getInteractionPriority, getLocalizedName, getMaxAmount, getMaxInteractionDistance, getName, getUnlocalizedName, hasToolProperty, isDataSensitive, onEntityAttack, onInteractWithDestKey, register, setMaxAmount, takeDamage, takeDamage, toStringpublic ItemChisel(ResourceName name, float miningSpeed, int durability, ToolProperty property, int level)
public boolean onInteractWith(IWorld world, int x, int y, TileLayer layer, double mouseX, double mouseY, AbstractEntityPlayer player, ItemInstance instance)
onInteractWith in class Item