mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-03 21:52:05 -07:00
@@ -42,6 +42,7 @@ import org.bukkit.scoreboard.ScoreboardManager;
|
||||
import org.bukkit.util.CachedServerIcon;
|
||||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import org.bukkit.advancement.Advancement;
|
||||
import org.bukkit.generator.ChunkGenerator;
|
||||
|
||||
import org.bukkit.inventory.ItemFactory;
|
||||
@@ -439,6 +440,12 @@ public interface Server extends PluginMessageRecipient {
|
||||
*/
|
||||
public void reload();
|
||||
|
||||
/**
|
||||
* Reload only the Minecraft data for the server. This includes custom
|
||||
* advancements and loot tables.
|
||||
*/
|
||||
public void reloadData();
|
||||
|
||||
/**
|
||||
* Returns the primary logger associated with this server instance.
|
||||
*
|
||||
@@ -921,6 +928,14 @@ public interface Server extends PluginMessageRecipient {
|
||||
*/
|
||||
Entity getEntity(UUID uuid);
|
||||
|
||||
/**
|
||||
* Get the advancement specified by this key.
|
||||
*
|
||||
* @param key unique advancement key
|
||||
* @return advancement or null if not exists
|
||||
*/
|
||||
Advancement getAdvancement(NamespacedKey key);
|
||||
|
||||
/**
|
||||
* @see UnsafeValues
|
||||
* @return the unsafe values instance
|
||||
|
Reference in New Issue
Block a user