Package net.minecraftforge.fml
Class FMLWorldPersistenceHook
java.lang.Object
net.minecraftforge.fml.FMLWorldPersistenceHook
- All Implemented Interfaces:
WorldPersistenceHooks.WorldPersistenceHook
public final class FMLWorldPersistenceHook
extends Object
implements WorldPersistenceHooks.WorldPersistenceHook
- Author:
- cpw
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.apache.logging.log4j.Logger
private static final org.apache.logging.log4j.Marker
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDataForWriting
(SaveFormat.LevelSave levelSave, IServerConfiguration serverInfo) getModId()
void
readData
(SaveFormat.LevelSave levelSave, IServerConfiguration serverInfo, CompoundNBT 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 CompoundNBT getDataForWriting(SaveFormat.LevelSave levelSave, IServerConfiguration serverInfo) - Specified by:
getDataForWriting
in interfaceWorldPersistenceHooks.WorldPersistenceHook
-
readData
public void readData(SaveFormat.LevelSave levelSave, IServerConfiguration serverInfo, CompoundNBT tag) - Specified by:
readData
in interfaceWorldPersistenceHooks.WorldPersistenceHook
-