Class GeyserWaypoint

java.lang.Object
org.geysermc.geyser.session.cache.waypoint.GeyserWaypoint
Direct Known Subclasses:
AzimuthWaypoint, ChunkWaypoint, CoordinatesWaypoint

public abstract class GeyserWaypoint extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final GeyserSession
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    GeyserWaypoint(GeyserSession session, UUID uuid, org.geysermc.geyser.api.waypoint.CustomWaypointStyle style, org.geysermc.geyser.api.util.Identifier styleIdentifier, Color color, Optional<Entity> entity)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    static @Nullable GeyserWaypoint
    create(GeyserSession session, Optional<Entity> entity, org.geysermc.mcprotocollib.protocol.data.game.level.waypoint.TrackedWaypoint waypoint, Map<org.geysermc.geyser.api.util.Identifier,org.geysermc.geyser.api.waypoint.CustomWaypointStyle> waypointStyles)
     
    protected void
     
    abstract void
    setData(org.geysermc.mcprotocollib.protocol.data.game.level.waypoint.WaypointData data)
     
    void
    setEntity(Entity entity)
     
    protected void
    setPosition(org.cloudburstmc.math.vector.Vector3f position)
     
    void
    track(org.geysermc.mcprotocollib.protocol.data.game.level.waypoint.WaypointData data)
     
    void
     
    void
    update(org.geysermc.mcprotocollib.protocol.data.game.level.waypoint.WaypointData data)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • GeyserWaypoint

      public GeyserWaypoint(GeyserSession session, UUID uuid, org.geysermc.geyser.api.waypoint.CustomWaypointStyle style, org.geysermc.geyser.api.util.Identifier styleIdentifier, Color color, Optional<Entity> entity)
  • Method Details

    • color

      public Color color()
    • track

      public void track(org.geysermc.mcprotocollib.protocol.data.game.level.waypoint.WaypointData data)
    • update

      public void update(org.geysermc.mcprotocollib.protocol.data.game.level.waypoint.WaypointData data)
    • untrack

      public void untrack()
    • setEntity

      public void setEntity(Entity entity)
    • setPosition

      protected void setPosition(org.cloudburstmc.math.vector.Vector3f position)
    • sendLocationPacket

      protected void sendLocationPacket()
    • setData

      public abstract void setData(org.geysermc.mcprotocollib.protocol.data.game.level.waypoint.WaypointData data)
    • create

      public static @Nullable GeyserWaypoint create(GeyserSession session, Optional<Entity> entity, org.geysermc.mcprotocollib.protocol.data.game.level.waypoint.TrackedWaypoint waypoint, Map<org.geysermc.geyser.api.util.Identifier,org.geysermc.geyser.api.waypoint.CustomWaypointStyle> waypointStyles)