Package net.minecraft.world
Class IdCountsState
java.lang.Object
net.minecraft.world.PersistentState
net.minecraft.world.IdCountsState
public class IdCountsState extends PersistentState
- Mappings:
Namespace Name official ddkintermediary net/minecraft/class_3978named net/minecraft/world/IdCountsState
-
Field Summary
Fields Modifier and Type Field Description private Object2IntMap<String>idCounts -
Constructor Summary
Constructors Constructor Description IdCountsState() -
Method Summary
Modifier and Type Method Description static IdCountsStatefromNbt(CompoundTag tag)intgetNextMapId()CompoundTagtoNbt(CompoundTag tag)Methods inherited from class net.minecraft.world.PersistentState
isDirty, markDirty, save, setDirty
-
Field Details
-
idCounts
- Mappings:
Namespace Name Mixin selector official aLddk;a:Lit/unimi/dsi/fastutil/objects/Object2IntMap;intermediary field_17662Lnet/minecraft/class_3978;field_17662:Lit/unimi/dsi/fastutil/objects/Object2IntMap;named idCountsLnet/minecraft/world/IdCountsState;idCounts:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
-
Constructor Details
-
IdCountsState
public IdCountsState()
-
-
Method Details
-
fromNbt
- Mappings:
Namespace Name Mixin selector official bLddk;b(Lmq;)Lddk;intermediary method_32360Lnet/minecraft/class_3978;method_32360(Lnet/minecraft/class_2487;)Lnet/minecraft/class_3978;named fromNbtLnet/minecraft/world/IdCountsState;fromNbt(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/IdCountsState;
-
toNbt
- Specified by:
toNbtin classPersistentState- Mappings:
Namespace Name Mixin selector official aLddg;a(Lmq;)Lmq;intermediary method_75Lnet/minecraft/class_18;method_75(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;named toNbtLnet/minecraft/world/PersistentState;toNbt(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
-
getNextMapId
public int getNextMapId()- Mappings:
Namespace Name Mixin selector official aLddk;a()Iintermediary method_17920Lnet/minecraft/class_3978;method_17920()Inamed getNextMapIdLnet/minecraft/world/IdCountsState;getNextMapId()I
-