Class StructureFeatureIndexSavedData
java.lang.Object
net.minecraft.world.level.saveddata.SavedData
net.minecraft.world.level.levelgen.structure.StructureFeatureIndexSavedData
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.saveddata.SavedData
SavedData.Factory<T extends SavedData>
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
StructureFeatureIndexSavedData
(it.unimi.dsi.fastutil.longs.LongSet p_163532_, it.unimi.dsi.fastutil.longs.LongSet p_163533_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addIndex
(long p_73366_) factory()
it.unimi.dsi.fastutil.longs.LongSet
getAll()
boolean
hasStartIndex
(long p_73370_) boolean
hasUnhandledIndex
(long p_73374_) load
(CompoundTag p_163535_, HolderLookup.Provider p_333516_) void
removeIndex
(long p_73376_) save
(CompoundTag p_73372_, HolderLookup.Provider p_329815_)
-
Field Details
-
TAG_REMAINING_INDEXES
- See Also:
-
TAG_All_INDEXES
- See Also:
-
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
-
factory
-
load
public static StructureFeatureIndexSavedData load(CompoundTag p_163535_, HolderLookup.Provider p_333516_) -
save
-
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()
-