Interface CompoundNBT
Deprecated.
Will be removed in version 3.3.
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsTag(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.voidputBoolean(org.spongepowered.plugin.PluginContainer container, String key, boolean value) Deprecated.Adding a tag.voidDeprecated.Adding a tag.voidputByteArray(org.spongepowered.plugin.PluginContainer container, String key, byte[] value) Deprecated.Adding a tag.voidDeprecated.Adding a tag.voidDeprecated.Adding a tag.voidputIntArray(org.spongepowered.plugin.PluginContainer container, String key, int[] value) Deprecated.Adding a tag.voidputInteger(org.spongepowered.plugin.PluginContainer container, String key, int value) Deprecated.Adding a tag.voidputIntList(org.spongepowered.plugin.PluginContainer container, String key, List<Integer> value) Deprecated.Adding a tag.voidDeprecated.Adding a tag.voidputLongArray(org.spongepowered.plugin.PluginContainer container, String key, long[] value) Deprecated.Adding a tag.voidputLongList(org.spongepowered.plugin.PluginContainer container, String key, List<Long> value) Deprecated.Adding a tag.voidDeprecated.Adding a tag.voidDeprecated.Adding a tag.voidputTag(org.spongepowered.plugin.PluginContainer container, String key, CompoundTag tag) Deprecated.Adding a tag.voidDeprecated.Adding a tag.voidDeprecated.Deleting a tag.intsize(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 theConfigSerializableannotation.
Only objects marked with theSettingannotation 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.
-