Class ExpandBlockHitResult
java.lang.Object
com.blamejared.crafttweaker.natives.util.ExpandBlockHitResult
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.core.BlockPosgetBlockPos(net.minecraft.world.phys.BlockHitResult internal) static net.minecraft.core.DirectiongetDirection(net.minecraft.world.phys.BlockHitResult internal) static net.minecraft.world.phys.HitResult.TypegetType(net.minecraft.world.phys.BlockHitResult internal) static booleanisInside(net.minecraft.world.phys.BlockHitResult internal) static net.minecraft.world.phys.BlockHitResultwithDirection(net.minecraft.world.phys.BlockHitResult internal, net.minecraft.core.Direction param0) static net.minecraft.world.phys.BlockHitResultwithPosition(net.minecraft.world.phys.BlockHitResult internal, net.minecraft.core.BlockPos param0)
-
Constructor Details
-
ExpandBlockHitResult
public ExpandBlockHitResult()
-
-
Method Details
-
withDirection
public static net.minecraft.world.phys.BlockHitResult withDirection(net.minecraft.world.phys.BlockHitResult internal, net.minecraft.core.Direction param0) -
withPosition
public static net.minecraft.world.phys.BlockHitResult withPosition(net.minecraft.world.phys.BlockHitResult internal, net.minecraft.core.BlockPos param0) -
getBlockPos
public static net.minecraft.core.BlockPos getBlockPos(net.minecraft.world.phys.BlockHitResult internal) -
getDirection
public static net.minecraft.core.Direction getDirection(net.minecraft.world.phys.BlockHitResult internal) -
getType
public static net.minecraft.world.phys.HitResult.Type getType(net.minecraft.world.phys.BlockHitResult internal) -
isInside
public static boolean isInside(net.minecraft.world.phys.BlockHitResult internal)
-