net.minecraft.world

public class InteractionResultHolder<T>

azn
net.minecraft.world.InteractionResultHolder
net.minecraft.class_1271
net.minecraft.unmapped.C_upvihyur
net.minecraft.util.TypedActionResult
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
f_gtavphuc
result
result
f_19084_
private final T
b
object
field_5816
f_tvjoprap
value
value
f_19085_

Constructor summary

ModifierConstructor
public (InteractionResult result, T value)

Method summary

Modifier and TypeMethod
public InteractionResult
a()
getResult()
method_5467()
m_ihuzblxf()
getResult()
getResult()
m_19089_()
public T
b()
getObject()
method_5466()
m_avraycyx()
getValue()
getValue()
m_19095_()
public static <T> InteractionResultHolder<T>
a(T arg0)
success(T arg0)
method_22427(T arg0)
m_pcwqezfd(T arg0)
success(T data)
success(T data)
m_19090_(T p_19091_)
public static <T> InteractionResultHolder<T>
b(T arg0)
consume(T arg0)
method_22428(T arg0)
m_moytnevz(T arg0)
consume(T data)
consume(T data)
m_19096_(T p_19097_)
public static <T> InteractionResultHolder<T>
c(T arg0)
pass(T arg0)
method_22430(T arg0)
m_fpodrbhn(T arg0)
pass(T data)
pass(T data)
m_19098_(T p_19099_)
public static <T> InteractionResultHolder<T>
d(T arg0)
fail(T arg0)
method_22431(T arg0)
m_hyflzobu(T arg0)
fail(T data)
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)
m_oeouebeo(T arg0, boolean arg1)
success(T data, boolean swingHand)
success(T data, boolean swingHand)
m_19092_(T p_19093_, boolean p_19094_)