Uses of Enum Class
net.minecraft.item.consume.UseAction
Packages that use UseAction
-
Uses of UseAction in net.minecraft.component.type
Fields in net.minecraft.component.type declared as UseActionModifier and TypeFieldDescriptionprivate UseAction
ConsumableComponent.Builder.useAction
private final UseAction
ConsumableComponent.useAction
The field for theuseAction
record component.Methods in net.minecraft.component.type that return UseActionModifier and TypeMethodDescriptionConsumableComponent.useAction()
Returns the value of theuseAction
record 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.BundleItem.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()
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_ID
static final com.mojang.serialization.Codec
<UseAction> UseAction.CODEC
static final PacketCodec
<ByteBuf, UseAction> UseAction.PACKET_CODEC
Methods in net.minecraft.item.consume that return UseAction