net.minecraft.world

public class InteractionResultHolder<T>

bdz
net.minecraft.world.InteractionResultHolder
net.minecraft.class_1271
net.minecraft.util.TypedActionResult
net.minecraft.src.C_472_
net.minecraft.world.InteractionResultWrapper

Field summary

Modifier and TypeField
private final InteractionResult
a
result
field_5815
result
f_19084_
private final T
b
object
field_5816
value
f_19085_

Constructor summary

ModifierConstructor
public (InteractionResult result, T value)

Method summary

Modifier and TypeMethod
public InteractionResult
a()
getResult()
method_5467()
getResult()
m_19089_()
public T
b()
getObject()
method_5466()
getValue()
m_19095_()
public static <T> InteractionResultHolder<T>
a(T arg0)
success(T arg0)
method_22427(T arg0)
success(T data)
m_19090_(T p_19091_)
public static <T> InteractionResultHolder<T>
b(T arg0)
consume(T arg0)
method_22428(T arg0)
consume(T data)
m_19096_(T p_19097_)
public static <T> InteractionResultHolder<T>
c(T arg0)
pass(T arg0)
method_22430(T arg0)
pass(T data)
m_19098_(T p_19099_)
public static <T> InteractionResultHolder<T>
d(T arg0)
fail(T arg0)
method_22431(T arg0)
fail(T data)
m_19100_(T p_19101_)
public static <T> InteractionResultHolder<T>
a(T arg0, boolean arg1)
sidedSuccess(T arg0, boolean arg1)
method_29237(T arg0, boolean arg1)
success(T data, boolean swingHand)
m_19092_(T p_19093_, boolean p_19094_)