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 akz
intermediary net/minecraft/class_3582
named net/minecraft/datafixer/fix/ChunkPalettedStorageFix
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    private static class 
     
    static enum 
     
    private static final class 
     
    private static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) static final com.mojang.serialization.Dynamic<?>
     
    (package private) static final Map<String,com.mojang.serialization.Dynamic<?>>
     
    (package private) static final Map<String,com.mojang.serialization.Dynamic<?>>
     
    (package private) static final BitSet
     
    (package private) static final BitSet
     
    private static final Int2ObjectMap<String>
     
    (package private) static final Map<String,com.mojang.serialization.Dynamic<?>>
     
    (package private) static final com.mojang.serialization.Dynamic<?>
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
    (package private) static final Map<String,com.mojang.serialization.Dynamic<?>>
     
    (package private) static final com.mojang.serialization.Dynamic<?>
     
    (package private) static final com.mojang.serialization.Dynamic<?>
     
    (package private) static final Logger
     
    (package private) static final Map<String,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 Map<String,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<?>
     
  • 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 color)
     
    private static void
    buildBed(Map<String,com.mojang.serialization.Dynamic<?>> out, int int2, String color)
     
    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
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • field_29871

      private static final int field_29871
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lakz;a:I
      intermediary field_29871 Lnet/minecraft/class_3582;field_29871:I
      named field_29871 Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;field_29871:I
    • field_29872

      private static final int field_29872
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lakz;b:I
      intermediary field_29872 Lnet/minecraft/class_3582;field_29872:I
      named field_29872 Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;field_29872:I
    • field_29873

      private static final int field_29873
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lakz;c:I
      intermediary field_29873 Lnet/minecraft/class_3582;field_29873:I
      named field_29873 Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;field_29873:I
    • field_29874

      private static final int field_29874
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lakz;d:I
      intermediary field_29874 Lnet/minecraft/class_3582;field_29874:I
      named field_29874 Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;field_29874:I
    • field_29875

      private static final int field_29875
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lakz;e:I
      intermediary field_29875 Lnet/minecraft/class_3582;field_29875:I
      named field_29875 Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;field_29875:I
    • field_29876

      private static final int field_29876
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lakz;f:I
      intermediary field_29876 Lnet/minecraft/class_3582;field_29876:I
      named field_29876 Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;field_29876:I
    • field_29877

      private static final int field_29877
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Lakz;g:I
      intermediary field_29877 Lnet/minecraft/class_3582;field_29877:I
      named field_29877 Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;field_29877:I
    • field_29878

      private static final int field_29878
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official h Lakz;h:I
      intermediary field_29878 Lnet/minecraft/class_3582;field_29878:I
      named field_29878 Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;field_29878:I
    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official i Lakz;i: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

      static final BitSet BLOCKS_NEEDING_SIDE_UPDATE
      Mappings:
      Namespace Name Mixin selector
      official j Lakz;j: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

      static final BitSet BLOCKS_NEEDING_IN_PLACE_UPDATE
      Mappings:
      Namespace Name Mixin selector
      official k Lakz;k: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

      static final com.mojang.serialization.Dynamic<?> PUMPKIN
      Mappings:
      Namespace Name Mixin selector
      official l Lakz;l: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

      static final com.mojang.serialization.Dynamic<?> PODZOL
      Mappings:
      Namespace Name Mixin selector
      official m Lakz;m: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

      static final com.mojang.serialization.Dynamic<?> SNOWY_GRASS
      Mappings:
      Namespace Name Mixin selector
      official n Lakz;n: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

      static final com.mojang.serialization.Dynamic<?> SNOWY_MYCELIUM
      Mappings:
      Namespace Name Mixin selector
      official o Lakz;o: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

      static final com.mojang.serialization.Dynamic<?> SUNFLOWER_UPPER
      Mappings:
      Namespace Name Mixin selector
      official p Lakz;p: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

      static final com.mojang.serialization.Dynamic<?> LILAC_UPPER
      Mappings:
      Namespace Name Mixin selector
      official q Lakz;q: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

      static final com.mojang.serialization.Dynamic<?> GRASS_UPPER
      Mappings:
      Namespace Name Mixin selector
      official r Lakz;r: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

      static final com.mojang.serialization.Dynamic<?> FERN_UPPER
      Mappings:
      Namespace Name Mixin selector
      official s Lakz;s: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

      static final com.mojang.serialization.Dynamic<?> ROSE_UPPER
      Mappings:
      Namespace Name Mixin selector
      official t Lakz;t: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

      static final com.mojang.serialization.Dynamic<?> PEONY_UPPER
      Mappings:
      Namespace Name Mixin selector
      official u Lakz;u: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

      static final Map<String,com.mojang.serialization.Dynamic<?>> FLOWER_POT
      Mappings:
      Namespace Name Mixin selector
      official v Lakz;v: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

      static final Map<String,com.mojang.serialization.Dynamic<?>> SKULL
      Mappings:
      Namespace Name Mixin selector
      official w Lakz;w: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

      static final Map<String,com.mojang.serialization.Dynamic<?>> DOOR
      Mappings:
      Namespace Name Mixin selector
      official x Lakz;x: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

      static final Map<String,com.mojang.serialization.Dynamic<?>> NOTE_BLOCK
      Mappings:
      Namespace Name Mixin selector
      official y Lakz;y: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

      private static final Int2ObjectMap<String> COLORS
      Mappings:
      Namespace Name Mixin selector
      official z Lakz;z: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

      static final Map<String,com.mojang.serialization.Dynamic<?>> BED
      Mappings:
      Namespace Name Mixin selector
      official A Lakz;A: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;
    • AIR

      static final com.mojang.serialization.Dynamic<?> AIR
      Mappings:
      Namespace Name Mixin selector
      official C Lakz;C: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;
    • field_29870

      private static final int field_29870
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official D Lakz;D:I
      intermediary field_29870 Lnet/minecraft/class_3582;field_29870:I
      named field_29870 Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;field_29870:I
  • Constructor Details

    • ChunkPalettedStorageFix

      public ChunkPalettedStorageFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lakz;<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 Lakz;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 Lakz;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 color)
      Mappings:
      Namespace Name Mixin selector
      official a Lakz;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 color)
      Mappings:
      Namespace Name Mixin selector
      official b Lakz;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

      public static String getName(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official a Lakz;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

      public static String getProperty(com.mojang.serialization.Dynamic<?> dynamic, String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lakz;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 Lakz;a(Lahz;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 Lakz;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 class com.mojang.datafixers.DataFix
    • getSideToUpgradeFlag

      public static int getSideToUpgradeFlag(boolean west, boolean east, boolean north, boolean south)
      Mappings:
      Namespace Name Mixin selector
      official a Lakz;a(ZZZZ)I
      intermediary method_15615 Lnet/minecraft/class_3582;method_15615(ZZZZ)I
      named getSideToUpgradeFlag Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;getSideToUpgradeFlag(ZZZZ)I