Package net.minecraft.util.datafix.fixes
Class BlockStateFlatteningMap
java.lang.Object
net.minecraft.util.datafix.fixes.BlockStateFlatteningMap
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Dynamic<?>[]
private static final it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.serialization.Dynamic<?>>
private static final it.unimi.dsi.fastutil.objects.Object2IntMap<String>
private static final org.apache.logging.log4j.Logger
private static final com.mojang.serialization.Dynamic<?>[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
static com.mojang.serialization.Dynamic<?>
getTag
(int p_210049_0_) static com.mojang.serialization.Dynamic<?>
private static void
static String
upgradeBlock
(int p_207215_0_) static String
upgradeBlock
(String p_199198_0_) static com.mojang.serialization.Dynamic<?>
upgradeBlockStateTag
(com.mojang.serialization.Dynamic<?> p_210050_0_)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
MAP
private static final com.mojang.serialization.Dynamic<?>[] MAP -
BLOCK_DEFAULTS
private static final com.mojang.serialization.Dynamic<?>[] BLOCK_DEFAULTS -
ID_BY_OLD
private static final it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.serialization.Dynamic<?>> ID_BY_OLD -
ID_BY_OLD_NAME
-
-
Constructor Details
-
BlockStateFlatteningMap
public BlockStateFlatteningMap()
-
-
Method Details
-
register
-
finalizeMaps
private static void finalizeMaps() -
upgradeBlockStateTag
public static com.mojang.serialization.Dynamic<?> upgradeBlockStateTag(com.mojang.serialization.Dynamic<?> p_210050_0_) -
upgradeBlock
-
upgradeBlock
-
parse
-
getTag
public static com.mojang.serialization.Dynamic<?> getTag(int p_210049_0_)
-