net.minecraft.world

public record InteractionResult$Success

implements InteractionResult

bsl$d
net.minecraft.world.InteractionResult$Success
net.minecraft.class_1269$class_9860
net.minecraft.util.ActionResult$Success
net.minecraft.world.EnumInteractionResult$d

Field summary

Modifier and TypeField
private final InteractionResult$SwingSource
g
swingSource
comp_2909
swingSource
private final InteractionResult$ItemContext
h
itemContext
comp_2910
itemContext

Constructor summary

ModifierConstructor
public (InteractionResult$SwingSource arg0, InteractionResult$ItemContext arg1)

Method summary

Modifier and TypeMethod
public boolean
a()
consumesAction()
method_23665()
isAccepted()
public InteractionResult$Success
a(cwq arg0)
heldItemTransformedTo(ItemStack arg0)
method_61393(class_1799 arg0)
withNewHandStack(ItemStack newHandStack)
public InteractionResult$Success
b()
withoutItem()
method_61394()
noIncrementStat()
public boolean
c()
wasItemInteraction()
method_61395()
shouldIncrementStat()
public ItemStack
d()
heldItemTransformedTo()
method_61396()
getNewHandStack()
public InteractionResult$SwingSource
e()
swingSource()
comp_2909()
swingSource()
public InteractionResult$ItemContext
f()
itemContext()
comp_2910()
itemContext()