Package net.minecraft.world.storage
Class CommandStorage
- java.lang.Object
-
- net.minecraft.world.storage.CommandStorage
-
public class CommandStorage extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
CommandStorage.Container
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,CommandStorage.Container>
namespaces
private DimensionSavedDataManager
storage
-
Constructor Summary
Constructors Constructor Description CommandStorage(DimensionSavedDataManager p_i225883_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static java.lang.String
createId(java.lang.String p_227485_0_)
CompoundNBT
get(ResourceLocation p_227488_1_)
java.util.stream.Stream<ResourceLocation>
keys()
private CommandStorage.Container
newStorage(java.lang.String p_227486_1_, java.lang.String p_227486_2_)
void
set(ResourceLocation p_227489_1_, CompoundNBT p_227489_2_)
-
-
-
Field Detail
-
namespaces
private final java.util.Map<java.lang.String,CommandStorage.Container> namespaces
-
storage
private final DimensionSavedDataManager storage
-
-
Constructor Detail
-
CommandStorage
public CommandStorage(DimensionSavedDataManager p_i225883_1_)
-
-
Method Detail
-
newStorage
private CommandStorage.Container newStorage(java.lang.String p_227486_1_, java.lang.String p_227486_2_)
-
get
public CompoundNBT get(ResourceLocation p_227488_1_)
-
set
public void set(ResourceLocation p_227489_1_, CompoundNBT p_227489_2_)
-
keys
public java.util.stream.Stream<ResourceLocation> keys()
-
createId
private static java.lang.String createId(java.lang.String p_227485_0_)
-
-