Uses of Enum Class
net.minecraft.item.consume.UseAction
Packages that use UseAction
Package
Description
-
Uses of UseAction in net.minecraft.client.render.entity.state
Fields in net.minecraft.client.render.entity.state declared as UseAction -
Uses of UseAction in net.minecraft.component.type
Fields in net.minecraft.component.type declared as UseActionModifier and TypeFieldDescriptionprivate UseActionConsumableComponent.Builder.useActionprivate final UseActionConsumableComponent.useActionThe field for theuseActionrecord component.Methods in net.minecraft.component.type that return UseActionModifier and TypeMethodDescriptionConsumableComponent.useAction()Returns the value of theuseActionrecord component.Methods in net.minecraft.component.type with parameters of type UseActionModifier and TypeMethodDescriptionConstructors in net.minecraft.component.type with parameters of type UseActionModifierConstructorDescriptionConsumableComponent(float float2, UseAction useAction, RegistryEntry<SoundEvent> registryEntry, boolean bool, List<ConsumeEffect> list) -
Uses of UseAction in net.minecraft.item
Methods in net.minecraft.item that return UseActionModifier and TypeMethodDescriptionBowItem.getUseAction(ItemStack stack) Returns the use action the item should perform.BrushItem.getUseAction(ItemStack stack) Returns the use action the item should perform.CrossbowItem.getUseAction(ItemStack stack) Returns the use action the item should perform.GoatHornItem.getUseAction(ItemStack stack) Returns the use action the item should perform.Item.getUseAction(ItemStack stack) Returns the use action the item should perform.ItemStack.getUseAction()ShieldItem.getUseAction(ItemStack stack) Returns the use action the item should perform.SpyglassItem.getUseAction(ItemStack stack) Returns the use action the item should perform.TridentItem.getUseAction(ItemStack stack) Returns the use action the item should perform. -
Uses of UseAction in net.minecraft.item.consume
Fields in net.minecraft.item.consume with type parameters of type UseActionModifier and TypeFieldDescriptionprivate static final IntFunction<UseAction> UseAction.BY_IDstatic final com.mojang.serialization.Codec<UseAction> UseAction.CODECstatic final PacketCodec<ByteBuf, UseAction> UseAction.PACKET_CODECMethods in net.minecraft.item.consume that return UseAction