Package net.minecraft.util.datafix.fixes
Class ChunkPaletteFormat
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.ChunkPaletteFormat
public class ChunkPaletteFormat
extends com.mojang.datafixers.DataFix
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
(package private) static class
(package private) static class
(package private) static final class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Dynamic<?>
private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<String>
private static final BitSet
private static final org.apache.logging.log4j.Logger
private static final com.mojang.serialization.Dynamic<?>
private static final com.mojang.serialization.Dynamic<?>
private static final com.mojang.serialization.Dynamic<?>
private static final com.mojang.serialization.Dynamic<?>
private static final com.mojang.serialization.Dynamic<?>
private static final com.mojang.serialization.Dynamic<?>
private static final com.mojang.serialization.Dynamic<?>
private static final com.mojang.serialization.Dynamic<?>
private static final com.mojang.serialization.Dynamic<?>
private static final com.mojang.serialization.Dynamic<?>
private static final BitSet
-
Constructor Summary
ConstructorDescriptionChunkPaletteFormat
(com.mojang.datafixers.schemas.Schema p_i49676_1_, boolean p_i49676_2_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
addBanners
(Map<String, com.mojang.serialization.Dynamic<?>> p_209297_0_, int p_209297_1_, String p_209297_2_) private static void
addBeds
(Map<String, com.mojang.serialization.Dynamic<?>> p_209307_0_, int p_209307_1_, String p_209307_2_) private com.mojang.serialization.Dynamic<?>
fix
(com.mojang.serialization.Dynamic<?> p_209712_1_) static String
getName
(com.mojang.serialization.Dynamic<?> p_209726_0_) static String
getProperty
(com.mojang.serialization.Dynamic<?> p_209719_0_, String p_209719_1_) static int
getSideMask
(boolean p_210957_0_, boolean p_210957_1_, boolean p_210957_2_, boolean p_210957_3_) static int
idFor
(IntIdentityHashBiMap<com.mojang.serialization.Dynamic<?>> p_209724_0_, com.mojang.serialization.Dynamic<?> p_209724_1_) com.mojang.datafixers.TypeRewriteRule
makeRule()
private static void
mapDoor
(Map<String, com.mojang.serialization.Dynamic<?>> p_209301_0_, String p_209301_1_, int p_209301_2_) private static void
mapSkull
(Map<String, com.mojang.serialization.Dynamic<?>> p_209300_0_, int p_209300_1_, String p_209300_2_, String p_209300_3_) Methods inherited from class com.mojang.datafixers.DataFix
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
VIRTUAL
-
FIX
-
PUMPKIN
private static final com.mojang.serialization.Dynamic<?> PUMPKIN -
SNOWY_PODZOL
private static final com.mojang.serialization.Dynamic<?> SNOWY_PODZOL -
SNOWY_GRASS
private static final com.mojang.serialization.Dynamic<?> SNOWY_GRASS -
SNOWY_MYCELIUM
private static final com.mojang.serialization.Dynamic<?> SNOWY_MYCELIUM -
UPPER_SUNFLOWER
private static final com.mojang.serialization.Dynamic<?> UPPER_SUNFLOWER -
UPPER_LILAC
private static final com.mojang.serialization.Dynamic<?> UPPER_LILAC -
UPPER_TALL_GRASS
private static final com.mojang.serialization.Dynamic<?> UPPER_TALL_GRASS -
UPPER_LARGE_FERN
private static final com.mojang.serialization.Dynamic<?> UPPER_LARGE_FERN -
UPPER_ROSE_BUSH
private static final com.mojang.serialization.Dynamic<?> UPPER_ROSE_BUSH -
UPPER_PEONY
private static final com.mojang.serialization.Dynamic<?> UPPER_PEONY -
FLOWER_POT_MAP
-
SKULL_MAP
-
DOOR_MAP
-
NOTE_BLOCK_MAP
-
DYE_COLOR_MAP
-
BED_BLOCK_MAP
-
BANNER_BLOCK_MAP
-
AIR
private static final com.mojang.serialization.Dynamic<?> AIR
-
-
Constructor Details
-
ChunkPaletteFormat
public ChunkPaletteFormat(com.mojang.datafixers.schemas.Schema p_i49676_1_, boolean p_i49676_2_)
-
-
Method Details
-
mapSkull
-
mapDoor
-
addBeds
-
addBanners
-
getName
-
getProperty
-
idFor
public static int idFor(IntIdentityHashBiMap<com.mojang.serialization.Dynamic<?>> p_209724_0_, com.mojang.serialization.Dynamic<?> p_209724_1_) -
fix
private com.mojang.serialization.Dynamic<?> fix(com.mojang.serialization.Dynamic<?> p_209712_1_) -
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
getSideMask
public static int getSideMask(boolean p_210957_0_, boolean p_210957_1_, boolean p_210957_2_, boolean p_210957_3_)
-