Class LocationUtils

java.lang.Object
com.elikill58.negativity.fabric.utils.LocationUtils

public class LocationUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    hasLineOfSight(net.minecraft.server.network.ServerPlayerEntity p, net.minecraft.world.World w, net.minecraft.util.math.Vec3d loc)
     
    protected static boolean
    hasMovingPosition(net.minecraft.world.World world, net.minecraft.util.math.Vec3d position, net.minecraft.util.math.Vec3d vec3d, net.minecraft.util.math.Vec3d vec3d1)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LocationUtils

      public LocationUtils()
  • Method Details

    • hasLineOfSight

      public static boolean hasLineOfSight(net.minecraft.server.network.ServerPlayerEntity p, net.minecraft.world.World w, net.minecraft.util.math.Vec3d loc)
    • hasMovingPosition

      protected static boolean hasMovingPosition(net.minecraft.world.World world, net.minecraft.util.math.Vec3d position, net.minecraft.util.math.Vec3d vec3d, net.minecraft.util.math.Vec3d vec3d1)