Class Offset

java.lang.Object
cn.nukkit.item.customitem.data.Offset

@PowerNukkitXOnly @Since("1.19.40-r1") public class Offset extends Object
Offset代表RenderOffsets中的偏移量对象

This represents the offset object in RenderOffsets

  • Method Details

    • builder

      public static Offset builder()
    • position

      public Offset position(float x, float y, float z)
    • rotation

      public Offset rotation(float x, float y, float z)
    • scale

      public Offset scale(float x, float y, float z)
    • getPosition

      public Vector3f getPosition()
    • getRotation

      public Vector3f getRotation()
    • getScale

      public Vector3f getScale()