Package net.minecraft.util.datafix.fixes
Class ChunkPalettedStorageFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.ChunkPalettedStorageFix
public class ChunkPalettedStorageFix
extends com.mojang.datafixers.DataFix
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
static enum
(package private) static class
(package private) static final class
-
Field Summary
Modifier and TypeFieldDescription(package private) static final com.mojang.serialization.Dynamic
<?> private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap
<String> private static final int
(package private) static final BitSet
(package private) static final org.slf4j.Logger
private static final int
private static final int
private static final int
(package private) static final com.mojang.serialization.Dynamic
<?> private static final int
(package private) static final com.mojang.serialization.Dynamic
<?> (package private) static final com.mojang.serialization.Dynamic
<?> (package private) static final com.mojang.serialization.Dynamic
<?> private static final int
private static final int
private static final int
(package private) static final com.mojang.serialization.Dynamic
<?> (package private) static final com.mojang.serialization.Dynamic
<?> (package private) static final com.mojang.serialization.Dynamic
<?> (package private) static final com.mojang.serialization.Dynamic
<?> (package private) static final com.mojang.serialization.Dynamic
<?> (package private) static final com.mojang.serialization.Dynamic
<?> (package private) static final BitSet
private static final int
-
Constructor Summary
ConstructorDescriptionChunkPalettedStorageFix
(com.mojang.datafixers.schemas.Schema p_15058_, boolean p_15059_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
addBanners
(Map<String, com.mojang.serialization.Dynamic<?>> p_15097_, int p_15098_, String p_15099_) private static void
private com.mojang.serialization.Dynamic
<?> fix
(com.mojang.serialization.Dynamic<?> p_15093_) static String
getName
(com.mojang.serialization.Dynamic<?> p_15065_) static String
getProperty
(com.mojang.serialization.Dynamic<?> p_15067_, String p_15068_) static int
getSideMask
(boolean p_15087_, boolean p_15088_, boolean p_15089_, boolean p_15090_) static int
idFor
(CrudeIncrementalIntIdentityHashBiMap<com.mojang.serialization.Dynamic<?>> p_15062_, com.mojang.serialization.Dynamic<?> p_15063_) com.mojang.datafixers.TypeRewriteRule
makeRule()
private static void
private static void
mapSkull
(Map<String, com.mojang.serialization.Dynamic<?>> p_15078_, int p_15079_, String p_15080_, String p_15081_) 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
-
NORTH_WEST_MASK
private static final int NORTH_WEST_MASK- See Also:
-
WEST_MASK
private static final int WEST_MASK- See Also:
-
SOUTH_WEST_MASK
private static final int SOUTH_WEST_MASK- See Also:
-
SOUTH_MASK
private static final int SOUTH_MASK- See Also:
-
SOUTH_EAST_MASK
private static final int SOUTH_EAST_MASK- See Also:
-
EAST_MASK
private static final int EAST_MASK- See Also:
-
NORTH_EAST_MASK
private static final int NORTH_EAST_MASK- See Also:
-
NORTH_MASK
private static final int NORTH_MASK- See Also:
-
LOGGER
static final org.slf4j.Logger LOGGER -
VIRTUAL
-
FIX
-
PUMPKIN
static final com.mojang.serialization.Dynamic<?> PUMPKIN -
SNOWY_PODZOL
static final com.mojang.serialization.Dynamic<?> SNOWY_PODZOL -
SNOWY_GRASS
static final com.mojang.serialization.Dynamic<?> SNOWY_GRASS -
SNOWY_MYCELIUM
static final com.mojang.serialization.Dynamic<?> SNOWY_MYCELIUM -
UPPER_SUNFLOWER
static final com.mojang.serialization.Dynamic<?> UPPER_SUNFLOWER -
UPPER_LILAC
static final com.mojang.serialization.Dynamic<?> UPPER_LILAC -
UPPER_TALL_GRASS
static final com.mojang.serialization.Dynamic<?> UPPER_TALL_GRASS -
UPPER_LARGE_FERN
static final com.mojang.serialization.Dynamic<?> UPPER_LARGE_FERN -
UPPER_ROSE_BUSH
static final com.mojang.serialization.Dynamic<?> UPPER_ROSE_BUSH -
UPPER_PEONY
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
static final com.mojang.serialization.Dynamic<?> AIR -
SIZE
private static final int SIZE- See Also:
-
-
Constructor Details
-
ChunkPalettedStorageFix
public ChunkPalettedStorageFix(com.mojang.datafixers.schemas.Schema p_15058_, boolean p_15059_)
-
-
Method Details
-
mapSkull
-
mapDoor
-
addBeds
-
addBanners
-
getName
-
getProperty
-
idFor
public static int idFor(CrudeIncrementalIntIdentityHashBiMap<com.mojang.serialization.Dynamic<?>> p_15062_, com.mojang.serialization.Dynamic<?> p_15063_) -
fix
private com.mojang.serialization.Dynamic<?> fix(com.mojang.serialization.Dynamic<?> p_15093_) -
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
getSideMask
public static int getSideMask(boolean p_15087_, boolean p_15088_, boolean p_15089_, boolean p_15090_)
-