public class WorldPersistenceHooks
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
WorldPersistenceHooks.WorldPersistenceHook |
Modifier and Type | Field and Description |
---|---|
private static java.util.List<WorldPersistenceHooks.WorldPersistenceHook> |
worldPersistenceHooks |
Constructor and Description |
---|
WorldPersistenceHooks() |
Modifier and Type | Method and Description |
---|---|
static void |
addHook(WorldPersistenceHooks.WorldPersistenceHook hook) |
static void |
confirmBackupLevelDatUse(SaveHandler handler) |
static void |
handleWorldDataLoad(SaveHandler handler,
WorldInfo worldInfo,
CompoundNBT tagCompound) |
static void |
handleWorldDataSave(SaveHandler handler,
WorldInfo worldInfo,
CompoundNBT tagCompound) |
private static java.util.List<WorldPersistenceHooks.WorldPersistenceHook> worldPersistenceHooks
public static void addHook(WorldPersistenceHooks.WorldPersistenceHook hook)
public static void handleWorldDataSave(SaveHandler handler, WorldInfo worldInfo, CompoundNBT tagCompound)
public static void handleWorldDataLoad(SaveHandler handler, WorldInfo worldInfo, CompoundNBT tagCompound)
public static void confirmBackupLevelDatUse(SaveHandler handler)