public class BlockStateFlattening extends Object
Modifier and Type | Field and Description |
---|---|
private static com.mojang.serialization.Dynamic<?>[] |
field_24645 |
private static com.mojang.serialization.Dynamic<?>[] |
field_24646 |
private static Logger |
LOGGER |
private static it.unimi.dsi.fastutil.objects.Object2IntMap<String> |
OLD_BLOCK_TO_ID |
private static it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.serialization.Dynamic<?>> |
OLD_STATE_TO_ID |
Constructor and Description |
---|
BlockStateFlattening() |
Modifier and Type | Method and Description |
---|---|
private static void |
fillEmptyStates() |
static String |
lookupBlock(String oldBlockName) |
static com.mojang.serialization.Dynamic<?> |
lookupState(com.mojang.serialization.Dynamic<?> dynamic) |
static com.mojang.serialization.Dynamic<?> |
lookupState(int stateId) |
static String |
lookupStateBlock(int stateId) |
static com.mojang.serialization.Dynamic<?> |
parseState(String stateStr) |
private static void |
putStates(int oldId,
String newStateStr,
String[] oldStateStrings) |
private static final Logger LOGGER
private static final com.mojang.serialization.Dynamic<?>[] field_24645
private static final com.mojang.serialization.Dynamic<?>[] field_24646
private static final it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.serialization.Dynamic<?>> OLD_STATE_TO_ID
private static final it.unimi.dsi.fastutil.objects.Object2IntMap<String> OLD_BLOCK_TO_ID
private static void fillEmptyStates()
public static com.mojang.serialization.Dynamic<?> lookupState(com.mojang.serialization.Dynamic<?> dynamic)
public static String lookupStateBlock(int stateId)
public static com.mojang.serialization.Dynamic<?> parseState(String stateStr)
public static com.mojang.serialization.Dynamic<?> lookupState(int stateId)