Package net.minecraftforge.fmllegacy
Class WorldPersistenceHooks
java.lang.Object
net.minecraftforge.fmllegacy.WorldPersistenceHooks
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
handleWorldDataLoad(LevelStorageSource.LevelStorageAccess levelSave, WorldData serverInfo, CompoundTag tagCompound)
static void
handleWorldDataSave(LevelStorageSource.LevelStorageAccess levelSave, WorldData serverInfo, CompoundTag tagCompound)
-
Field Details
-
worldPersistenceHooks
-
-
Constructor Details
-
WorldPersistenceHooks
public WorldPersistenceHooks()
-
-
Method Details
-
addHook
-
handleWorldDataSave
public static void handleWorldDataSave(LevelStorageSource.LevelStorageAccess levelSave, WorldData serverInfo, CompoundTag tagCompound) -
handleWorldDataLoad
public static void handleWorldDataLoad(LevelStorageSource.LevelStorageAccess levelSave, WorldData serverInfo, CompoundTag tagCompound)
-