All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fastasyncworldedit.core.queue.implementation.preloader.Preloader Maven / Gradle / Ivy

Go to download

Blazingly fast Minecraft world manipulation for artists, builders and everyone else.

There is a newer version: 2.9.2
Show newest version
package com.fastasyncworldedit.core.queue.implementation.preloader;

import com.sk89q.worldedit.extension.platform.Actor;
import com.sk89q.worldedit.world.World;

import javax.annotation.Nonnull;

public interface Preloader {

    /**
     * Tell the preloader to stop attempting to preload chunks
     */
    void cancel();

    /**
     * Cancel any preloading related to the given Actor
     *
     * @param actor Actor to cancel preloading of
     */
    void cancel(@Nonnull Actor actor);

    /**
     * Update the preloading for the given player, in the given world. Uses the player's current selection.
     *
     * @param actor Actor to update
     * @param world World to use
     */
    void update(@Nonnull Actor actor, @Nonnull World world);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy