Class RayTraceUtils

java.lang.Object
com.hrznstudio.titanium.util.RayTraceUtils

public class RayTraceUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.phys.HitResult
    rayTraceSimple(net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity living, double blockReachDistance, float partialTicks)
     
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)