Class DataCommandStorage.PersistentState

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

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

    • field_31835

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

      private final Map<String,​NbtCompound> map
      Mappings:
      Namespace Name Mixin selector
      official b Ldgt$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

      private PersistentState()
  • Method Details

    • method_32383

      private DataCommandStorage.PersistentState method_32383​(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official b Ldgt$a;b(Lmv;)Ldgt$a;
      intermediary method_32383 Lnet/minecraft/class_4565$class_4566;method_32383(Lnet/minecraft/class_2487;)Lnet/minecraft/class_4565$class_4566;
      named method_32383 Lnet/minecraft/command/DataCommandStorage$PersistentState;method_32383(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 Ldgl;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/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
    • get

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

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

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