Class WorldlyPosition

java.lang.Object
com.mojang.math.Vector3f
com.codinglitch.simpleradio.api.central.WorldlyPosition

public class WorldlyPosition extends com.mojang.math.Vector3f
  • Field Summary

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

    Fields inherited from class com.mojang.math.Vector3f

    CODEC, XN, XP, YN, YP, ZERO, ZN, ZP
  • 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
     
    com.mojang.math.Vector3f
     
    float
     
    boolean
     
    boolean
     
    of(com.mojang.math.Vector3f pos, net.minecraft.world.level.Level level)
     
    of(com.mojang.math.Vector3f pos, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos realLocation)
     
    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)
     
    com.mojang.math.Vector3f
     
    float
    rawDistance(float x, float y, float z)
     
    float
     
    net.minecraft.core.BlockPos
     

    Methods inherited from class com.mojang.math.Vector3f

    add, add, clamp, clamp, copy, cross, dot, equals, hashCode, lerp, load, map, mul, mul, normalize, rotation, rotationDegrees, set, set, setX, setY, setZ, sub, toString, transform, transform, x, y, z

    Methods inherited from class java.lang.Object

    clone, 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(com.mojang.math.Vector3f pos, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos realLocation)
    • of

      public static WorldlyPosition of(com.mojang.math.Vector3f pos, net.minecraft.world.level.Level level)
    • position

      public com.mojang.math.Vector3f position()
    • equals

      public boolean equals(WorldlyPosition location)
    • blockPos

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

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

      public com.mojang.math.Vector3f dimensionScaled()
    • distance

      public float distance(WorldlyPosition other)
    • rawDistance

      public float rawDistance(WorldlyPosition other)
    • rawDistance

      public float rawDistance(float x, float y, float z)
    • isClientSide

      public boolean isClientSide()