Class DataCommandStorage

java.lang.Object
net.minecraft.command.DataCommandStorage

public class DataCommandStorage extends Object
Mappings:
Namespace Name
named net/minecraft/command/DataCommandStorage
intermediary net/minecraft/class_4565
official eqb
  • Field Details

    • COMMAND_STORAGE_PREFIX

      private static final String COMMAND_STORAGE_PREFIX
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named COMMAND_STORAGE_PREFIX Lnet/minecraft/command/DataCommandStorage;COMMAND_STORAGE_PREFIX:Ljava/lang/String;
      intermediary field_31834 Lnet/minecraft/class_4565;field_31834:Ljava/lang/String;
      official a Leqb;a:Ljava/lang/String;
    • storages

      Mappings:
      Namespace Name Mixin selector
      named storages Lnet/minecraft/command/DataCommandStorage;storages:Ljava/util/Map;
      intermediary field_20747 Lnet/minecraft/class_4565;field_20747:Ljava/util/Map;
      official b Leqb;b:Ljava/util/Map;
    • stateManager

      private final PersistentStateManager stateManager
      Mappings:
      Namespace Name Mixin selector
      named stateManager Lnet/minecraft/command/DataCommandStorage;stateManager:Lnet/minecraft/world/PersistentStateManager;
      intermediary field_20748 Lnet/minecraft/class_4565;field_20748:Lnet/minecraft/class_26;
      official c Leqb;c:Leqe;
  • Constructor Details

    • DataCommandStorage

      public DataCommandStorage(PersistentStateManager stateManager)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/command/DataCommandStorage;<init>(Lnet/minecraft/world/PersistentStateManager;)V
      intermediary <init> Lnet/minecraft/class_4565;<init>(Lnet/minecraft/class_26;)V
      official <init> Leqb;<init>(Leqe;)V
  • Method Details

    • createStorage

      private DataCommandStorage.PersistentState createStorage(String namespace)
      Mappings:
      Namespace Name Mixin selector
      named createStorage Lnet/minecraft/command/DataCommandStorage;createStorage(Ljava/lang/String;)Lnet/minecraft/command/DataCommandStorage$PersistentState;
      intermediary method_22544 Lnet/minecraft/class_4565;method_22544(Ljava/lang/String;)Lnet/minecraft/class_4565$class_4566;
      official a Leqb;a(Ljava/lang/String;)Leqb$a;
    • getPersistentStateType

      private PersistentState.Type<DataCommandStorage.PersistentState> getPersistentStateType(String namespace)
      Mappings:
      Namespace Name Mixin selector
      named getPersistentStateType Lnet/minecraft/command/DataCommandStorage;getPersistentStateType(Ljava/lang/String;)Lnet/minecraft/world/PersistentState$Type;
      intermediary method_52614 Lnet/minecraft/class_4565;method_52614(Ljava/lang/String;)Lnet/minecraft/class_18$class_8645;
      official b Leqb;b(Ljava/lang/String;)Lepq$a;
    • get

      public NbtCompound get(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/command/DataCommandStorage;get(Lnet/minecraft/util/Identifier;)Lnet/minecraft/nbt/NbtCompound;
      intermediary method_22546 Lnet/minecraft/class_4565;method_22546(Lnet/minecraft/class_2960;)Lnet/minecraft/class_2487;
      official a Leqb;a(Lakk;)Ltx;
    • set

      public void set(Identifier id, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      named set Lnet/minecraft/command/DataCommandStorage;set(Lnet/minecraft/util/Identifier;Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_22547 Lnet/minecraft/class_4565;method_22547(Lnet/minecraft/class_2960;Lnet/minecraft/class_2487;)V
      official a Leqb;a(Lakk;Ltx;)V
    • getIds

      public Stream<Identifier> getIds()
      Mappings:
      Namespace Name Mixin selector
      named getIds Lnet/minecraft/command/DataCommandStorage;getIds()Ljava/util/stream/Stream;
      intermediary method_22542 Lnet/minecraft/class_4565;method_22542()Ljava/util/stream/Stream;
      official a Leqb;a()Ljava/util/stream/Stream;
    • getSaveKey

      private static String getSaveKey(String namespace)
      Mappings:
      Namespace Name Mixin selector
      named getSaveKey Lnet/minecraft/command/DataCommandStorage;getSaveKey(Ljava/lang/String;)Ljava/lang/String;
      intermediary method_22543 Lnet/minecraft/class_4565;method_22543(Ljava/lang/String;)Ljava/lang/String;
      official c Leqb;c(Ljava/lang/String;)Ljava/lang/String;