public class WorldPersistenceHooks
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
WorldPersistenceHooks.WorldPersistenceHook |
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) |
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)