public class ChunkPaletteFormat
extends com.mojang.datafixers.DataFix
Modifier and Type | Class and Description |
---|---|
static class |
ChunkPaletteFormat.Direction |
(package private) static class |
ChunkPaletteFormat.NibbleArray |
(package private) static class |
ChunkPaletteFormat.Section |
(package private) static class |
ChunkPaletteFormat.UpgradeChunk |
Modifier and Type | Field and Description |
---|---|
private static com.mojang.datafixers.Dynamic<?> |
AIR |
private static java.util.Map<java.lang.String,com.mojang.datafixers.Dynamic<?>> |
BANNER_BLOCK_MAP |
private static java.util.Map<java.lang.String,com.mojang.datafixers.Dynamic<?>> |
BED_BLOCK_MAP |
private static java.util.Map<java.lang.String,com.mojang.datafixers.Dynamic<?>> |
DOOR_MAP |
private static it.unimi.dsi.fastutil.ints.Int2ObjectMap<java.lang.String> |
DYE_COLOR_MAP |
private static java.util.BitSet |
FIX |
private static java.util.Map<java.lang.String,com.mojang.datafixers.Dynamic<?>> |
FLOWER_POT_MAP |
private static org.apache.logging.log4j.Logger |
LOGGER |
private static java.util.Map<java.lang.String,com.mojang.datafixers.Dynamic<?>> |
NOTE_BLOCK_MAP |
private static com.mojang.datafixers.Dynamic<?> |
PUMPKIN |
private static java.util.Map<java.lang.String,com.mojang.datafixers.Dynamic<?>> |
SKULL_MAP |
private static com.mojang.datafixers.Dynamic<?> |
SNOWY_GRASS |
private static com.mojang.datafixers.Dynamic<?> |
SNOWY_MYCELIUM |
private static com.mojang.datafixers.Dynamic<?> |
SNOWY_PODZOL |
private static com.mojang.datafixers.Dynamic<?> |
UPPER_LARGE_FERN |
private static com.mojang.datafixers.Dynamic<?> |
UPPER_LILAC |
private static com.mojang.datafixers.Dynamic<?> |
UPPER_PEONY |
private static com.mojang.datafixers.Dynamic<?> |
UPPER_ROSE_BUSH |
private static com.mojang.datafixers.Dynamic<?> |
UPPER_SUNFLOWER |
private static com.mojang.datafixers.Dynamic<?> |
UPPER_TALL_GRASS |
private static java.util.BitSet |
VIRTUAL |
Constructor and Description |
---|
ChunkPaletteFormat(com.mojang.datafixers.schemas.Schema outputSchema,
boolean changesType) |
Modifier and Type | Method and Description |
---|---|
private static void |
addBanners(java.util.Map<java.lang.String,com.mojang.datafixers.Dynamic<?>> p_209297_0_,
int p_209297_1_,
java.lang.String p_209297_2_) |
private static void |
addBeds(java.util.Map<java.lang.String,com.mojang.datafixers.Dynamic<?>> p_209307_0_,
int p_209307_1_,
java.lang.String p_209307_2_) |
private com.mojang.datafixers.Dynamic<?> |
fix(com.mojang.datafixers.Dynamic<?> p_209712_1_) |
static java.lang.String |
getName(com.mojang.datafixers.Dynamic<?> p_209726_0_) |
static java.lang.String |
getProperty(com.mojang.datafixers.Dynamic<?> p_209719_0_,
java.lang.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.datafixers.Dynamic<?>> p_209724_0_,
com.mojang.datafixers.Dynamic<?> p_209724_1_) |
com.mojang.datafixers.TypeRewriteRule |
makeRule() |
private static void |
mapDoor(java.util.Map<java.lang.String,com.mojang.datafixers.Dynamic<?>> p_209301_0_,
java.lang.String p_209301_1_,
int p_209301_2_) |
private static void |
mapSkull(java.util.Map<java.lang.String,com.mojang.datafixers.Dynamic<?>> p_209300_0_,
int p_209300_1_,
java.lang.String p_209300_2_,
java.lang.String p_209300_3_) |
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
private static final org.apache.logging.log4j.Logger LOGGER
private static final java.util.BitSet VIRTUAL
private static final java.util.BitSet FIX
private static final com.mojang.datafixers.Dynamic<?> PUMPKIN
private static final com.mojang.datafixers.Dynamic<?> SNOWY_PODZOL
private static final com.mojang.datafixers.Dynamic<?> SNOWY_GRASS
private static final com.mojang.datafixers.Dynamic<?> SNOWY_MYCELIUM
private static final com.mojang.datafixers.Dynamic<?> UPPER_SUNFLOWER
private static final com.mojang.datafixers.Dynamic<?> UPPER_LILAC
private static final com.mojang.datafixers.Dynamic<?> UPPER_TALL_GRASS
private static final com.mojang.datafixers.Dynamic<?> UPPER_LARGE_FERN
private static final com.mojang.datafixers.Dynamic<?> UPPER_ROSE_BUSH
private static final com.mojang.datafixers.Dynamic<?> UPPER_PEONY
private static final java.util.Map<java.lang.String,com.mojang.datafixers.Dynamic<?>> FLOWER_POT_MAP
private static final java.util.Map<java.lang.String,com.mojang.datafixers.Dynamic<?>> SKULL_MAP
private static final java.util.Map<java.lang.String,com.mojang.datafixers.Dynamic<?>> DOOR_MAP
private static final java.util.Map<java.lang.String,com.mojang.datafixers.Dynamic<?>> NOTE_BLOCK_MAP
private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<java.lang.String> DYE_COLOR_MAP
private static final java.util.Map<java.lang.String,com.mojang.datafixers.Dynamic<?>> BED_BLOCK_MAP
private static final java.util.Map<java.lang.String,com.mojang.datafixers.Dynamic<?>> BANNER_BLOCK_MAP
private static final com.mojang.datafixers.Dynamic<?> AIR
public ChunkPaletteFormat(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
private static void mapSkull(java.util.Map<java.lang.String,com.mojang.datafixers.Dynamic<?>> p_209300_0_, int p_209300_1_, java.lang.String p_209300_2_, java.lang.String p_209300_3_)
private static void mapDoor(java.util.Map<java.lang.String,com.mojang.datafixers.Dynamic<?>> p_209301_0_, java.lang.String p_209301_1_, int p_209301_2_)
private static void addBeds(java.util.Map<java.lang.String,com.mojang.datafixers.Dynamic<?>> p_209307_0_, int p_209307_1_, java.lang.String p_209307_2_)
private static void addBanners(java.util.Map<java.lang.String,com.mojang.datafixers.Dynamic<?>> p_209297_0_, int p_209297_1_, java.lang.String p_209297_2_)
public static java.lang.String getName(com.mojang.datafixers.Dynamic<?> p_209726_0_)
public static java.lang.String getProperty(com.mojang.datafixers.Dynamic<?> p_209719_0_, java.lang.String p_209719_1_)
public static int idFor(IntIdentityHashBiMap<com.mojang.datafixers.Dynamic<?>> p_209724_0_, com.mojang.datafixers.Dynamic<?> p_209724_1_)
private com.mojang.datafixers.Dynamic<?> fix(com.mojang.datafixers.Dynamic<?> p_209712_1_)
public com.mojang.datafixers.TypeRewriteRule makeRule()
makeRule
in class com.mojang.datafixers.DataFix
public static int getSideMask(boolean p_210957_0_, boolean p_210957_1_, boolean p_210957_2_, boolean p_210957_3_)