Class BlockStateFlatteningMap


  • public class BlockStateFlatteningMap
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static com.mojang.serialization.Dynamic<?>[] BLOCK_DEFAULTS  
      private static it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.serialization.Dynamic<?>> ID_BY_OLD  
      private static it.unimi.dsi.fastutil.objects.Object2IntMap<java.lang.String> ID_BY_OLD_NAME  
      private static org.apache.logging.log4j.Logger LOGGER  
      private static com.mojang.serialization.Dynamic<?>[] MAP  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static void finalizeMaps()  
      static com.mojang.serialization.Dynamic<?> getTag​(int p_210049_0_)  
      static com.mojang.serialization.Dynamic<?> parse​(java.lang.String p_210048_0_)  
      private static void register​(int p_199194_0_, java.lang.String p_199194_1_, java.lang.String... p_199194_2_)  
      static java.lang.String upgradeBlock​(int p_207215_0_)  
      static java.lang.String upgradeBlock​(java.lang.String p_199198_0_)  
      static com.mojang.serialization.Dynamic<?> upgradeBlockStateTag​(com.mojang.serialization.Dynamic<?> p_210050_0_)  
      • Methods inherited from class java.lang.Object

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

      • LOGGER

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

        private static final com.mojang.serialization.Dynamic<?>[] MAP
      • BLOCK_DEFAULTS

        private static final com.mojang.serialization.Dynamic<?>[] BLOCK_DEFAULTS
      • ID_BY_OLD

        private static final it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.serialization.Dynamic<?>> ID_BY_OLD
      • ID_BY_OLD_NAME

        private static final it.unimi.dsi.fastutil.objects.Object2IntMap<java.lang.String> ID_BY_OLD_NAME
    • Constructor Detail

      • BlockStateFlatteningMap

        public BlockStateFlatteningMap()
    • Method Detail

      • register

        private static void register​(int p_199194_0_,
                                     java.lang.String p_199194_1_,
                                     java.lang.String... p_199194_2_)
      • finalizeMaps

        private static void finalizeMaps()
      • upgradeBlockStateTag

        public static com.mojang.serialization.Dynamic<?> upgradeBlockStateTag​(com.mojang.serialization.Dynamic<?> p_210050_0_)
      • upgradeBlock

        public static java.lang.String upgradeBlock​(java.lang.String p_199198_0_)
      • upgradeBlock

        public static java.lang.String upgradeBlock​(int p_207215_0_)
      • parse

        public static com.mojang.serialization.Dynamic<?> parse​(java.lang.String p_210048_0_)
      • getTag

        public static com.mojang.serialization.Dynamic<?> getTag​(int p_210049_0_)