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
FieldsFields inherited from class org.joml.Vector3f
x, y, z -
Constructor Summary
ConstructorsConstructorDescriptionWorldlyPosition(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 TypeMethodDescriptionnet.minecraft.core.BlockPosblockPos()org.joml.Vector3ffloatdistance(WorldlyPosition other) booleanequals(WorldlyPosition location) booleanstatic WorldlyPositionof(net.minecraft.core.BlockPos pos, net.minecraft.world.level.Level level) static WorldlyPositionof(net.minecraft.core.BlockPos pos, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos realLocation) static WorldlyPositionof(org.joml.Vector3f pos, net.minecraft.world.level.Level level) static WorldlyPositionof(org.joml.Vector3f pos, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos realLocation) org.joml.Vector3fposition()net.minecraft.core.BlockPostoString()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
-
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
-
position
public org.joml.Vector3f position() -
equals
-
blockPos
public net.minecraft.core.BlockPos blockPos() -
realLocation
public net.minecraft.core.BlockPos realLocation() -
dimensionScaled
public org.joml.Vector3f dimensionScaled() -
distance
-
isClientSide
public boolean isClientSide() -
toString
- Overrides:
toStringin classorg.joml.Vector3f
-