Class ExpandInteractionResultHolder
java.lang.Object
com.blamejared.crafttweaker.natives.world.ExpandInteractionResultHolder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> net.minecraft.world.InteractionResultHolder<T> static <T> net.minecraft.world.InteractionResultHolder<T> static <T> Tstatic net.minecraft.world.InteractionResultgetResult(net.minecraft.world.InteractionResultHolder internal) static <T> net.minecraft.world.InteractionResultHolder<T> static <T> net.minecraft.world.InteractionResultHolder<T> sidedSuccess(Class<T> tClass, T object, boolean success) static <T> net.minecraft.world.InteractionResultHolder<T>
-
Constructor Details
-
ExpandInteractionResultHolder
public ExpandInteractionResultHolder()
-
-
Method Details
-
getResult
public static net.minecraft.world.InteractionResult getResult(net.minecraft.world.InteractionResultHolder internal) -
getObject
public static <T> T getObject(net.minecraft.world.InteractionResultHolder<T> internal, Class<T> tClass) -
success
-
consume
-
pass
-
fail
-
sidedSuccess
public static <T> net.minecraft.world.InteractionResultHolder<T> sidedSuccess(Class<T> tClass, T object, boolean success)
-