Package de.ellpeck.rockbottom.api.item
Class ChiselItem
java.lang.Object
de.ellpeck.rockbottom.api.item.Item
de.ellpeck.rockbottom.api.item.BasicItem
de.ellpeck.rockbottom.api.item.BasicItemTool
de.ellpeck.rockbottom.api.item.ToolItem
de.ellpeck.rockbottom.api.item.ChiselItem
-
Field Summary
Fields inherited from class de.ellpeck.rockbottom.api.item.BasicItemTool
durability -
Constructor Summary
ConstructorsConstructorDescriptionChiselItem(ResourceName name, float miningSpeed, int durability, ToolProperty property, int level) -
Method Summary
Modifier and TypeMethodDescriptionbooleanonInteractWith(IWorld world, int x, int y, TileLayer layer, double mouseX, double mouseY, AbstractPlayerEntity player, ItemInstance instance) Methods inherited from class de.ellpeck.rockbottom.api.item.ToolItem
addToolProperty, createRenderer, getMiningSpeed, getToolProperties, onTileBrokenMethods inherited from class de.ellpeck.rockbottom.api.item.BasicItemTool
describeItem, getHighestPossibleMeta, useMetaAsDurabilityMethods inherited from class de.ellpeck.rockbottom.api.item.BasicItem
getRendererMethods inherited from class de.ellpeck.rockbottom.api.item.Item
attacksMultipleEntities, canHoldButtonToAttack, getAttackCooldown, getAttackDamage, getCustomAttackableEntities, getDespawnTime, getInteractionPriority, getLocalizedName, getMaxAmount, getMaxInteractionDistance, getName, getUnlocalizedName, hasToolProperty, isDataSensitive, onEntityAttack, onInteractWithDestKey, register, setMaxAmount, takeDamage, takeDamage, toString
-
Constructor Details
-
ChiselItem
public ChiselItem(ResourceName name, float miningSpeed, int durability, ToolProperty property, int level)
-
-
Method Details
-
onInteractWith
public boolean onInteractWith(IWorld world, int x, int y, TileLayer layer, double mouseX, double mouseY, AbstractPlayerEntity player, ItemInstance instance) - Overrides:
onInteractWithin classItem
-