public class ItemAppleGoldBehavior extends ItemEdibleBehavior
| Constructor and Description |
|---|
ItemAppleGoldBehavior() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
onClickAir(org.cloudburstmc.api.item.ItemStack item,
com.nukkitx.math.vector.Vector3f directionVector,
org.cloudburstmc.api.player.Player player)
Called when a player uses the item on air, for example throwing a projectile.
|
onUsecanBeActivated, canBePlaced, canDestroy, canPlaceOn, getArmorPoints, getAttackDamage, getBlock, getEnchantAbility, getFuelTime, getMaxDurability, getMaxStackSize, getTier, getToolType, getToughness, isArmor, isAxe, isBoots, isChestplate, isHelmet, isHoe, isLeggings, isPickaxe, isShears, isShovel, isSword, isTool, isUnbreakable, onActivate, onRelease, useOn, useOnpublic boolean onClickAir(org.cloudburstmc.api.item.ItemStack item,
com.nukkitx.math.vector.Vector3f directionVector,
org.cloudburstmc.api.player.Player player)
CloudItemBehavioronClickAir in interface org.cloudburstmc.api.item.behavior.ItemBehavioronClickAir in class ItemEdibleBehaviordirectionVector - directionplayer - playerCopyright © 2021. All rights reserved.