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

    Nested Classes
    Modifier and Type
    Class
    Description
    (package private) static class 
     
    static enum 
     
    (package private) static class 
     
    (package private) static final 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 Map<String,com.mojang.serialization.Dynamic<?>>
     
    private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<String>
     
    private static final int
     
    (package private) static final BitSet
     
    (package private) static final Map<String,com.mojang.serialization.Dynamic<?>>
     
    (package private) static final org.slf4j.Logger
     
    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<?>
     
    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 com.mojang.serialization.Dynamic<?>
     
    private static final int
     
    private static final int
     
    private static final int
     
    (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 com.mojang.serialization.Dynamic<?>
     
    (package private) static final com.mojang.serialization.Dynamic<?>
     
    (package private) static final BitSet
     
    private static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ChunkPalettedStorageFix(com.mojang.datafixers.schemas.Schema p_15058_, boolean p_15059_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static void
    addBanners(Map<String,com.mojang.serialization.Dynamic<?>> p_15097_, int p_15098_, String p_15099_)
     
    private static void
    addBeds(Map<String,com.mojang.serialization.Dynamic<?>> p_15074_, int p_15075_, String p_15076_)
     
    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
     
    private static void
    mapDoor(Map<String,com.mojang.serialization.Dynamic<?>> p_15083_, String p_15084_, int p_15085_)
     
    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

    Methods inherited from class java.lang.Object

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

    • NORTH_WEST_MASK

      private static final int NORTH_WEST_MASK
      See Also:
    • WEST_MASK

      private static final int WEST_MASK
      See Also:
    • SOUTH_WEST_MASK

      private static final int SOUTH_WEST_MASK
      See Also:
    • SOUTH_MASK

      private static final int SOUTH_MASK
      See Also:
    • SOUTH_EAST_MASK

      private static final int SOUTH_EAST_MASK
      See Also:
    • EAST_MASK

      private static final int EAST_MASK
      See Also:
    • NORTH_EAST_MASK

      private static final int NORTH_EAST_MASK
      See Also:
    • NORTH_MASK

      private static final int NORTH_MASK
      See Also:
    • LOGGER

      static final org.slf4j.Logger LOGGER
    • VIRTUAL

      static final BitSet VIRTUAL
    • FIX

      static final BitSet 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

      static final Map<String,com.mojang.serialization.Dynamic<?>> FLOWER_POT_MAP
    • SKULL_MAP

      static final Map<String,com.mojang.serialization.Dynamic<?>> SKULL_MAP
    • DOOR_MAP

      static final Map<String,com.mojang.serialization.Dynamic<?>> DOOR_MAP
    • NOTE_BLOCK_MAP

      static final Map<String,com.mojang.serialization.Dynamic<?>> NOTE_BLOCK_MAP
    • DYE_COLOR_MAP

      private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<String> DYE_COLOR_MAP
    • BED_BLOCK_MAP

      static final Map<String,com.mojang.serialization.Dynamic<?>> BED_BLOCK_MAP
    • AIR

      static final com.mojang.serialization.Dynamic<?> AIR
    • SIZE

      private static final int SIZE
      See Also:
  • Constructor Details

    • ChunkPalettedStorageFix

      public ChunkPalettedStorageFix(com.mojang.datafixers.schemas.Schema p_15058_, boolean p_15059_)
  • Method Details

    • mapSkull

      private static void mapSkull(Map<String,com.mojang.serialization.Dynamic<?>> p_15078_, int p_15079_, String p_15080_, String p_15081_)
    • mapDoor

      private static void mapDoor(Map<String,com.mojang.serialization.Dynamic<?>> p_15083_, String p_15084_, int p_15085_)
    • addBeds

      private static void addBeds(Map<String,com.mojang.serialization.Dynamic<?>> p_15074_, int p_15075_, String p_15076_)
    • addBanners

      private static void addBanners(Map<String,com.mojang.serialization.Dynamic<?>> p_15097_, int p_15098_, String p_15099_)
    • getName

      public static String getName(com.mojang.serialization.Dynamic<?> p_15065_)
    • getProperty

      public static String getProperty(com.mojang.serialization.Dynamic<?> p_15067_, String p_15068_)
    • 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 class com.mojang.datafixers.DataFix
    • getSideMask

      public static int getSideMask(boolean p_15087_, boolean p_15088_, boolean p_15089_, boolean p_15090_)