net.minecraft.world

public record InteractionResult$ItemContext

btj$b
net.minecraft.world.InteractionResult$ItemContext
net.minecraft.class_1269$class_9858
net.minecraft.unmapped.C_ozuepbyj$C_txdhdamv
net.minecraft.util.ActionResult$ItemContext
net.minecraft.util.ActionResult$HeldItemTransformation
net.minecraft.src.C_471_$C_346108_
net.minecraft.world.EnumInteractionResult$b

Field summary

Modifier and TypeField
final boolean
c
wasItemInteraction
comp_2907
f_rhvtqvrz
incrementStat
wasItemInteraction
f_346918_
final ItemStack
d
heldItemTransformedTo
comp_2908
f_mkbvoyfd
newHandStack
heldItemTransformedTo
f_349253_
static InteractionResult$ItemContext
a
NONE
field_52424
f_wcldlwsf
KEEP_HAND_STACK_NO_INCREMENT_STAT
none
f_348861_
static InteractionResult$ItemContext
b
DEFAULT
field_52425
f_aoyznota
KEEP_HAND_STACK
consume
f_349413_

Constructor summary

ModifierConstructor
public (boolean wasItemInteraction, ItemStack stack)

Method summary

Modifier and TypeMethod
public boolean
a()
wasItemInteraction()
comp_2907()
m_gnwcuglg()
incrementStat()
wasItemInteraction()
f_346918_()
public ItemStack
b()
heldItemTransformedTo()
comp_2908()
m_ylfupven()
newHandStack()
heldItemTransformedTo()
f_349253_()