public enum WorldDataHandler extends java.lang.Enum<WorldDataHandler>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
loadWorldData(net.minecraft.world.storage.ISaveHandler saveHandler,
net.minecraft.world.World world) |
void |
registerDataAdapter(IWorldDataAdapter dataAdapter)
Register a world data adapter.
|
void |
saveWorldData(net.minecraft.world.storage.ISaveHandler saveHandler,
net.minecraft.world.World world) |
static WorldDataHandler |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WorldDataHandler[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorldDataHandler INSTANCE
public static WorldDataHandler[] values()
for (WorldDataHandler c : WorldDataHandler.values()) System.out.println(c);
public static WorldDataHandler valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic void registerDataAdapter(IWorldDataAdapter dataAdapter)
dataAdapter - the adapter instancepublic void loadWorldData(net.minecraft.world.storage.ISaveHandler saveHandler,
net.minecraft.world.World world)
public void saveWorldData(net.minecraft.world.storage.ISaveHandler saveHandler,
net.minecraft.world.World world)