All Known Implementing Classes:
AsyncPreloader

public interface Preloader
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Tell the preloader to stop attempting to preload chunks
    void
    cancel(Actor actor)
    Cancel any preloading related to the given Actor
    void
    update(Actor actor, World world)
    Update the preloading for the given player, in the given world.
  • Method Details

    • cancel

      void cancel()
      Tell the preloader to stop attempting to preload chunks
    • cancel

      void cancel(@Nonnull Actor actor)
      Cancel any preloading related to the given Actor
      Parameters:
      actor - Actor to cancel preloading of
    • update

      void update(@Nonnull Actor actor, @Nonnull World world)
      Update the preloading for the given player, in the given world. Uses the player's current selection.
      Parameters:
      actor - Actor to update
      world - World to use