Package net.minecraft.command
Class DataCommandStorage.PersistentState
java.lang.Object
net.minecraft.world.PersistentState
net.minecraft.command.DataCommandStorage.PersistentState
- Enclosing class:
- DataCommandStorage
static class DataCommandStorage.PersistentState extends PersistentState
-
Field Summary
Fields Modifier and Type Field Description private Map<String,CompoundTag>
map
-
Constructor Summary
Constructors Modifier Constructor Description private
PersistentState()
-
Method Summary
Modifier and Type Method Description CompoundTag
get(String name)
Stream<Identifier>
getIds(String namespace)
private DataCommandStorage.PersistentState
method_32383(CompoundTag compoundTag)
void
set(String name, CompoundTag tag)
CompoundTag
toTag(CompoundTag tag)
Methods inherited from class net.minecraft.world.PersistentState
isDirty, markDirty, save, setDirty
-
Field Details
-
map
-
-
Constructor Details
-
PersistentState
private PersistentState()
-
-
Method Details
-
method_32383
-
toTag
- Specified by:
toTag
in classPersistentState
-
get
-
set
-
getIds
-