$blockEntityTag | pocketmine\item\Item | protected |
$canDestroy (defined in pocketmine\item\Item) | pocketmine\item\Item | protected |
$canPlaceOn (defined in pocketmine\item\Item) | pocketmine\item\Item | protected |
$count (defined in pocketmine\item\Item) | pocketmine\item\Item | protected |
$customColor (defined in pocketmine\item\Armor) | pocketmine\item\Armor | protected |
$customName (defined in pocketmine\item\Item) | pocketmine\item\Item | protected |
$damage (defined in pocketmine\item\Durable) | pocketmine\item\Durable | protected |
$keepOnDeath (defined in pocketmine\item\Item) | pocketmine\item\Item | protected |
$lore (defined in pocketmine\item\Item) | pocketmine\item\Item | protected |
__clone() (defined in pocketmine\item\Item) | pocketmine\item\Item | |
__construct(ItemIdentifier $identifier, string $name, ArmorTypeInfo $info, array $enchantmentTags=[]) | pocketmine\item\Armor | |
pocketmine::item::Durable::__construct(private ItemIdentifier $identifier, protected string $name="Unknown", private array $enchantmentTags=[]) | pocketmine\item\Item | |
__toString() (defined in pocketmine\item\Item) | pocketmine\item\Item | |
applyDamage(int $amount) | pocketmine\item\Durable | |
canBePlaced() (defined in pocketmine\item\Item) | pocketmine\item\Item | |
canStackWith(Item $other) | pocketmine\item\Item | |
clearCustomBlockData() | pocketmine\item\Item | |
clearCustomColor() | pocketmine\item\Armor | |
clearCustomName() | pocketmine\item\Item | |
clearNamedTag() | pocketmine\item\Item | |
describeState(RuntimeDataDescriber $w) | pocketmine\item\Item | protected |
deserializeCompoundTag(CompoundTag $tag) | pocketmine\item\Armor | protected |
equals(Item $item, bool $checkDamage=true, bool $checkCompound=true) | pocketmine\item\Item | |
equalsExact(Item $other) | pocketmine\item\Item | |
getArmorSlot() | pocketmine\item\Armor | |
getAttackPoints() | pocketmine\item\Item | |
getBlock(?int $clickedFace=null) | pocketmine\item\Item | |
getBlockToolHarvestLevel() | pocketmine\item\Item | |
getBlockToolType() | pocketmine\item\Item | |
getCanDestroy() | pocketmine\item\Item | |
getCanPlaceOn() | pocketmine\item\Item | |
getCooldownTag() | pocketmine\item\Item | |
getCooldownTicks() | pocketmine\item\Item | |
getCount() (defined in pocketmine\item\Item) | pocketmine\item\Item | |
getCustomBlockData() (defined in pocketmine\item\Item) | pocketmine\item\Item | |
getCustomColor() | pocketmine\item\Armor | |
getCustomName() (defined in pocketmine\item\Item) | pocketmine\item\Item | |
getDamage() (defined in pocketmine\item\Durable) | pocketmine\item\Durable | |
getDefensePoints() | pocketmine\item\Armor | |
getEnchantability() | pocketmine\item\Armor | |
getEnchantmentProtectionFactor(EntityDamageEvent $event) | pocketmine\item\Armor | |
getEnchantmentTags() | pocketmine\item\Item | |
getFuelResidue() | pocketmine\item\Item | |
getFuelTime() | pocketmine\item\Item | |
getLore() | pocketmine\item\Item | |
getMaterial() (defined in pocketmine\item\Armor) | pocketmine\item\Armor | |
getMaxDurability() | pocketmine\item\Armor | |
getMaxStackSize() | pocketmine\item\Armor | |
getMiningEfficiency(bool $isCorrectTool) (defined in pocketmine\item\Item) | pocketmine\item\Item | |
getName() | pocketmine\item\Item | |
getNamedTag() | pocketmine\item\Item | |
getStateId() (defined in pocketmine\item\Item) | pocketmine\item\Item | |
getTypeId() (defined in pocketmine\item\Item) | pocketmine\item\Item | |
getUnbreakingDamageReduction(int $amount) (defined in pocketmine\item\Armor) | pocketmine\item\Armor | protected |
getVanillaName() | pocketmine\item\Item | |
hasCustomBlockData() (defined in pocketmine\item\Item) | pocketmine\item\Item | |
hasCustomName() (defined in pocketmine\item\Item) | pocketmine\item\Item | |
hasNamedTag() | pocketmine\item\Item | |
isBroken() | pocketmine\item\Durable | |
isFireProof() | pocketmine\item\Armor | |
isNull() (defined in pocketmine\item\Item) | pocketmine\item\Item | |
isUnbreakable() | pocketmine\item\Durable | |
jsonSerialize() | pocketmine\item\Item | |
keepOnDeath() | pocketmine\item\Item | |
legacyJsonDeserialize(array $data) | pocketmine\item\Item | static |
nbtDeserialize(CompoundTag $tag) | pocketmine\item\Item | static |
nbtSerialize(int $slot=-1) | pocketmine\item\Item | |
onAttackEntity(Entity $victim, array &$returnedItems) | pocketmine\item\Item | |
onBroken() | pocketmine\item\Durable | protected |
onClickAir(Player $player, Vector3 $directionVector, array &$returnedItems) | pocketmine\item\Armor | |
onDestroyBlock(Block $block, array &$returnedItems) | pocketmine\item\Item | |
onInteractBlock(Player $player, Block $blockReplace, Block $blockClicked, int $face, Vector3 $clickVector, array &$returnedItems) | pocketmine\item\Item | |
onInteractEntity(Player $player, Entity $entity, Vector3 $clickVector) | pocketmine\item\Item | |
onReleaseUsing(Player $player, array &$returnedItems) | pocketmine\item\Item | |
onTickWorn(Living $entity) | pocketmine\item\Item | |
pop(int $count=1) | pocketmine\item\Item | |
serializeCompoundTag(CompoundTag $tag) (defined in pocketmine\item\Armor) | pocketmine\item\Armor | protected |
setCanDestroy(array $canDestroy) | pocketmine\item\Item | |
setCanPlaceOn(array $canPlaceOn) | pocketmine\item\Item | |
setCount(int $count) | pocketmine\item\Item | |
setCustomBlockData(CompoundTag $compound) | pocketmine\item\Item | |
setCustomColor(Color $color) | pocketmine\item\Armor | |
setCustomName(string $name) | pocketmine\item\Item | |
setDamage(int $damage) (defined in pocketmine\item\Durable) | pocketmine\item\Durable | |
setKeepOnDeath(bool $keepOnDeath) (defined in pocketmine\item\Item) | pocketmine\item\Item | |
setLore(array $lines) | pocketmine\item\Item | |
setNamedTag(CompoundTag $tag) | pocketmine\item\Item | |
setUnbreakable(bool $value=true) | pocketmine\item\Durable | |
TAG_BLOCK_ENTITY_TAG (defined in pocketmine\item\Item) | pocketmine\item\Item | |
TAG_CUSTOM_COLOR (defined in pocketmine\item\Armor) | pocketmine\item\Armor | |
TAG_DISPLAY (defined in pocketmine\item\Item) | pocketmine\item\Item | |
TAG_DISPLAY_LORE (defined in pocketmine\item\Item) | pocketmine\item\Item | |
TAG_DISPLAY_NAME (defined in pocketmine\item\Item) | pocketmine\item\Item | |
TAG_ENCH (defined in pocketmine\item\Item) | pocketmine\item\Item | |
TAG_KEEP_ON_DEATH (defined in pocketmine\item\Item) | pocketmine\item\Item | |