Package net.minecraftforge.fml
Class FMLWorldPersistenceHook
- java.lang.Object
-
- net.minecraftforge.fml.FMLWorldPersistenceHook
-
- All Implemented Interfaces:
WorldPersistenceHooks.WorldPersistenceHook
public final class FMLWorldPersistenceHook extends java.lang.Object implements WorldPersistenceHooks.WorldPersistenceHook
- Author:
- cpw
-
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.logging.log4j.Logger
LOGGER
private static org.apache.logging.log4j.Marker
WORLDPERSISTENCE
-
Constructor Summary
Constructors Constructor Description FMLWorldPersistenceHook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompoundNBT
getDataForWriting(SaveFormat.LevelSave levelSave, IServerConfiguration serverInfo)
java.lang.String
getModId()
void
readData(SaveFormat.LevelSave levelSave, IServerConfiguration serverInfo, CompoundNBT tag)
-
-
-
Method Detail
-
getModId
public java.lang.String 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
-
-