net.minecraft.world

public enum InteractionResult

azm
net.minecraft.world.InteractionResult
net.minecraft.class_1269
net.minecraft.util.ActionResult
net.minecraft.src.C_471_
net.minecraft.world.EnumInteractionResult

Enum constant summary

Enum Constant
a
SUCCESS
field_5812
SUCCESS
SUCCESS
b
CONSUME
field_21466
CONSUME
CONSUME
c
CONSUME_PARTIAL
field_33562
CONSUME_PARTIAL
CONSUME_PARTIAL
d
PASS
field_5811
PASS
PASS
e
FAIL
field_5814
FAIL
FAIL

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public boolean
a()
consumesAction()
method_23665()
isAccepted()
m_19077_()
public boolean
b()
shouldSwing()
method_23666()
shouldSwingHand()
m_19080_()
public boolean
c()
shouldAwardStats()
method_36360()
shouldIncrementStat()
m_146666_()
public static InteractionResult
a(boolean arg0)
sidedSuccess(boolean arg0)
method_29236(boolean arg0)
success(boolean swingHand)
m_19078_(boolean p_19079_)