net.minecraft.command

public class DataCommandStorage

net.minecraft.world.level.storage.CommandStorage
net.minecraft.class_4565
net.minecraft.command.DataCommandStorage

Field summary

Modifier and TypeField
private static final String
COMMAND_STORAGE
field_31834
COMMAND_STORAGE_PREFIX
private final Map<String, DataCommandStorage$PersistentState>
namespaces
field_20747
storages
private final PersistentStateManager
savedDataStorage
field_20748
stateManager

Constructor summary

ModifierConstructor
public (PersistentStateManager savedDataStorage)

Method summary

Modifier and TypeMethod
public NbtCompound
get(Identifier id)
method_22546(class_2960 arg0)
get(Identifier id)
private DataCommandStorage$PersistentState
getContainer(String namespace)
method_67437(String arg0)
getStorage(String namespace)
private DataCommandStorage$PersistentState
getOrCreateContainer(String namespace)
method_67438(String arg0)
getOrCreateStorage(String namespace)
public void
set(Identifier id, CompoundTag contents)
method_22547(class_2960 arg0, class_2487 arg1)
set(Identifier id, NbtCompound nbt)
public Stream<Identifier>
keys()
method_22542()
getIds()
private static Stream
lambda$keys$0(Map$Entry arg0)
method_22545(Map$Entry arg0)
method_22545(Map$Entry entry)