public class ItemFlintSteelBehavior extends ItemToolBehavior
DURABILITY_BOW, DURABILITY_DIAMOND, DURABILITY_FISHING_ROD, DURABILITY_FLINT_STEEL, DURABILITY_GOLD, DURABILITY_IRON, DURABILITY_NETHERITE, DURABILITY_SHEARS, DURABILITY_STONE, DURABILITY_TRIDENT, DURABILITY_WOODEN, tierType, toolType, TYPE_AXE, TYPE_HANDS_ONLY, TYPE_NONE, TYPE_PICKAXE, TYPE_SHEARS, TYPE_SHOVEL, TYPE_SWORD| Constructor and Description |
|---|
ItemFlintSteelBehavior() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeActivated() |
int |
getMaxDurability() |
org.cloudburstmc.api.item.ItemStack |
onActivate(org.cloudburstmc.api.item.ItemStack itemStack,
org.cloudburstmc.api.player.Player player,
org.cloudburstmc.api.block.Block block,
org.cloudburstmc.api.block.Block target,
org.cloudburstmc.api.util.Direction face,
com.nukkitx.math.vector.Vector3f clickPos,
org.cloudburstmc.api.level.Level level) |
getEnchantAbility, getMaxStackSize, isAxe, isHoe, isPickaxe, isShears, isShovel, isSword, isTool, isUnbreakable, useOn, useOncanBePlaced, canDestroy, canPlaceOn, getArmorPoints, getAttackDamage, getBlock, getFuelTime, getTier, getToolType, getToughness, isArmor, isBoots, isChestplate, isHelmet, isLeggings, onClickAir, onRelease, onUsepublic boolean canBeActivated()
canBeActivated in interface org.cloudburstmc.api.item.behavior.ItemBehaviorcanBeActivated in class CloudItemBehaviorpublic org.cloudburstmc.api.item.ItemStack onActivate(org.cloudburstmc.api.item.ItemStack itemStack,
org.cloudburstmc.api.player.Player player,
org.cloudburstmc.api.block.Block block,
org.cloudburstmc.api.block.Block target,
org.cloudburstmc.api.util.Direction face,
com.nukkitx.math.vector.Vector3f clickPos,
org.cloudburstmc.api.level.Level level)
onActivate in interface org.cloudburstmc.api.item.behavior.ItemBehavioronActivate in class CloudItemBehaviorpublic int getMaxDurability()
getMaxDurability in interface org.cloudburstmc.api.item.behavior.ItemBehaviorgetMaxDurability in class CloudItemBehaviorCopyright © 2021. All rights reserved.