net.minecraft.world

public class InteractionResultHolder<T>

anh
net.minecraft.world.InteractionResultHolder
net.minecraft.class_1271
net.minecraft.util.TypedActionResult
net.minecraft.util.ActionResult
net.minecraft.server.v1_16_R1.InteractionResultWrapper

Field summary

Modifier and TypeField
private final InteractionResult
a
result
field_5815
result
field_188399_a
private final T
b
object
field_5816
value
field_188400_b

Constructor summary

ModifierConstructor
public (InteractionResult result, T value)

Method summary

Modifier and TypeMethod
public InteractionResult
a()
getResult()
method_5467()
getResult()
func_188397_a()
public T
b()
getObject()
method_5466()
getValue()
func_188398_b()
public static <T> InteractionResultHolder<T>
a(T arg0)
success(T arg0)
method_22427(T arg0)
success(T data)
func_226248_a_(T arg0)
success(T arg0)
public static <T> InteractionResultHolder<T>
b(T arg0)
consume(T arg0)
method_22428(T arg0)
consume(T data)
func_226249_b_(T arg0)
consume(T arg0)
public static <T> InteractionResultHolder<T>
c(T arg0)
pass(T arg0)
method_22430(T arg0)
pass(T data)
func_226250_c_(T arg0)
pass(T arg0)
public static <T> InteractionResultHolder<T>
d(T arg0)
fail(T arg0)
method_22431(T arg0)
fail(T data)
func_226251_d_(T arg0)
fail(T arg0)
public static <T> InteractionResultHolder<T>
a(T arg0, boolean arg1)
sidedSuccess(T arg0, boolean arg1)
method_29237(T arg0, boolean arg1)
method_29237(T arg0, boolean arg1)
func_233538_a_(T arg0, boolean arg1)