public class MapIdTracker extends WorldSavedData
Modifier and Type | Field and Description |
---|---|
private it.unimi.dsi.fastutil.objects.Object2IntMap<java.lang.String> |
usedIds |
Constructor and Description |
---|
MapIdTracker() |
Modifier and Type | Method and Description |
---|---|
int |
getNextId() |
void |
read(CompoundNBT nbt) |
CompoundNBT |
write(CompoundNBT compound) |
deserializeNBT, getName, isDirty, markDirty, save, serializeNBT, setDirty
private final it.unimi.dsi.fastutil.objects.Object2IntMap<java.lang.String> usedIds
public void read(CompoundNBT nbt)
read
in class WorldSavedData
public CompoundNBT write(CompoundNBT compound)
write
in class WorldSavedData
public int getNextId()