Class StructureFeatureIndexSavedData

java.lang.Object
net.minecraft.world.level.saveddata.SavedData
net.minecraft.world.level.levelgen.structure.StructureFeatureIndexSavedData

public class StructureFeatureIndexSavedData extends SavedData
  • Field Details

    • TAG_REMAINING_INDEXES

      private static final String TAG_REMAINING_INDEXES
      See Also:
      Constant Field Values
    • TAG_All_INDEXES

      private static final String TAG_All_INDEXES
      See Also:
      Constant Field Values
    • all

      private final it.unimi.dsi.fastutil.longs.LongSet all
    • remaining

      private final it.unimi.dsi.fastutil.longs.LongSet remaining
  • Constructor Details

    • StructureFeatureIndexSavedData

      private StructureFeatureIndexSavedData(it.unimi.dsi.fastutil.longs.LongSet p_163532_, it.unimi.dsi.fastutil.longs.LongSet p_163533_)
    • StructureFeatureIndexSavedData

      public StructureFeatureIndexSavedData()
  • Method Details

    • load

      public static StructureFeatureIndexSavedData load(CompoundTag p_163535_)
    • save

      public CompoundTag save(CompoundTag p_73372_)
      Specified by:
      save in class SavedData
    • addIndex

      public void addIndex(long p_73366_)
    • hasStartIndex

      public boolean hasStartIndex(long p_73370_)
    • hasUnhandledIndex

      public boolean hasUnhandledIndex(long p_73374_)
    • removeIndex

      public void removeIndex(long p_73376_)
    • getAll

      public it.unimi.dsi.fastutil.longs.LongSet getAll()