Class Point

java.lang.Object
com.hypixel.hytale.builtin.points.component.Point
All Implemented Interfaces:
Component<EntityStore>, Cloneable

public class Point extends Object implements Component<EntityStore>
Transport component for embedding points in prefab entity data. Used only by the prefab save/paste pipeline; the live point state lives in PointEntry on the manager.
  • Field Details

  • Constructor Details

    • Point

      public Point()
  • Method Details

    • fromPointEntry

      @Nonnull public static Point fromPointEntry(@Nonnull PointEntry entry)
    • toPointEntry

      @Nonnull public PointEntry toPointEntry(@Nonnull String id, @Nonnull String worldName, @Nonnull org.joml.Vector3d position)
    • toPointEntry

      @Nonnull public PointEntry toPointEntry(@Nonnull String id, @Nonnull String worldName, @Nonnull org.joml.Vector3d position, float yawRadians)
    • getPrefabIndex

      public int getPrefabIndex()
    • setPrefabIndex

      public void setPrefabIndex(int prefabIndex)
    • clone

      @Nonnull public Component<EntityStore> clone()
      Specified by:
      clone in interface Component<EntityStore>
      Returns:
      a clone instance of the original component instance.