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 dfdintermediary 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()CompoundTagwriteNbt(CompoundTag tag)Methods inherited from class net.minecraft.world.PersistentState
isDirty, markDirty, save, setDirty
-
Field Details
-
idCounts
- Mappings:
Namespace Name Mixin selector official aLdfd;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 bLdfd;b(Lmr;)Ldfd;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;
-
writeNbt
- Specified by:
writeNbtin classPersistentState- Mappings:
Namespace Name Mixin selector official aLdez;a(Lmr;)Lmr;intermediary method_75Lnet/minecraft/class_18;method_75(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;named writeNbtLnet/minecraft/world/PersistentState;writeNbt(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
-
getNextMapId
public int getNextMapId()- Mappings:
Namespace Name Mixin selector official aLdfd;a()Iintermediary method_17920Lnet/minecraft/class_3978;method_17920()Inamed getNextMapIdLnet/minecraft/world/IdCountsState;getNextMapId()I
-