Class StructureFeatureIndexSavedData
java.lang.Object
net.minecraft.world.level.saveddata.SavedData
net.minecraft.world.level.levelgen.structure.StructureFeatureIndexSavedData
-
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_)
it.unimi.dsi.fastutil.longs.LongSet
getAll()
boolean
hasStartIndex(long p_73370_)
boolean
hasUnhandledIndex(long p_73374_)
load(CompoundTag p_163535_)
void
removeIndex(long p_73376_)
save(CompoundTag p_73372_)
-
Field Details
-
TAG_REMAINING_INDEXES
- See Also:
- Constant Field Values
-
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
-
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()
-