Class Rotations

java.lang.Object
net.minecraft.core.Rotations

public class Rotations extends Object
  • Field Details

    • STREAM_CODEC

      public static final StreamCodec<io.netty.buffer.ByteBuf,Rotations> STREAM_CODEC
    • x

      protected final float x
      Rotation on the X axis
    • y

      protected final float y
      Rotation on the Y axis
    • z

      protected final float z
      Rotation on the Z axis
  • Constructor Details

    • Rotations

      public Rotations(float pX, float pY, float pZ)
    • Rotations

      public Rotations(ListTag pTag)
  • Method Details

    • save

      public ListTag save()
    • equals

      public boolean equals(Object pOther)
      Overrides:
      equals in class Object
    • getX

      public float getX()
    • getY

      public float getY()
    • getZ

      public float getZ()
    • getWrappedX

      public float getWrappedX()
    • getWrappedY

      public float getWrappedY()
    • getWrappedZ

      public float getWrappedZ()