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
named net/minecraft/command/DataCommandStorage$PersistentState
intermediary net/minecraft/class_4565$class_4566
official epo$a
  • Field Details

    • CONTENTS_KEY

      private static final String CONTENTS_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named CONTENTS_KEY Lnet/minecraft/command/DataCommandStorage$PersistentState;CONTENTS_KEY:Ljava/lang/String;
      intermediary field_31835 Lnet/minecraft/class_4565$class_4566;field_31835:Ljava/lang/String;
      official a Lepo$a;a:Ljava/lang/String;
    • map

      private final Map<String,NbtCompound> map
      Mappings:
      Namespace Name Mixin selector
      named map Lnet/minecraft/command/DataCommandStorage$PersistentState;map:Ljava/util/Map;
      intermediary field_20749 Lnet/minecraft/class_4565$class_4566;field_20749:Ljava/util/Map;
      official b Lepo$a;b:Ljava/util/Map;
  • Constructor Details

    • PersistentState

      PersistentState()
  • Method Details

    • readNbt

      Mappings:
      Namespace Name Mixin selector
      named readNbt Lnet/minecraft/command/DataCommandStorage$PersistentState;readNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/command/DataCommandStorage$PersistentState;
      intermediary method_32383 Lnet/minecraft/class_4565$class_4566;method_32383(Lnet/minecraft/class_2487;)Lnet/minecraft/class_4565$class_4566;
      official a Lepo$a;a(Lus;)Lepo$a;
    • writeNbt

      public NbtCompound writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup)
      Specified by:
      writeNbt in class PersistentState
      Mappings:
      Namespace Name Mixin selector
      named writeNbt Lnet/minecraft/world/PersistentState;writeNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/nbt/NbtCompound;
      intermediary method_75 Lnet/minecraft/class_18;method_75(Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2487;
      official a Lepd;a(Lus;Ljk$a;)Lus;
    • get

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

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

      public Stream<Identifier> getIds(String namespace)
      Mappings:
      Namespace Name Mixin selector
      named getIds Lnet/minecraft/command/DataCommandStorage$PersistentState;getIds(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;
      official b Lepo$a;b(Ljava/lang/String;)Ljava/util/stream/Stream;