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
named net/minecraft/datafixer/fix/ChunkPalettedStorageFix
intermediary net/minecraft/class_3582
official bcc
  • 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 schema, boolean bool)
     
  • 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 colorId, String color)
     
    private static void
    buildBed(Map<String,com.mojang.serialization.Dynamic<?>> out, int colorId, String color)
     
    private static void
    buildDoor(Map<String,com.mojang.serialization.Dynamic<?>> out, String name, int firstStateId)
     
    private static void
    buildSkull(Map<String,com.mojang.serialization.Dynamic<?>> out, int variant, 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
      named field_29871 Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;field_29871:I
      intermediary field_29871 Lnet/minecraft/class_3582;field_29871:I
      official a Lbcc;a:I
    • field_29872

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

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

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

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

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

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

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

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;LOGGER:Lorg/slf4j/Logger;
      intermediary field_15844 Lnet/minecraft/class_3582;field_15844:Lorg/slf4j/Logger;
      official i Lbcc;i:Lorg/slf4j/Logger;
    • BLOCKS_NEEDING_SIDE_UPDATE

      static final BitSet BLOCKS_NEEDING_SIDE_UPDATE
      Mappings:
      Namespace Name Mixin selector
      named BLOCKS_NEEDING_SIDE_UPDATE Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;BLOCKS_NEEDING_SIDE_UPDATE:Ljava/util/BitSet;
      intermediary field_15842 Lnet/minecraft/class_3582;field_15842:Ljava/util/BitSet;
      official j Lbcc;j:Ljava/util/BitSet;
    • BLOCKS_NEEDING_IN_PLACE_UPDATE

      static final BitSet BLOCKS_NEEDING_IN_PLACE_UPDATE
      Mappings:
      Namespace Name Mixin selector
      named BLOCKS_NEEDING_IN_PLACE_UPDATE Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;BLOCKS_NEEDING_IN_PLACE_UPDATE:Ljava/util/BitSet;
      intermediary field_15854 Lnet/minecraft/class_3582;field_15854:Ljava/util/BitSet;
      official k Lbcc;k:Ljava/util/BitSet;
    • PUMPKIN

      static final com.mojang.serialization.Dynamic<?> PUMPKIN
      Mappings:
      Namespace Name Mixin selector
      named PUMPKIN Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;PUMPKIN:Lcom/mojang/serialization/Dynamic;
      intermediary field_15840 Lnet/minecraft/class_3582;field_15840:Lcom/mojang/serialization/Dynamic;
      official l Lbcc;l:Lcom/mojang/serialization/Dynamic;
    • PODZOL

      static final com.mojang.serialization.Dynamic<?> PODZOL
      Mappings:
      Namespace Name Mixin selector
      named PODZOL Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;PODZOL:Lcom/mojang/serialization/Dynamic;
      intermediary field_15852 Lnet/minecraft/class_3582;field_15852:Lcom/mojang/serialization/Dynamic;
      official m Lbcc;m:Lcom/mojang/serialization/Dynamic;
    • SNOWY_GRASS

      static final com.mojang.serialization.Dynamic<?> SNOWY_GRASS
      Mappings:
      Namespace Name Mixin selector
      named SNOWY_GRASS Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;SNOWY_GRASS:Lcom/mojang/serialization/Dynamic;
      intermediary field_15838 Lnet/minecraft/class_3582;field_15838:Lcom/mojang/serialization/Dynamic;
      official n Lbcc;n:Lcom/mojang/serialization/Dynamic;
    • SNOWY_MYCELIUM

      static final com.mojang.serialization.Dynamic<?> SNOWY_MYCELIUM
      Mappings:
      Namespace Name Mixin selector
      named SNOWY_MYCELIUM Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;SNOWY_MYCELIUM:Lcom/mojang/serialization/Dynamic;
      intermediary field_15850 Lnet/minecraft/class_3582;field_15850:Lcom/mojang/serialization/Dynamic;
      official o Lbcc;o:Lcom/mojang/serialization/Dynamic;
    • SUNFLOWER_UPPER

      static final com.mojang.serialization.Dynamic<?> SUNFLOWER_UPPER
      Mappings:
      Namespace Name Mixin selector
      named SUNFLOWER_UPPER Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;SUNFLOWER_UPPER:Lcom/mojang/serialization/Dynamic;
      intermediary field_15839 Lnet/minecraft/class_3582;field_15839:Lcom/mojang/serialization/Dynamic;
      official p Lbcc;p:Lcom/mojang/serialization/Dynamic;
    • LILAC_UPPER

      static final com.mojang.serialization.Dynamic<?> LILAC_UPPER
      Mappings:
      Namespace Name Mixin selector
      named LILAC_UPPER Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;LILAC_UPPER:Lcom/mojang/serialization/Dynamic;
      intermediary field_15848 Lnet/minecraft/class_3582;field_15848:Lcom/mojang/serialization/Dynamic;
      official q Lbcc;q:Lcom/mojang/serialization/Dynamic;
    • GRASS_UPPER

      static final com.mojang.serialization.Dynamic<?> GRASS_UPPER
      Mappings:
      Namespace Name Mixin selector
      named GRASS_UPPER Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;GRASS_UPPER:Lcom/mojang/serialization/Dynamic;
      intermediary field_15834 Lnet/minecraft/class_3582;field_15834:Lcom/mojang/serialization/Dynamic;
      official r Lbcc;r:Lcom/mojang/serialization/Dynamic;
    • FERN_UPPER

      static final com.mojang.serialization.Dynamic<?> FERN_UPPER
      Mappings:
      Namespace Name Mixin selector
      named FERN_UPPER Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;FERN_UPPER:Lcom/mojang/serialization/Dynamic;
      intermediary field_15845 Lnet/minecraft/class_3582;field_15845:Lcom/mojang/serialization/Dynamic;
      official s Lbcc;s:Lcom/mojang/serialization/Dynamic;
    • ROSE_UPPER

      static final com.mojang.serialization.Dynamic<?> ROSE_UPPER
      Mappings:
      Namespace Name Mixin selector
      named ROSE_UPPER Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;ROSE_UPPER:Lcom/mojang/serialization/Dynamic;
      intermediary field_15835 Lnet/minecraft/class_3582;field_15835:Lcom/mojang/serialization/Dynamic;
      official t Lbcc;t:Lcom/mojang/serialization/Dynamic;
    • PEONY_UPPER

      static final com.mojang.serialization.Dynamic<?> PEONY_UPPER
      Mappings:
      Namespace Name Mixin selector
      named PEONY_UPPER Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;PEONY_UPPER:Lcom/mojang/serialization/Dynamic;
      intermediary field_15847 Lnet/minecraft/class_3582;field_15847:Lcom/mojang/serialization/Dynamic;
      official u Lbcc;u:Lcom/mojang/serialization/Dynamic;
    • FLOWER_POT

      static final Map<String,com.mojang.serialization.Dynamic<?>> FLOWER_POT
      Mappings:
      Namespace Name Mixin selector
      named FLOWER_POT Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;FLOWER_POT:Ljava/util/Map;
      intermediary field_15841 Lnet/minecraft/class_3582;field_15841:Ljava/util/Map;
      official v Lbcc;v:Ljava/util/Map;
    • SKULL

      static final Map<String,com.mojang.serialization.Dynamic<?>> SKULL
      Mappings:
      Namespace Name Mixin selector
      named SKULL Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;SKULL:Ljava/util/Map;
      intermediary field_15853 Lnet/minecraft/class_3582;field_15853:Ljava/util/Map;
      official w Lbcc;w:Ljava/util/Map;
    • DOOR

      static final Map<String,com.mojang.serialization.Dynamic<?>> DOOR
      Mappings:
      Namespace Name Mixin selector
      named DOOR Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;DOOR:Ljava/util/Map;
      intermediary field_15836 Lnet/minecraft/class_3582;field_15836:Ljava/util/Map;
      official x Lbcc;x:Ljava/util/Map;
    • NOTE_BLOCK

      static final Map<String,com.mojang.serialization.Dynamic<?>> NOTE_BLOCK
      Mappings:
      Namespace Name Mixin selector
      named NOTE_BLOCK Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;NOTE_BLOCK:Ljava/util/Map;
      intermediary field_15846 Lnet/minecraft/class_3582;field_15846:Ljava/util/Map;
      official y Lbcc;y:Ljava/util/Map;
    • COLORS

      private static final Int2ObjectMap<String> COLORS
      Mappings:
      Namespace Name Mixin selector
      named COLORS Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;COLORS:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      intermediary field_15837 Lnet/minecraft/class_3582;field_15837:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      official z Lbcc;z:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
    • BED

      static final Map<String,com.mojang.serialization.Dynamic<?>> BED
      Mappings:
      Namespace Name Mixin selector
      named BED Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;BED:Ljava/util/Map;
      intermediary field_15849 Lnet/minecraft/class_3582;field_15849:Ljava/util/Map;
      official A Lbcc;A:Ljava/util/Map;
    • AIR

      static final com.mojang.serialization.Dynamic<?> AIR
      Mappings:
      Namespace Name Mixin selector
      named AIR Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;AIR:Lcom/mojang/serialization/Dynamic;
      intermediary field_15843 Lnet/minecraft/class_3582;field_15843:Lcom/mojang/serialization/Dynamic;
      official C Lbcc;C:Lcom/mojang/serialization/Dynamic;
    • field_29870

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

    • ChunkPalettedStorageFix

      public ChunkPalettedStorageFix(com.mojang.datafixers.schemas.Schema schema, boolean bool)
  • Method Details

    • buildSkull

      private static void buildSkull(Map<String,com.mojang.serialization.Dynamic<?>> out, int variant, String mob, String block)
      Mappings:
      Namespace Name Mixin selector
      named buildSkull Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;buildSkull(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
      official a Lbcc;a(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 firstStateId)
      Mappings:
      Namespace Name Mixin selector
      named buildDoor Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;buildDoor(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
      official a Lbcc;a(Ljava/util/Map;Ljava/lang/String;I)V
    • buildBed

      private static void buildBed(Map<String,com.mojang.serialization.Dynamic<?>> out, int colorId, String color)
      Mappings:
      Namespace Name Mixin selector
      named buildBed Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;buildBed(Ljava/util/Map;ILjava/lang/String;)V
      intermediary method_15636 Lnet/minecraft/class_3582;method_15636(Ljava/util/Map;ILjava/lang/String;)V
      official a Lbcc;a(Ljava/util/Map;ILjava/lang/String;)V
    • buildBanner

      private static void buildBanner(Map<String,com.mojang.serialization.Dynamic<?>> out, int colorId, String color)
      Mappings:
      Namespace Name Mixin selector
      named buildBanner Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;buildBanner(Ljava/util/Map;ILjava/lang/String;)V
      intermediary method_15605 Lnet/minecraft/class_3582;method_15605(Ljava/util/Map;ILjava/lang/String;)V
      official b Lbcc;b(Ljava/util/Map;ILjava/lang/String;)V
    • getName

      public static String getName(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;getName(Lcom/mojang/serialization/Dynamic;)Ljava/lang/String;
      intermediary method_15637 Lnet/minecraft/class_3582;method_15637(Lcom/mojang/serialization/Dynamic;)Ljava/lang/String;
      official a Lbcc;a(Lcom/mojang/serialization/Dynamic;)Ljava/lang/String;
    • getProperty

      public static String getProperty(com.mojang.serialization.Dynamic<?> dynamic, String string)
      Mappings:
      Namespace Name Mixin selector
      named getProperty Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;getProperty(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;
      official a Lbcc;a(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
      named addTo Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;addTo(Lnet/minecraft/util/collection/Int2ObjectBiMap;Lcom/mojang/serialization/Dynamic;)I
      intermediary method_15616 Lnet/minecraft/class_3582;method_15616(Lnet/minecraft/class_3513;Lcom/mojang/serialization/Dynamic;)I
      official a Lbcc;a(Laxv;Lcom/mojang/serialization/Dynamic;)I
    • fixChunk

      private com.mojang.serialization.Dynamic<?> fixChunk(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      named fixChunk Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;fixChunk(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;
      official b Lbcc;b(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
      named getSideToUpgradeFlag Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix;getSideToUpgradeFlag(ZZZZ)I
      intermediary method_15615 Lnet/minecraft/class_3582;method_15615(ZZZZ)I
      official a Lbcc;a(ZZZZ)I