public class ChunkPalettedStorageFix
extends com.mojang.datafixers.DataFix
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ChunkPalettedStorageFix.ChunkNibbleArray |
static class |
ChunkPalettedStorageFix.Facing |
(package private) static class |
ChunkPalettedStorageFix.Level |
(package private) static class |
ChunkPalettedStorageFix.Section |
Modifier and Type | Field and Description |
---|---|
private static com.mojang.serialization.Dynamic<?> |
AIR |
private static Map<String,com.mojang.serialization.Dynamic<?>> |
BANNER |
private static Map<String,com.mojang.serialization.Dynamic<?>> |
BED |
private static BitSet |
BLOCKS_NEEDING_IN_PLACE_UPDATE |
private static BitSet |
BLOCKS_NEEDING_SIDE_UPDATE |
private static it.unimi.dsi.fastutil.ints.Int2ObjectMap<String> |
COLORS |
private static Map<String,com.mojang.serialization.Dynamic<?>> |
DOOR |
private static com.mojang.serialization.Dynamic<?> |
FERN_UPPER |
private static Map<String,com.mojang.serialization.Dynamic<?>> |
FLOWER_POT |
private static com.mojang.serialization.Dynamic<?> |
GRASS_UPPER |
private static com.mojang.serialization.Dynamic<?> |
LILAC_UPPER |
private static Logger |
LOGGER |
private static Map<String,com.mojang.serialization.Dynamic<?>> |
NOTE_BLOCK |
private static com.mojang.serialization.Dynamic<?> |
PEONY_UPPER |
private static com.mojang.serialization.Dynamic<?> |
PODZOL |
private static com.mojang.serialization.Dynamic<?> |
PUMPKIN |
private static com.mojang.serialization.Dynamic<?> |
ROSE_UPPER |
private static Map<String,com.mojang.serialization.Dynamic<?>> |
SKULL |
private static com.mojang.serialization.Dynamic<?> |
SNOWY_GRASS |
private static com.mojang.serialization.Dynamic<?> |
SNOWY_MYCELIUM |
private static com.mojang.serialization.Dynamic<?> |
SUNFLOWER_UPPER |
Constructor and Description |
---|
ChunkPalettedStorageFix(com.mojang.datafixers.schemas.Schema outputSchema,
boolean changesType) |
Modifier and Type | Method and Description |
---|---|
static int |
addTo(Int2ObjectBiMap<com.mojang.serialization.Dynamic<?>> int2ObjectBiMap,
com.mojang.serialization.Dynamic<?> dynamic) |
private static void |
buildBanner(Map<String,com.mojang.serialization.Dynamic<?>> out,
int int2,
String string) |
private static void |
buildBed(Map<String,com.mojang.serialization.Dynamic<?>> out,
int int2,
String string) |
private static void |
buildDoor(Map<String,com.mojang.serialization.Dynamic<?>> out,
String name,
int int2) |
private static void |
buildSkull(Map<String,com.mojang.serialization.Dynamic<?>> out,
int int2,
String mob,
String block) |
private com.mojang.serialization.Dynamic<?> |
fixChunk(com.mojang.serialization.Dynamic<?> dynamic) |
static String |
getName(com.mojang.serialization.Dynamic<?> dynamic) |
static String |
getProperty(com.mojang.serialization.Dynamic<?> dynamic,
String string) |
static int |
getSideToUpgradeFlag(boolean west,
boolean east,
boolean north,
boolean south) |
com.mojang.datafixers.TypeRewriteRule |
makeRule() |
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
private static final Logger LOGGER
private static final BitSet BLOCKS_NEEDING_SIDE_UPDATE
private static final BitSet BLOCKS_NEEDING_IN_PLACE_UPDATE
private static final com.mojang.serialization.Dynamic<?> PUMPKIN
private static final com.mojang.serialization.Dynamic<?> PODZOL
private static final com.mojang.serialization.Dynamic<?> SNOWY_GRASS
private static final com.mojang.serialization.Dynamic<?> SNOWY_MYCELIUM
private static final com.mojang.serialization.Dynamic<?> SUNFLOWER_UPPER
private static final com.mojang.serialization.Dynamic<?> LILAC_UPPER
private static final com.mojang.serialization.Dynamic<?> GRASS_UPPER
private static final com.mojang.serialization.Dynamic<?> FERN_UPPER
private static final com.mojang.serialization.Dynamic<?> ROSE_UPPER
private static final com.mojang.serialization.Dynamic<?> PEONY_UPPER
private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<String> COLORS
private static final com.mojang.serialization.Dynamic<?> AIR
public ChunkPalettedStorageFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
private static void buildSkull(Map<String,com.mojang.serialization.Dynamic<?>> out, int int2, String mob, String block)
private static void buildDoor(Map<String,com.mojang.serialization.Dynamic<?>> out, String name, int int2)
private static void buildBed(Map<String,com.mojang.serialization.Dynamic<?>> out, int int2, String string)
private static void buildBanner(Map<String,com.mojang.serialization.Dynamic<?>> out, int int2, String string)
public static String getName(com.mojang.serialization.Dynamic<?> dynamic)
public static String getProperty(com.mojang.serialization.Dynamic<?> dynamic, String string)
public static int addTo(Int2ObjectBiMap<com.mojang.serialization.Dynamic<?>> int2ObjectBiMap, com.mojang.serialization.Dynamic<?> dynamic)
private com.mojang.serialization.Dynamic<?> fixChunk(com.mojang.serialization.Dynamic<?> dynamic)
public com.mojang.datafixers.TypeRewriteRule makeRule()
makeRule
in class com.mojang.datafixers.DataFix
public static int getSideToUpgradeFlag(boolean west, boolean east, boolean north, boolean south)