类 DataCommandStorage.PersistentState

  • 封闭类:
    DataCommandStorage

    static class DataCommandStorage.PersistentState
    extends PersistentState
    Mappings:
    Namespace Name
    official dgv$a
    intermediary net/minecraft/class_4565$class_4566
    named net/minecraft/command/DataCommandStorage$PersistentState
    • 字段详细资料

      • CONTENTS_KEY

        private static final String CONTENTS_KEY
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Ldgv$a;a:Ljava/lang/String;
        intermediary field_31835 Lnet/minecraft/class_4565$class_4566;field_31835:Ljava/lang/String;
        named CONTENTS_KEY Lnet/minecraft/command/DataCommandStorage$PersistentState;CONTENTS_KEY:Ljava/lang/String;
      • map

        private final Map<String,​CompoundTag> map
        Mappings:
        Namespace Name Mixin selector
        official b Ldgv$a;b:Ljava/util/Map;
        intermediary field_20749 Lnet/minecraft/class_4565$class_4566;field_20749:Ljava/util/Map;
        named map Lnet/minecraft/command/DataCommandStorage$PersistentState;map:Ljava/util/Map;
    • 构造器详细资料

      • PersistentState

        private PersistentState()
    • 方法详细资料

      • readNbt

        private DataCommandStorage.PersistentState readNbt​(CompoundTag nbt)
        Mappings:
        Namespace Name Mixin selector
        official b Ldgv$a;b(Lmv;)Ldgv$a;
        intermediary method_32383 Lnet/minecraft/class_4565$class_4566;method_32383(Lnet/minecraft/class_2487;)Lnet/minecraft/class_4565$class_4566;
        named readNbt Lnet/minecraft/command/DataCommandStorage$PersistentState;readNbt(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/command/DataCommandStorage$PersistentState;
      • writeNbt

        public CompoundTag writeNbt​(CompoundTag nbt)
        指定者:
        writeNbt 在类中 PersistentState
        Mappings:
        Namespace Name Mixin selector
        official a Ldgn;a(Lmv;)Lmv;
        intermediary method_75 Lnet/minecraft/class_18;method_75(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
        named writeNbt Lnet/minecraft/world/PersistentState;writeNbt(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
      • get

        public CompoundTag get​(String name)
        Mappings:
        Namespace Name Mixin selector
        official a Ldgv$a;a(Ljava/lang/String;)Lmv;
        intermediary method_22550 Lnet/minecraft/class_4565$class_4566;method_22550(Ljava/lang/String;)Lnet/minecraft/class_2487;
        named get Lnet/minecraft/command/DataCommandStorage$PersistentState;get(Ljava/lang/String;)Lnet/minecraft/nbt/CompoundTag;
      • set

        public void set​(String name,
                        CompoundTag nbt)
        Mappings:
        Namespace Name Mixin selector
        official a Ldgv$a;a(Ljava/lang/String;Lmv;)V
        intermediary method_22552 Lnet/minecraft/class_4565$class_4566;method_22552(Ljava/lang/String;Lnet/minecraft/class_2487;)V
        named set Lnet/minecraft/command/DataCommandStorage$PersistentState;set(Ljava/lang/String;Lnet/minecraft/nbt/CompoundTag;)V
      • getIds

        public Stream<Identifier> getIds​(String namespace)
        Mappings:
        Namespace Name Mixin selector
        official b Ldgv$a;b(Ljava/lang/String;)Ljava/util/stream/Stream;
        intermediary method_22554 Lnet/minecraft/class_4565$class_4566;method_22554(Ljava/lang/String;)Ljava/util/stream/Stream;
        named getIds Lnet/minecraft/command/DataCommandStorage$PersistentState;getIds(Ljava/lang/String;)Ljava/util/stream/Stream;