Package net.minecraft.datafixer.fix
Class ChunkPalettedStorageFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ChunkPalettedStorageFix
public class ChunkPalettedStorageFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name official ahx
intermediary net/minecraft/class_3582
named net/minecraft/datafixer/fix/ChunkPalettedStorageFix
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
ChunkPalettedStorageFix.ChunkNibbleArray
static class
ChunkPalettedStorageFix.Facing
(package private) static class
ChunkPalettedStorageFix.Level
(package private) static class
ChunkPalettedStorageFix.Section
-
Field Summary
Fields Modifier and Type Field 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 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 Summary
Constructors Constructor Description ChunkPalettedStorageFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
-
Method Summary
Modifier and Type Method 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()
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
- Mappings:
Namespace Name Mixin selector official a
Lahx;a:Lorg/apache/logging/log4j/Logger;
intermediary field_15844
Lnet/minecraft/class_3582;field_15844:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;LOGGER:Lorg/apache/logging/log4j/Logger;
-
BLOCKS_NEEDING_SIDE_UPDATE
- Mappings:
Namespace Name Mixin selector official b
Lahx;b:Ljava/util/BitSet;
intermediary field_15842
Lnet/minecraft/class_3582;field_15842:Ljava/util/BitSet;
named BLOCKS_NEEDING_SIDE_UPDATE
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;BLOCKS_NEEDING_SIDE_UPDATE:Ljava/util/BitSet;
-
BLOCKS_NEEDING_IN_PLACE_UPDATE
- Mappings:
Namespace Name Mixin selector official c
Lahx;c:Ljava/util/BitSet;
intermediary field_15854
Lnet/minecraft/class_3582;field_15854:Ljava/util/BitSet;
named BLOCKS_NEEDING_IN_PLACE_UPDATE
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;BLOCKS_NEEDING_IN_PLACE_UPDATE:Ljava/util/BitSet;
-
PUMPKIN
private static final com.mojang.serialization.Dynamic<?> PUMPKIN- Mappings:
Namespace Name Mixin selector official d
Lahx;d:Lcom/mojang/serialization/Dynamic;
intermediary field_15840
Lnet/minecraft/class_3582;field_15840:Lcom/mojang/serialization/Dynamic;
named PUMPKIN
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;PUMPKIN:Lcom/mojang/serialization/Dynamic;
-
PODZOL
private static final com.mojang.serialization.Dynamic<?> PODZOL- Mappings:
Namespace Name Mixin selector official e
Lahx;e:Lcom/mojang/serialization/Dynamic;
intermediary field_15852
Lnet/minecraft/class_3582;field_15852:Lcom/mojang/serialization/Dynamic;
named PODZOL
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;PODZOL:Lcom/mojang/serialization/Dynamic;
-
SNOWY_GRASS
private static final com.mojang.serialization.Dynamic<?> SNOWY_GRASS- Mappings:
Namespace Name Mixin selector official f
Lahx;f:Lcom/mojang/serialization/Dynamic;
intermediary field_15838
Lnet/minecraft/class_3582;field_15838:Lcom/mojang/serialization/Dynamic;
named SNOWY_GRASS
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;SNOWY_GRASS:Lcom/mojang/serialization/Dynamic;
-
SNOWY_MYCELIUM
private static final com.mojang.serialization.Dynamic<?> SNOWY_MYCELIUM- Mappings:
Namespace Name Mixin selector official g
Lahx;g:Lcom/mojang/serialization/Dynamic;
intermediary field_15850
Lnet/minecraft/class_3582;field_15850:Lcom/mojang/serialization/Dynamic;
named SNOWY_MYCELIUM
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;SNOWY_MYCELIUM:Lcom/mojang/serialization/Dynamic;
-
SUNFLOWER_UPPER
private static final com.mojang.serialization.Dynamic<?> SUNFLOWER_UPPER- Mappings:
Namespace Name Mixin selector official h
Lahx;h:Lcom/mojang/serialization/Dynamic;
intermediary field_15839
Lnet/minecraft/class_3582;field_15839:Lcom/mojang/serialization/Dynamic;
named SUNFLOWER_UPPER
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;SUNFLOWER_UPPER:Lcom/mojang/serialization/Dynamic;
-
LILAC_UPPER
private static final com.mojang.serialization.Dynamic<?> LILAC_UPPER- Mappings:
Namespace Name Mixin selector official i
Lahx;i:Lcom/mojang/serialization/Dynamic;
intermediary field_15848
Lnet/minecraft/class_3582;field_15848:Lcom/mojang/serialization/Dynamic;
named LILAC_UPPER
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;LILAC_UPPER:Lcom/mojang/serialization/Dynamic;
-
GRASS_UPPER
private static final com.mojang.serialization.Dynamic<?> GRASS_UPPER- Mappings:
Namespace Name Mixin selector official j
Lahx;j:Lcom/mojang/serialization/Dynamic;
intermediary field_15834
Lnet/minecraft/class_3582;field_15834:Lcom/mojang/serialization/Dynamic;
named GRASS_UPPER
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;GRASS_UPPER:Lcom/mojang/serialization/Dynamic;
-
FERN_UPPER
private static final com.mojang.serialization.Dynamic<?> FERN_UPPER- Mappings:
Namespace Name Mixin selector official k
Lahx;k:Lcom/mojang/serialization/Dynamic;
intermediary field_15845
Lnet/minecraft/class_3582;field_15845:Lcom/mojang/serialization/Dynamic;
named FERN_UPPER
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;FERN_UPPER:Lcom/mojang/serialization/Dynamic;
-
ROSE_UPPER
private static final com.mojang.serialization.Dynamic<?> ROSE_UPPER- Mappings:
Namespace Name Mixin selector official l
Lahx;l:Lcom/mojang/serialization/Dynamic;
intermediary field_15835
Lnet/minecraft/class_3582;field_15835:Lcom/mojang/serialization/Dynamic;
named ROSE_UPPER
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;ROSE_UPPER:Lcom/mojang/serialization/Dynamic;
-
PEONY_UPPER
private static final com.mojang.serialization.Dynamic<?> PEONY_UPPER- Mappings:
Namespace Name Mixin selector official m
Lahx;m:Lcom/mojang/serialization/Dynamic;
intermediary field_15847
Lnet/minecraft/class_3582;field_15847:Lcom/mojang/serialization/Dynamic;
named PEONY_UPPER
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;PEONY_UPPER:Lcom/mojang/serialization/Dynamic;
-
FLOWER_POT
- Mappings:
Namespace Name Mixin selector official n
Lahx;n:Ljava/util/Map;
intermediary field_15841
Lnet/minecraft/class_3582;field_15841:Ljava/util/Map;
named FLOWER_POT
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;FLOWER_POT:Ljava/util/Map;
-
SKULL
- Mappings:
Namespace Name Mixin selector official o
Lahx;o:Ljava/util/Map;
intermediary field_15853
Lnet/minecraft/class_3582;field_15853:Ljava/util/Map;
named SKULL
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;SKULL:Ljava/util/Map;
-
DOOR
- Mappings:
Namespace Name Mixin selector official p
Lahx;p:Ljava/util/Map;
intermediary field_15836
Lnet/minecraft/class_3582;field_15836:Ljava/util/Map;
named DOOR
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;DOOR:Ljava/util/Map;
-
NOTE_BLOCK
- Mappings:
Namespace Name Mixin selector official q
Lahx;q:Ljava/util/Map;
intermediary field_15846
Lnet/minecraft/class_3582;field_15846:Ljava/util/Map;
named NOTE_BLOCK
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;NOTE_BLOCK:Ljava/util/Map;
-
COLORS
- Mappings:
Namespace Name Mixin selector official r
Lahx;r:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
intermediary field_15837
Lnet/minecraft/class_3582;field_15837:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
named COLORS
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;COLORS:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
BED
- Mappings:
Namespace Name Mixin selector official s
Lahx;s:Ljava/util/Map;
intermediary field_15849
Lnet/minecraft/class_3582;field_15849:Ljava/util/Map;
named BED
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;BED:Ljava/util/Map;
-
BANNER
- Mappings:
Namespace Name Mixin selector official t
Lahx;t:Ljava/util/Map;
intermediary field_15851
Lnet/minecraft/class_3582;field_15851:Ljava/util/Map;
named BANNER
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;BANNER:Ljava/util/Map;
-
AIR
private static final com.mojang.serialization.Dynamic<?> AIR- Mappings:
Namespace Name Mixin selector official u
Lahx;u:Lcom/mojang/serialization/Dynamic;
intermediary field_15843
Lnet/minecraft/class_3582;field_15843:Lcom/mojang/serialization/Dynamic;
named AIR
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;AIR:Lcom/mojang/serialization/Dynamic;
-
-
Constructor Details
-
ChunkPalettedStorageFix
public ChunkPalettedStorageFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)- Mappings:
Namespace Name Mixin selector official <init>
Lahx;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
intermediary <init>
Lnet/minecraft/class_3582;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
named <init>
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
-
-
Method Details
-
buildSkull
private static void buildSkull(Map<String,com.mojang.serialization.Dynamic<?>> out, int int2, String mob, String block)- Mappings:
Namespace Name Mixin selector official a
Lahx;a(Ljava/util/Map;ILjava/lang/String;Ljava/lang/String;)V
intermediary method_15610
Lnet/minecraft/class_3582;method_15610(Ljava/util/Map;ILjava/lang/String;Ljava/lang/String;)V
named buildSkull
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;buildSkull(Ljava/util/Map;ILjava/lang/String;Ljava/lang/String;)V
-
buildDoor
private static void buildDoor(Map<String,com.mojang.serialization.Dynamic<?>> out, String name, int int2)- Mappings:
Namespace Name Mixin selector official a
Lahx;a(Ljava/util/Map;Ljava/lang/String;I)V
intermediary method_15611
Lnet/minecraft/class_3582;method_15611(Ljava/util/Map;Ljava/lang/String;I)V
named buildDoor
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;buildDoor(Ljava/util/Map;Ljava/lang/String;I)V
-
buildBed
private static void buildBed(Map<String,com.mojang.serialization.Dynamic<?>> out, int int2, String string)- Mappings:
Namespace Name Mixin selector official a
Lahx;a(Ljava/util/Map;ILjava/lang/String;)V
intermediary method_15636
Lnet/minecraft/class_3582;method_15636(Ljava/util/Map;ILjava/lang/String;)V
named buildBed
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;buildBed(Ljava/util/Map;ILjava/lang/String;)V
-
buildBanner
private static void buildBanner(Map<String,com.mojang.serialization.Dynamic<?>> out, int int2, String string)- Mappings:
Namespace Name Mixin selector official b
Lahx;b(Ljava/util/Map;ILjava/lang/String;)V
intermediary method_15605
Lnet/minecraft/class_3582;method_15605(Ljava/util/Map;ILjava/lang/String;)V
named buildBanner
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;buildBanner(Ljava/util/Map;ILjava/lang/String;)V
-
getName
- Mappings:
Namespace Name Mixin selector official a
Lahx;a(Lcom/mojang/serialization/Dynamic;)Ljava/lang/String;
intermediary method_15637
Lnet/minecraft/class_3582;method_15637(Lcom/mojang/serialization/Dynamic;)Ljava/lang/String;
named getName
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;getName(Lcom/mojang/serialization/Dynamic;)Ljava/lang/String;
-
getProperty
- Mappings:
Namespace Name Mixin selector official a
Lahx;a(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Ljava/lang/String;
intermediary method_15638
Lnet/minecraft/class_3582;method_15638(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Ljava/lang/String;
named getProperty
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;getProperty(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Ljava/lang/String;
-
addTo
public static int addTo(Int2ObjectBiMap<com.mojang.serialization.Dynamic<?>> int2ObjectBiMap, com.mojang.serialization.Dynamic<?> dynamic)- Mappings:
Namespace Name Mixin selector official a
Lahx;a(Lafk;Lcom/mojang/serialization/Dynamic;)I
intermediary method_15616
Lnet/minecraft/class_3582;method_15616(Lnet/minecraft/class_3513;Lcom/mojang/serialization/Dynamic;)I
named addTo
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;addTo(Lnet/minecraft/util/collection/Int2ObjectBiMap;Lcom/mojang/serialization/Dynamic;)I
-
fixChunk
private com.mojang.serialization.Dynamic<?> fixChunk(com.mojang.serialization.Dynamic<?> dynamic)- Mappings:
Namespace Name Mixin selector official b
Lahx;b(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
intermediary method_15633
Lnet/minecraft/class_3582;method_15633(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
named fixChunk
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;fixChunk(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
- Mappings:
Namespace Name Mixin selector official makeRule
Lahx;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
intermediary makeRule
Lnet/minecraft/class_3582;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
named makeRule
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
-
getSideToUpgradeFlag
public static int getSideToUpgradeFlag(boolean west, boolean east, boolean north, boolean south)- Mappings:
Namespace Name Mixin selector official a
Lahx;a(ZZZZ)I
intermediary method_15615
Lnet/minecraft/class_3582;method_15615(ZZZZ)I
named getSideToUpgradeFlag
Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;getSideToUpgradeFlag(ZZZZ)I
-