Package net.minecraft.command
Class DataCommandStorage
java.lang.Object
net.minecraft.command.DataCommandStorage
public class DataCommandStorage extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classDataCommandStorage.PersistentState -
Field Summary
Fields Modifier and Type Field Description private PersistentStateManagerstateManagerprivate Map<String,DataCommandStorage.PersistentState>storages -
Constructor Summary
Constructors Constructor Description DataCommandStorage(PersistentStateManager stateManager) -
Method Summary
Modifier and Type Method Description private DataCommandStorage.PersistentStatecreateStorage(String namespace)CompoundTagget(Identifier id)Stream<Identifier>getIds()private static StringgetSaveKey(String namespace)voidset(Identifier id, CompoundTag tag)
-
Field Details
-
storages
-
stateManager
-
-
Constructor Details
-
DataCommandStorage
-
-
Method Details
-
createStorage
-
get
-
set
-
getIds
-
getSaveKey
-