Package net.minecraft.world
Class InteractionResultHolder<T>
java.lang.Object
net.minecraft.world.InteractionResultHolder<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> InteractionResultHolder
<T> consume
(T p_19097_) static <T> InteractionResultHolder
<T> fail
(T p_19101_) static <T> InteractionResultHolder
<T> pass
(T p_19099_) static <T> InteractionResultHolder
<T> sidedSuccess
(T p_19093_, boolean p_19094_) static <T> InteractionResultHolder
<T> success
(T p_19091_)
-
Field Details
-
result
-
object
-
-
Constructor Details
-
InteractionResultHolder
-
-
Method Details
-
getResult
-
getObject
-
success
-
consume
-
pass
-
fail
-
sidedSuccess
-