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 class
(package private) static class
(package private) static class
-
Field Summary
Modifier and TypeFieldDescription(package private) static com.mojang.serialization.Dynamic<?>
private static it.unimi.dsi.fastutil.ints.Int2ObjectMap<String>
private static int
(package private) static BitSet
(package private) static org.apache.logging.log4j.Logger
private static int
private static int
private static int
(package private) static com.mojang.serialization.Dynamic<?>
private static int
(package private) static com.mojang.serialization.Dynamic<?>
(package private) static com.mojang.serialization.Dynamic<?>
(package private) static com.mojang.serialization.Dynamic<?>
private static int
private static int
private static int
(package private) static com.mojang.serialization.Dynamic<?>
(package private) static com.mojang.serialization.Dynamic<?>
(package private) static com.mojang.serialization.Dynamic<?>
(package private) static com.mojang.serialization.Dynamic<?>
(package private) static com.mojang.serialization.Dynamic<?>
(package private) static com.mojang.serialization.Dynamic<?>
(package private) static BitSet
private static 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:
- Constant Field Values
-
WEST_MASK
private static final int WEST_MASK- See Also:
- Constant Field Values
-
SOUTH_WEST_MASK
private static final int SOUTH_WEST_MASK- See Also:
- Constant Field Values
-
SOUTH_MASK
private static final int SOUTH_MASK- See Also:
- Constant Field Values
-
SOUTH_EAST_MASK
private static final int SOUTH_EAST_MASK- See Also:
- Constant Field Values
-
EAST_MASK
private static final int EAST_MASK- See Also:
- Constant Field Values
-
NORTH_EAST_MASK
private static final int NORTH_EAST_MASK- See Also:
- Constant Field Values
-
NORTH_MASK
private static final int NORTH_MASK- See Also:
- Constant Field Values
-
LOGGER
static final org.apache.logging.log4j.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:
- Constant Field Values
-
-
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_)
-