Class ChunkPaletteFormat

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.ChunkPaletteFormat

public class ChunkPaletteFormat extends com.mojang.datafixers.DataFix
  • Nested Class Summary

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

    Fields
    Modifier and Type
    Field
    Description
    private static final com.mojang.serialization.Dynamic<?>
     
    private static final Map<String,com.mojang.serialization.Dynamic<?>>
     
    private static final Map<String,com.mojang.serialization.Dynamic<?>>
     
    private static final Map<String,com.mojang.serialization.Dynamic<?>>
     
    private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<String>
     
    private static final BitSet
     
    private static final Map<String,com.mojang.serialization.Dynamic<?>>
     
    private static final org.apache.logging.log4j.Logger
     
    private static final Map<String,com.mojang.serialization.Dynamic<?>>
     
    private static final com.mojang.serialization.Dynamic<?>
     
    private static final Map<String,com.mojang.serialization.Dynamic<?>>
     
    private static final com.mojang.serialization.Dynamic<?>
     
    private static final com.mojang.serialization.Dynamic<?>
     
    private static final com.mojang.serialization.Dynamic<?>
     
    private static final com.mojang.serialization.Dynamic<?>
     
    private static final com.mojang.serialization.Dynamic<?>
     
    private static final com.mojang.serialization.Dynamic<?>
     
    private static final com.mojang.serialization.Dynamic<?>
     
    private static final com.mojang.serialization.Dynamic<?>
     
    private static final com.mojang.serialization.Dynamic<?>
     
    private static final BitSet
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ChunkPaletteFormat(com.mojang.datafixers.schemas.Schema p_i49676_1_, boolean p_i49676_2_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static void
    addBanners(Map<String,com.mojang.serialization.Dynamic<?>> p_209297_0_, int p_209297_1_, String p_209297_2_)
     
    private static void
    addBeds(Map<String,com.mojang.serialization.Dynamic<?>> p_209307_0_, int p_209307_1_, String p_209307_2_)
     
    private com.mojang.serialization.Dynamic<?>
    fix(com.mojang.serialization.Dynamic<?> p_209712_1_)
     
    static String
    getName(com.mojang.serialization.Dynamic<?> p_209726_0_)
     
    static String
    getProperty(com.mojang.serialization.Dynamic<?> p_209719_0_, String p_209719_1_)
     
    static int
    getSideMask(boolean p_210957_0_, boolean p_210957_1_, boolean p_210957_2_, boolean p_210957_3_)
     
    static int
    idFor(IntIdentityHashBiMap<com.mojang.serialization.Dynamic<?>> p_209724_0_, com.mojang.serialization.Dynamic<?> p_209724_1_)
     
    com.mojang.datafixers.TypeRewriteRule
     
    private static void
    mapDoor(Map<String,com.mojang.serialization.Dynamic<?>> p_209301_0_, String p_209301_1_, int p_209301_2_)
     
    private static void
    mapSkull(Map<String,com.mojang.serialization.Dynamic<?>> p_209300_0_, int p_209300_1_, String p_209300_2_, String p_209300_3_)
     

    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

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • VIRTUAL

      private static final BitSet VIRTUAL
    • FIX

      private static final BitSet FIX
    • PUMPKIN

      private static final com.mojang.serialization.Dynamic<?> PUMPKIN
    • SNOWY_PODZOL

      private static final com.mojang.serialization.Dynamic<?> SNOWY_PODZOL
    • SNOWY_GRASS

      private static final com.mojang.serialization.Dynamic<?> SNOWY_GRASS
    • SNOWY_MYCELIUM

      private static final com.mojang.serialization.Dynamic<?> SNOWY_MYCELIUM
    • UPPER_SUNFLOWER

      private static final com.mojang.serialization.Dynamic<?> UPPER_SUNFLOWER
    • UPPER_LILAC

      private static final com.mojang.serialization.Dynamic<?> UPPER_LILAC
    • UPPER_TALL_GRASS

      private static final com.mojang.serialization.Dynamic<?> UPPER_TALL_GRASS
    • UPPER_LARGE_FERN

      private static final com.mojang.serialization.Dynamic<?> UPPER_LARGE_FERN
    • UPPER_ROSE_BUSH

      private static final com.mojang.serialization.Dynamic<?> UPPER_ROSE_BUSH
    • UPPER_PEONY

      private static final com.mojang.serialization.Dynamic<?> UPPER_PEONY
    • FLOWER_POT_MAP

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

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

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

      private 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

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

      private static final com.mojang.serialization.Dynamic<?> AIR
  • Constructor Details

    • ChunkPaletteFormat

      public ChunkPaletteFormat(com.mojang.datafixers.schemas.Schema p_i49676_1_, boolean p_i49676_2_)
  • Method Details

    • mapSkull

      private static void mapSkull(Map<String,com.mojang.serialization.Dynamic<?>> p_209300_0_, int p_209300_1_, String p_209300_2_, String p_209300_3_)
    • mapDoor

      private static void mapDoor(Map<String,com.mojang.serialization.Dynamic<?>> p_209301_0_, String p_209301_1_, int p_209301_2_)
    • addBeds

      private static void addBeds(Map<String,com.mojang.serialization.Dynamic<?>> p_209307_0_, int p_209307_1_, String p_209307_2_)
    • addBanners

      private static void addBanners(Map<String,com.mojang.serialization.Dynamic<?>> p_209297_0_, int p_209297_1_, String p_209297_2_)
    • getName

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

      public static String getProperty(com.mojang.serialization.Dynamic<?> p_209719_0_, String p_209719_1_)
    • idFor

      public static int idFor(IntIdentityHashBiMap<com.mojang.serialization.Dynamic<?>> p_209724_0_, com.mojang.serialization.Dynamic<?> p_209724_1_)
    • fix

      private com.mojang.serialization.Dynamic<?> fix(com.mojang.serialization.Dynamic<?> p_209712_1_)
    • makeRule

      public com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
    • getSideMask

      public static int getSideMask(boolean p_210957_0_, boolean p_210957_1_, boolean p_210957_2_, boolean p_210957_3_)