Package net.minecraftforge.fmllegacy
Class FMLWorldPersistenceHook
java.lang.Object
net.minecraftforge.fmllegacy.FMLWorldPersistenceHook
- All Implemented Interfaces:
WorldPersistenceHooks.WorldPersistenceHook
public final class FMLWorldPersistenceHook
extends Object
implements WorldPersistenceHooks.WorldPersistenceHook
- Author:
- cpw
-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.apache.logging.log4j.Logger
private static org.apache.logging.log4j.Marker
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDataForWriting(LevelStorageSource.LevelStorageAccess levelSave, WorldData serverInfo)
getModId()
void
readData(LevelStorageSource.LevelStorageAccess levelSave, WorldData serverInfo, CompoundTag tag)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
WORLDPERSISTENCE
private static final org.apache.logging.log4j.Marker WORLDPERSISTENCE
-
-
Constructor Details
-
FMLWorldPersistenceHook
public FMLWorldPersistenceHook()
-
-
Method Details
-
getModId
- Specified by:
getModId
in interfaceWorldPersistenceHooks.WorldPersistenceHook
-
getDataForWriting
public CompoundTag getDataForWriting(LevelStorageSource.LevelStorageAccess levelSave, WorldData serverInfo)- Specified by:
getDataForWriting
in interfaceWorldPersistenceHooks.WorldPersistenceHook
-
readData
public void readData(LevelStorageSource.LevelStorageAccess levelSave, WorldData serverInfo, CompoundTag tag)- Specified by:
readData
in interfaceWorldPersistenceHooks.WorldPersistenceHook
-