Package net.minecraft.command
Class DataCommandStorage
java.lang.Object
net.minecraft.command.DataCommandStorage
public class DataCommandStorage extends Object
- Mappings:
Namespace Name official ddo
intermediary net/minecraft/class_4565
named net/minecraft/command/DataCommandStorage
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
DataCommandStorage.PersistentState
-
Field Summary
Fields Modifier and Type Field Description private PersistentStateManager
stateManager
private Map<String,DataCommandStorage.PersistentState>
storages
-
Constructor Summary
Constructors Constructor Description DataCommandStorage(PersistentStateManager stateManager)
-
Method Summary
Modifier and Type Method Description private DataCommandStorage.PersistentState
createStorage(String namespace)
CompoundTag
get(Identifier id)
Stream<Identifier>
getIds()
private static String
getSaveKey(String namespace)
void
set(Identifier id, CompoundTag tag)
-
Field Details
-
storages
- Mappings:
Namespace Name Mixin selector official a
Lddo;a:Ljava/util/Map;
intermediary field_20747
Lnet/minecraft/class_4565;field_20747:Ljava/util/Map;
named storages
Lnet/minecraft/command/DataCommandStorage;storages:Ljava/util/Map;
-
stateManager
- Mappings:
Namespace Name Mixin selector official b
Lddo;b:Lddq;
intermediary field_20748
Lnet/minecraft/class_4565;field_20748:Lnet/minecraft/class_26;
named stateManager
Lnet/minecraft/command/DataCommandStorage;stateManager:Lnet/minecraft/world/PersistentStateManager;
-
-
Constructor Details
-
DataCommandStorage
- Mappings:
Namespace Name Mixin selector official <init>
Lddo;<init>(Lddq;)V
intermediary <init>
Lnet/minecraft/class_4565;<init>(Lnet/minecraft/class_26;)V
named <init>
Lnet/minecraft/command/DataCommandStorage;<init>(Lnet/minecraft/world/PersistentStateManager;)V
-
-
Method Details
-
createStorage
- Mappings:
Namespace Name Mixin selector official a
Lddo;a(Ljava/lang/String;)Lddo$a;
intermediary method_22544
Lnet/minecraft/class_4565;method_22544(Ljava/lang/String;)Lnet/minecraft/class_4565$class_4566;
named createStorage
Lnet/minecraft/command/DataCommandStorage;createStorage(Ljava/lang/String;)Lnet/minecraft/command/DataCommandStorage$PersistentState;
-
get
- Mappings:
Namespace Name Mixin selector official a
Lddo;a(Lwb;)Lmq;
intermediary method_22546
Lnet/minecraft/class_4565;method_22546(Lnet/minecraft/class_2960;)Lnet/minecraft/class_2487;
named get
Lnet/minecraft/command/DataCommandStorage;get(Lnet/minecraft/util/Identifier;)Lnet/minecraft/nbt/CompoundTag;
-
set
- Mappings:
Namespace Name Mixin selector official a
Lddo;a(Lwb;Lmq;)V
intermediary method_22547
Lnet/minecraft/class_4565;method_22547(Lnet/minecraft/class_2960;Lnet/minecraft/class_2487;)V
named set
Lnet/minecraft/command/DataCommandStorage;set(Lnet/minecraft/util/Identifier;Lnet/minecraft/nbt/CompoundTag;)V
-
getIds
- Mappings:
Namespace Name Mixin selector official a
Lddo;a()Ljava/util/stream/Stream;
intermediary method_22542
Lnet/minecraft/class_4565;method_22542()Ljava/util/stream/Stream;
named getIds
Lnet/minecraft/command/DataCommandStorage;getIds()Ljava/util/stream/Stream;
-
getSaveKey
- Mappings:
Namespace Name Mixin selector official b
Lddo;b(Ljava/lang/String;)Ljava/lang/String;
intermediary method_22543
Lnet/minecraft/class_4565;method_22543(Ljava/lang/String;)Ljava/lang/String;
named getSaveKey
Lnet/minecraft/command/DataCommandStorage;getSaveKey(Ljava/lang/String;)Ljava/lang/String;
-