Class LegacyStructureDataUtil


  • public class LegacyStructureDataUtil
    extends java.lang.Object
    • Field Detail

      • CURRENT_TO_LEGACY_MAP

        private static final java.util.Map<java.lang.String,​java.lang.String> CURRENT_TO_LEGACY_MAP
      • LEGACY_TO_CURRENT_MAP

        private static final java.util.Map<java.lang.String,​java.lang.String> LEGACY_TO_CURRENT_MAP
      • hasLegacyData

        private final boolean hasLegacyData
      • dataMap

        private final java.util.Map<java.lang.String,​it.unimi.dsi.fastutil.longs.Long2ObjectMap<CompoundNBT>> dataMap
      • legacyKeys

        private final java.util.List<java.lang.String> legacyKeys
      • currentKeys

        private final java.util.List<java.lang.String> currentKeys
    • Constructor Detail

      • LegacyStructureDataUtil

        public LegacyStructureDataUtil​(@Nullable
                                       DimensionSavedDataManager p_i51349_1_,
                                       java.util.List<java.lang.String> p_i51349_2_,
                                       java.util.List<java.lang.String> p_i51349_3_)
    • Method Detail

      • removeIndex

        public void removeIndex​(long p_208216_1_)
      • hasLegacyStart

        private boolean hasLegacyStart​(int p_208211_1_,
                                       int p_208211_2_,
                                       java.lang.String p_208211_3_)
      • isUnhandledStructureStart

        private boolean isUnhandledStructureStart​(int p_208209_1_,
                                                  int p_208209_2_)