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, setDirtyprivate final it.unimi.dsi.fastutil.objects.Object2IntMap<java.lang.String> usedIds
public void read(CompoundNBT nbt)
read in class WorldSavedDatapublic CompoundNBT write(CompoundNBT compound)
write in class WorldSavedDatapublic int getNextId()