Uses of Enum Class
net.minecraft.world.item.ItemUseAnimation
Packages that use ItemUseAnimation
-
Uses of ItemUseAnimation in net.minecraft.world.item
Fields in net.minecraft.world.item with type parameters of type ItemUseAnimationModifier and TypeFieldDescriptionprivate static final IntFunction<ItemUseAnimation> ItemUseAnimation.BY_IDstatic final com.mojang.serialization.Codec<ItemUseAnimation> ItemUseAnimation.CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ItemUseAnimation> ItemUseAnimation.STREAM_CODECMethods in net.minecraft.world.item that return ItemUseAnimationModifier and TypeMethodDescriptionBowItem.getUseAnimation(ItemStack p_40678_) BrushItem.getUseAnimation(ItemStack p_273490_) BundleItem.getUseAnimation(ItemStack p_389672_) CrossbowItem.getUseAnimation(ItemStack p_40935_) InstrumentItem.getUseAnimation(ItemStack p_220133_) Item.getUseAnimation(ItemStack pStack) ItemStack.getUseAnimation()SpyglassItem.getUseAnimation(ItemStack p_151224_) TridentItem.getUseAnimation(ItemStack p_43417_) static ItemUseAnimationReturns the enum constant of this class with the specified name.static ItemUseAnimation[]ItemUseAnimation.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of ItemUseAnimation in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component declared as ItemUseAnimationModifier and TypeFieldDescriptionprivate final ItemUseAnimationConsumable.animationThe field for theanimationrecord component.private ItemUseAnimationConsumable.Builder.animationMethods in net.minecraft.world.item.component that return ItemUseAnimationModifier and TypeMethodDescriptionConsumable.animation()Returns the value of theanimationrecord component.Methods in net.minecraft.world.item.component with parameters of type ItemUseAnimationConstructors in net.minecraft.world.item.component with parameters of type ItemUseAnimationModifierConstructorDescriptionConsumable(float consumeSeconds, ItemUseAnimation animation, Holder<SoundEvent> sound, boolean hasConsumeParticles, List<ConsumeEffect> onConsumeEffects) Creates an instance of aConsumablerecord class.