Class DataCommandStorage.PersistentState

java.lang.Object
net.minecraft.world.PersistentState
net.minecraft.command.DataCommandStorage.PersistentState
Enclosing class:
DataCommandStorage

private static class DataCommandStorage.PersistentState extends PersistentState
Mappings:
Namespace Name
official dyr$a
intermediary net/minecraft/class_4565$class_4566
named net/minecraft/command/DataCommandStorage$PersistentState
  • Field Details

    • CONTENTS_KEY

      private static final String CONTENTS_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Ldyr$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,NbtCompound> map
      Mappings:
      Namespace Name Mixin selector
      official b Ldyr$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;
  • Constructor Details

    • PersistentState

      PersistentState()
  • Method Details

    • readNbt

      Mappings:
      Namespace Name Mixin selector
      official b Ldyr$a;b(Lqr;)Ldyr$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/NbtCompound;)Lnet/minecraft/command/DataCommandStorage$PersistentState;
    • writeNbt

      public NbtCompound writeNbt(NbtCompound nbt)
      Specified by:
      writeNbt in class PersistentState
      Mappings:
      Namespace Name Mixin selector
      official a Ldyj;a(Lqr;)Lqr;
      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/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
    • get

      public NbtCompound get(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Ldyr$a;a(Ljava/lang/String;)Lqr;
      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/NbtCompound;
    • set

      public void set(String name, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Ldyr$a;a(Ljava/lang/String;Lqr;)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/NbtCompound;)V
    • getIds

      public Stream<Identifier> getIds(String namespace)
      Mappings:
      Namespace Name Mixin selector
      official b Ldyr$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;