public class ItemFlintSteel extends ItemTool
DURABILITY_BOW, DURABILITY_DIAMOND, DURABILITY_FISHING_ROD, DURABILITY_FLINT_STEEL, DURABILITY_GOLD, DURABILITY_IRON, DURABILITY_SHEARS, DURABILITY_STONE, DURABILITY_TRIDENT, DURABILITY_WOODEN, TIER_DIAMOND, TIER_GOLD, TIER_IRON, TIER_STONE, TIER_WOODEN, TYPE_AXE, TYPE_HANDS_ONLY, TYPE_NONE, TYPE_PICKAXE, TYPE_SHEARS, TYPE_SHOVEL, TYPE_SWORD| Constructor and Description |
|---|
ItemFlintSteel(Identifier id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeActivated() |
int |
getMaxDurability() |
boolean |
onActivate(Level level,
Player player,
Block block,
Block target,
Direction face,
com.nukkitx.math.vector.Vector3f clickPos) |
getEnchantAbility, getMaxStackSize, isAxe, isHoe, isPickaxe, isShears, isShovel, isSword, isTool, isUnbreakable, loadAdditionalData, saveAdditionalData, setUnbreakable, useOn, useOnaddCreativeItem, addEnchantment, addTag, canBePlaced, canDestroy, canPlaceOn, clearCreativeItems, clearCustomName, clone, createTag, decrementCount, decrementCount, deepEquals, deepEquals, deepEquals, equals, equals, equals, equalsExact, fromJson, fromNetwork, fromString, fromStringMultiple, get, get, get, get, get, get, get, get, get, get, getArmorPoints, getAttackDamage, getBlock, getCount, getCreativeItem, getCreativeItemIndex, getCreativeItems, getCustomName, getDestroySpeed, getEnchantment, getEnchantment, getEnchantments, getFuelTime, getId, getLore, getMeta, getName, getNetworkId, getTag, getTier, getToughness, hasCustomName, hasEnchantments, hasMeta, hasNbtMap, incrementCount, incrementCount, initCreativeItems, isArmor, isBoots, isChestplate, isCreativeItem, isHelmet, isLeggings, isNull, onClickAir, onMetaChange, onRelease, onUse, removeCreativeItem, setCount, setCustomName, setLore, setLore, setMeta, setTag, toNetwork, toNetwork, toNetwork, toStringpublic ItemFlintSteel(Identifier id)
public boolean canBeActivated()
canBeActivated in class Itempublic boolean onActivate(Level level, Player player, Block block, Block target, Direction face, com.nukkitx.math.vector.Vector3f clickPos)
onActivate in class Itempublic int getMaxDurability()
getMaxDurability in class ItemCopyright © 2020. All rights reserved.