public enum MigrationManager extends java.lang.Enum<MigrationManager>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEBUG |
| Modifier and Type | Method and Description |
|---|---|
void |
addBlockMigration(net.minecraft.block.Block to,
java.lang.String... oldNames) |
void |
addItemMigration(net.minecraft.item.Item to,
java.lang.String... oldNames) |
void |
onMissingBlocks(net.minecraftforge.event.RegistryEvent.MissingMappings<net.minecraft.block.Block> missing) |
void |
onMissingItems(net.minecraftforge.event.RegistryEvent.MissingMappings<net.minecraft.item.Item> missing) |
static MigrationManager |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MigrationManager[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MigrationManager INSTANCE
public static MigrationManager[] values()
for (MigrationManager c : MigrationManager.values()) System.out.println(c);
public static MigrationManager 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 addItemMigration(net.minecraft.item.Item to,
java.lang.String... oldNames)
public void addBlockMigration(net.minecraft.block.Block to,
java.lang.String... oldNames)
public void onMissingBlocks(net.minecraftforge.event.RegistryEvent.MissingMappings<net.minecraft.block.Block> missing)
public void onMissingItems(net.minecraftforge.event.RegistryEvent.MissingMappings<net.minecraft.item.Item> missing)