Class PathManager

java.lang.Object
com.hypixel.hytale.server.npc.entities.PathManager

public class PathManager extends Object
  • Field Details

    • CODEC

      @Nonnull public static final BuilderCodec<PathManager> CODEC
    • currentPathHint

      @Nullable private UUID currentPathHint
    • currentPath

      @Nullable private IPath<?> currentPath
  • Constructor Details

    • PathManager

      public PathManager()
  • Method Details

    • setPrefabPath

      public void setPrefabPath(@Nonnull UUID currentPath, @Nonnull IPrefabPath path)
    • setTransientPath

      public void setTransientPath(@Nonnull IPath<?> path)
    • isFollowingPath

      public boolean isFollowingPath()
    • getCurrentPathHint

      @Nullable public UUID getCurrentPathHint()
    • getPath

      @Nullable public IPath<?> getPath(@Nonnull Ref<EntityStore> ref, @Nonnull ComponentAccessor<EntityStore> componentAccessor)