Package net.minecraft.world.storage
Class MapIdTracker
- java.lang.Object
-
- net.minecraft.world.storage.WorldSavedData
-
- net.minecraft.world.storage.MapIdTracker
-
- All Implemented Interfaces:
INBTSerializable<CompoundNBT>
public class MapIdTracker extends WorldSavedData
-
-
Field Summary
Fields Modifier and Type Field Description private it.unimi.dsi.fastutil.objects.Object2IntMap<java.lang.String>
usedAuxIds
-
Constructor Summary
Constructors Constructor Description MapIdTracker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFreeAuxValueForMap()
void
load(CompoundNBT p_76184_1_)
CompoundNBT
save(CompoundNBT p_189551_1_)
-
Methods inherited from class net.minecraft.world.storage.WorldSavedData
deserializeNBT, getId, isDirty, save, serializeNBT, setDirty, setDirty
-
-
-
-
Method Detail
-
load
public void load(CompoundNBT p_76184_1_)
- Specified by:
load
in classWorldSavedData
-
save
public CompoundNBT save(CompoundNBT p_189551_1_)
- Specified by:
save
in classWorldSavedData
-
getFreeAuxValueForMap
public int getFreeAuxValueForMap()
-
-