Class PointEntry

java.lang.Object
com.hypixel.hytale.builtin.points.manager.PointEntry

public class PointEntry extends Object
Serialized state for one world point: a fixed 1x1x1 anchor with an optional display name, full three-axis Euler rotation (degrees), and key/value tags. Tags are expanded into the shared integer tag index set so PointManager.queryRadius(Vector3d, double) can filter without re-parsing strings.
  • Field Details

  • Constructor Details

    • PointEntry

      public PointEntry(@Nonnull String id, @Nonnull String worldName, @Nonnull org.joml.Vector3d position, @Nonnull org.joml.Vector3f rotation, @Nullable String name, boolean enabled)
  • Method Details

    • setId

      public void setId(@Nonnull String id)
    • getId

      @Nonnull public String getId()
    • setWorldName

      public void setWorldName(@Nonnull String worldName)
    • getWorldName

      @Nonnull public String getWorldName()
    • getPosition

      @Nonnull public org.joml.Vector3d getPosition()
    • setPosition

      public void setPosition(@Nonnull org.joml.Vector3d position)
    • getRotation

      @Nonnull public org.joml.Vector3f getRotation()
    • setRotation

      public void setRotation(@Nonnull org.joml.Vector3f rotation)
    • getTransform

      @Nonnull public Transform getTransform()
    • getName

      @Nullable public String getName()
    • setName

      public void setName(@Nullable String name)
    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getShape

      @Nonnull public PointShapeType getShape()
    • setShape

      public void setShape(@Nonnull PointShapeType shape)
    • getRawTags

      @Nonnull public Map<String,String> getRawTags()
    • setTags

      public void setTags(@Nonnull Map<String,String> tags)
    • getExpandedTagIndexes

      @Nonnull public it.unimi.dsi.fastutil.ints.IntSet getExpandedTagIndexes()
    • hasTag

      public boolean hasTag(int tagIndex)
    • hasTags

      public boolean hasTags(Collection<Integer> tags)