类 IdCountsState
- java.lang.Object
-
- net.minecraft.world.PersistentState
-
- net.minecraft.world.IdCountsState
-
public class IdCountsState extends PersistentState
- Mappings:
Namespace Name official dgrintermediary net/minecraft/class_3978named net/minecraft/world/IdCountsState
-
-
字段概要
字段 修饰符和类型 字段 说明 static Stringfield_31830private Object2IntMap<String>idCounts
-
构造器概要
构造器 构造器 说明 IdCountsState()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static IdCountsStatefromNbt(CompoundTag nbt)intgetNextMapId()CompoundTagwriteNbt(CompoundTag nbt)-
从类继承的方法 net.minecraft.world.PersistentState
isDirty, markDirty, save, setDirty
-
-
-
-
字段详细资料
-
field_31830
public static final String field_31830
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLdgr;a:Ljava/lang/String;intermediary field_31830Lnet/minecraft/class_3978;field_31830:Ljava/lang/String;named field_31830Lnet/minecraft/world/IdCountsState;field_31830:Ljava/lang/String;
-
idCounts
private final Object2IntMap<String> idCounts
- Mappings:
Namespace Name Mixin selector official bLdgr;b: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;
-
-
方法详细资料
-
fromNbt
public static IdCountsState fromNbt(CompoundTag nbt)
- Mappings:
Namespace Name Mixin selector official bLdgr;b(Lmv;)Ldgr;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
public CompoundTag writeNbt(CompoundTag nbt)
- 指定者:
writeNbt在类中PersistentState- Mappings:
Namespace Name Mixin selector official aLdgn;a(Lmv;)Lmv;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 aLdgr;a()Iintermediary method_17920Lnet/minecraft/class_3978;method_17920()Inamed getNextMapIdLnet/minecraft/world/IdCountsState;getNextMapId()I
-
-