Package com.hrznstudio.titanium.util
Class RayTraceUtils
java.lang.Object
com.hrznstudio.titanium.util.RayTraceUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.phys.HitResultrayTraceSimple(net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity living, double blockReachDistance, float partialTicks) static net.minecraft.world.phys.shapes.VoxelShaperayTraceVoxelShape(net.minecraft.world.phys.BlockHitResult original, net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity living, double blockReachDistance, float partialTicks)
-
Constructor Details
-
RayTraceUtils
public RayTraceUtils()
-
-
Method Details
-
rayTraceSimple
public static net.minecraft.world.phys.HitResult rayTraceSimple(net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity living, double blockReachDistance, float partialTicks) -
rayTraceVoxelShape
@Nullable public static net.minecraft.world.phys.shapes.VoxelShape rayTraceVoxelShape(net.minecraft.world.phys.BlockHitResult original, net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity living, double blockReachDistance, float partialTicks)
-