Interface CompoundNBT
Deprecated.
Will be removed in version 3.3.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsTag
(org.spongepowered.plugin.PluginContainer container, String key) Deprecated.Checking for the presence of a tag.getAllKeys
(org.spongepowered.plugin.PluginContainer container) Deprecated.Getting all the keys.getBoolean
(org.spongepowered.plugin.PluginContainer container, String key) Deprecated.Getting the tag value.Deprecated.Getting the tag value.Optional<byte[]>
getByteArray
(org.spongepowered.plugin.PluginContainer container, String key) Deprecated.Getting the tag value.Deprecated.Getting the tag value.Deprecated.Getting the tag value.Optional<int[]>
getIntArray
(org.spongepowered.plugin.PluginContainer container, String key) Deprecated.Getting the tag value.getInteger
(org.spongepowered.plugin.PluginContainer container, String key) Deprecated.Getting the tag value.getIntList
(org.spongepowered.plugin.PluginContainer container, String key) Deprecated.Getting the tag value.Deprecated.Getting the tag value.Optional<long[]>
getLongArray
(org.spongepowered.plugin.PluginContainer container, String key) Deprecated.Getting the tag value.getLongList
(org.spongepowered.plugin.PluginContainer container, String key) Deprecated.Getting the tag value.Deprecated.Getting the tag value.Deprecated.Getting the tag value.<T extends CompoundTag>
Optional<T>Deprecated.Getting the tag value.Deprecated.Getting the tag value.void
putBoolean
(org.spongepowered.plugin.PluginContainer container, String key, boolean value) Deprecated.Adding a tag.void
Deprecated.Adding a tag.void
putByteArray
(org.spongepowered.plugin.PluginContainer container, String key, byte[] value) Deprecated.Adding a tag.void
Deprecated.Adding a tag.void
Deprecated.Adding a tag.void
putIntArray
(org.spongepowered.plugin.PluginContainer container, String key, int[] value) Deprecated.Adding a tag.void
putInteger
(org.spongepowered.plugin.PluginContainer container, String key, int value) Deprecated.Adding a tag.void
putIntList
(org.spongepowered.plugin.PluginContainer container, String key, List<Integer> value) Deprecated.Adding a tag.void
Deprecated.Adding a tag.void
putLongArray
(org.spongepowered.plugin.PluginContainer container, String key, long[] value) Deprecated.Adding a tag.void
putLongList
(org.spongepowered.plugin.PluginContainer container, String key, List<Long> value) Deprecated.Adding a tag.void
Deprecated.Adding a tag.void
Deprecated.Adding a tag.void
putTag
(org.spongepowered.plugin.PluginContainer container, String key, CompoundTag tag) Deprecated.Adding a tag.void
Deprecated.Adding a tag.void
Deprecated.Deleting a tag.int
size
(org.spongepowered.plugin.PluginContainer container) Deprecated.Getting the number of tags in ItemStack.
-
Method Details
-
remove
Deprecated.Deleting a tag. -
containsTag
Deprecated.Checking for the presence of a tag. -
putString
Deprecated.Adding a tag. If a tag with the specified key already exists, it will be overwritten. -
putUUID
Deprecated.Adding a tag. If a tag with the specified key already exists, it will be overwritten. -
putShort
Deprecated.Adding a tag. If a tag with the specified key already exists, it will be overwritten. -
putInteger
Deprecated.Adding a tag. If a tag with the specified key already exists, it will be overwritten. -
putLong
Deprecated.Adding a tag. If a tag with the specified key already exists, it will be overwritten. -
putFloat
Deprecated.Adding a tag. If a tag with the specified key already exists, it will be overwritten. -
putDouble
Deprecated.Adding a tag. If a tag with the specified key already exists, it will be overwritten. -
putByte
Deprecated.Adding a tag. If a tag with the specified key already exists, it will be overwritten. -
putBoolean
Deprecated.Adding a tag. If a tag with the specified key already exists, it will be overwritten. -
putIntArray
Deprecated.Adding a tag. If a tag with the specified key already exists, it will be overwritten. -
putIntList
void putIntList(org.spongepowered.plugin.PluginContainer container, String key, List<Integer> value) Deprecated.Adding a tag. If a tag with the specified key already exists, it will be overwritten. -
putLongArray
Deprecated.Adding a tag. If a tag with the specified key already exists, it will be overwritten. -
putLongList
Deprecated.Adding a tag. If a tag with the specified key already exists, it will be overwritten. -
putByteArray
Deprecated.Adding a tag. If a tag with the specified key already exists, it will be overwritten. -
putTag
Deprecated.Adding a tag. If a tag with the specified key already exists, it will be overwritten.
The class must be marked with theConfigSerializable
annotation.
Only objects marked with theSetting
annotation are saved. -
getAllKeys
Deprecated.Getting all the keys. -
getString
Deprecated.Getting the tag value. The method does not check for the type of value. -
getUUID
Deprecated.Getting the tag value. The method does not check for the type of value. -
getShort
Deprecated.Getting the tag value. The method does not check for the type of value. -
getInteger
Deprecated.Getting the tag value. The method does not check for the type of value. -
getLong
Deprecated.Getting the tag value. The method does not check for the type of value. -
getFloat
Deprecated.Getting the tag value. The method does not check for the type of value. -
getDouble
Deprecated.Getting the tag value. The method does not check for the type of value. -
getByte
Deprecated.Getting the tag value. The method does not check for the type of value. -
getBoolean
Deprecated.Getting the tag value. The method does not check for the type of value. -
getIntArray
Deprecated.Getting the tag value. The method does not check for the type of value. -
getIntList
Deprecated.Getting the tag value. The method does not check for the type of value. -
getLongArray
Deprecated.Getting the tag value. The method does not check for the type of value. -
getLongList
Deprecated.Getting the tag value. The method does not check for the type of value. -
getByteArray
Deprecated.Getting the tag value. The method does not check for the type of value. -
getTag
<T extends CompoundTag> Optional<T> getTag(org.spongepowered.plugin.PluginContainer container, String key, Class<T> clazz) Deprecated.Getting the tag value. If the object has been changed after receiving it, it must be rewritten.
Example of getting a value - GitHub -
size
int size(org.spongepowered.plugin.PluginContainer container) Deprecated.Getting the number of tags in ItemStack.
-