Package net.minecraftforge.fml
Class WorldPersistenceHooks
- java.lang.Object
-
- net.minecraftforge.fml.WorldPersistenceHooks
-
public class WorldPersistenceHooks extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
WorldPersistenceHooks.WorldPersistenceHook
-
Field Summary
Fields Modifier and Type Field Description private static java.util.List<WorldPersistenceHooks.WorldPersistenceHook>
worldPersistenceHooks
-
Constructor Summary
Constructors Constructor Description WorldPersistenceHooks()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addHook(WorldPersistenceHooks.WorldPersistenceHook hook)
static void
handleWorldDataLoad(SaveFormat.LevelSave levelSave, IServerConfiguration serverInfo, CompoundNBT tagCompound)
static void
handleWorldDataSave(SaveFormat.LevelSave levelSave, IServerConfiguration serverInfo, CompoundNBT tagCompound)
-
-
-
Field Detail
-
worldPersistenceHooks
private static java.util.List<WorldPersistenceHooks.WorldPersistenceHook> worldPersistenceHooks
-
-
Method Detail
-
addHook
public static void addHook(WorldPersistenceHooks.WorldPersistenceHook hook)
-
handleWorldDataSave
public static void handleWorldDataSave(SaveFormat.LevelSave levelSave, IServerConfiguration serverInfo, CompoundNBT tagCompound)
-
handleWorldDataLoad
public static void handleWorldDataLoad(SaveFormat.LevelSave levelSave, IServerConfiguration serverInfo, CompoundNBT tagCompound)
-
-