public final class FMLWorldPersistenceHook extends java.lang.Object implements WorldPersistenceHooks.WorldPersistenceHook
Modifier and Type | Field and Description |
---|---|
private static org.apache.logging.log4j.Logger |
LOGGER |
private static org.apache.logging.log4j.Marker |
WORLDPERSISTENCE |
Constructor and Description |
---|
FMLWorldPersistenceHook() |
Modifier and Type | Method and Description |
---|---|
CompoundNBT |
getDataForWriting(SaveHandler handler,
WorldInfo info) |
java.lang.String |
getModId() |
void |
readData(SaveHandler handler,
WorldInfo info,
CompoundNBT tag) |
private static final org.apache.logging.log4j.Logger LOGGER
private static final org.apache.logging.log4j.Marker WORLDPERSISTENCE
public java.lang.String getModId()
getModId
in interface WorldPersistenceHooks.WorldPersistenceHook
public CompoundNBT getDataForWriting(SaveHandler handler, WorldInfo info)
getDataForWriting
in interface WorldPersistenceHooks.WorldPersistenceHook
public void readData(SaveHandler handler, WorldInfo info, CompoundNBT tag)
readData
in interface WorldPersistenceHooks.WorldPersistenceHook