public class WaterFloatItem extends PixelmonBlockItem
Constructor and Description |
---|
WaterFloatItem(net.minecraft.block.Block block,
net.minecraft.item.Item.Properties properties)
Initializes an item block.
|
Modifier and Type | Method and Description |
---|---|
net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> |
use(net.minecraft.world.World p_77659_1_,
net.minecraft.entity.player.PlayerEntity p_77659_2_,
net.minecraft.util.Hand p_77659_3_) |
net.minecraft.util.ActionResultType |
useOn(net.minecraft.item.ItemUseContext p_195939_1_)
Callback for item usage.
|
appendHoverText, canEquip, canPlace, canPlace, getTooltipText, getTooltipText, getWidthOffset, setMultiBlocksWidth
fillItemCategory, getBlock, getDescriptionId, getPlacementState, getPlaceSound, getPlaceSound, mustSurvive, place, placeBlock, registerBlocks, removeFromBlockToItemMap, updateCustomBlockEntityTag, updateCustomBlockEntityTag, updatePlacementContext
allowdedIn, asItem, byBlock, byId, canAttackBlock, canBeDepleted, canBeHurtBy, finishUsingItem, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDescription, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getFoodProperties, getHarvestLevel, getId, getItemCategory, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getTags, getToolTypes, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, interactLivingEntity, inventoryTick, is, isComplex, isCorrectToolForDrops, isEdible, isEnchantable, isFireResistant, isFoil, isRepairable, isValidRepairItem, mineBlock, onCraftedBy, onUseTick, releaseUsing, shouldOverrideMultiplayerNbt, toString, useOnRelease, verifyTagAfterLoad
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canHarvestBlock, createEntity, damageItem, doesSneakBypassUse, elytraFlightTick, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, hasCustomEntity, initCapabilities, isBookEnchantable, isDamageable, isDamaged, isEnderMask, isPiglinCurrency, isShield, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBar
public WaterFloatItem(net.minecraft.block.Block block, net.minecraft.item.Item.Properties properties)
block
- The block form of the item.properties
- public net.minecraft.util.ActionResultType useOn(net.minecraft.item.ItemUseContext p_195939_1_)
PixelmonBlockItem
useOn
in class PixelmonBlockItem
public net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> use(net.minecraft.world.World p_77659_1_, net.minecraft.entity.player.PlayerEntity p_77659_2_, net.minecraft.util.Hand p_77659_3_)
use
in class PixelmonBlockItem