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
    • y

      protected final float y
    • z

      protected final float z
  • Constructor Details

    • Rotations

      public Rotations(float p_123150_, float p_123151_, float p_123152_)
    • Rotations

      public Rotations(ListTag p_123154_)
  • Method Details

    • save

      public ListTag save()
    • equals

      public boolean equals(Object p_123160_)
      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()