Class WorldlyPosition

java.lang.Object
org.joml.Vector3f
com.codinglitch.simpleradio.api.central.WorldlyPosition
All Implemented Interfaces:
Externalizable, Serializable, Cloneable, org.joml.Vector3fc

public class WorldlyPosition extends org.joml.Vector3f
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    net.minecraft.world.level.Level
     

    Fields inherited from class org.joml.Vector3f

    x, y, z
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    WorldlyPosition(float x, float y, float z, net.minecraft.world.level.Level level)
     
    WorldlyPosition(float x, float y, float z, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos realLocation)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.core.BlockPos
     
    org.joml.Vector3f
     
    float
     
    boolean
     
    boolean
     
    of(net.minecraft.core.BlockPos pos, net.minecraft.world.level.Level level)
     
    of(net.minecraft.core.BlockPos pos, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos realLocation)
     
    of(org.joml.Vector3f pos, net.minecraft.world.level.Level level)
     
    of(org.joml.Vector3f pos, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos realLocation)
     
    org.joml.Vector3f
     
    net.minecraft.core.BlockPos
     
     

    Methods inherited from class org.joml.Vector3f

    absolute, absolute, add, add, add, add, angle, angleCos, angleSigned, angleSigned, ceil, ceil, clone, cross, cross, cross, cross, distance, distance, distance, distanceSquared, distanceSquared, distanceSquared, div, div, div, div, div, div, dot, dot, equals, equals, equals, floor, floor, fma, fma, fma, fma, get, get, get, get, get, get, get, get, getToAddress, half, half, half, half, hashCode, hermite, isFinite, length, length, lengthSquared, lengthSquared, lerp, lerp, max, max, maxComponent, min, min, minComponent, mul, mul, mul, mul, mul, mul, mul, mul, mul, mul, mul, mul, mulAdd, mulAdd, mulAdd, mulAdd, mulDirection, mulDirection, mulDirection, mulDirection, mulDirection, mulDirection, mulPosition, mulPosition, mulPosition, mulPosition, mulPositionW, mulPositionW, mulProject, mulProject, mulProject, mulTranspose, mulTranspose, mulTransposeDirection, mulTransposeDirection, mulTransposePosition, mulTransposePosition, negate, negate, normalize, normalize, normalize, normalize, orthogonalize, orthogonalize, orthogonalizeUnit, orthogonalizeUnit, readExternal, reflect, reflect, reflect, reflect, rotate, rotate, rotateAxis, rotateAxis, rotateX, rotateX, rotateY, rotateY, rotateZ, rotateZ, rotationTo, rotationTo, round, round, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setComponent, setFromAddress, smoothStep, sub, sub, sub, sub, toString, writeExternal, x, y, z, zero

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • level

      public net.minecraft.world.level.Level level
  • Constructor Details

    • WorldlyPosition

      public WorldlyPosition(float x, float y, float z, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos realLocation)
    • WorldlyPosition

      public WorldlyPosition(float x, float y, float z, net.minecraft.world.level.Level level)
    • WorldlyPosition

      public WorldlyPosition()
  • Method Details

    • of

      public static WorldlyPosition of(net.minecraft.core.BlockPos pos, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos realLocation)
    • of

      public static WorldlyPosition of(net.minecraft.core.BlockPos pos, net.minecraft.world.level.Level level)
    • of

      public static WorldlyPosition of(org.joml.Vector3f pos, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos realLocation)
    • of

      public static WorldlyPosition of(org.joml.Vector3f pos, net.minecraft.world.level.Level level)
    • position

      public org.joml.Vector3f position()
    • equals

      public boolean equals(WorldlyPosition location)
    • blockPos

      public net.minecraft.core.BlockPos blockPos()
    • realLocation

      public net.minecraft.core.BlockPos realLocation()
    • dimensionScaled

      public org.joml.Vector3f dimensionScaled()
    • distance

      public float distance(WorldlyPosition other)
    • isClientSide

      public boolean isClientSide()
    • toString

      public String toString()
      Overrides:
      toString in class org.joml.Vector3f