Interface TagUtil
- All Known Subinterfaces:
TagUtil.Advanced
,TagUtil.Json
public interface TagUtil
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsTag
(org.spongepowered.plugin.PluginContainer container, String key) <T extends CompoundTag>
Optional<T>getCompoundTag
(Class<T> clazz, org.spongepowered.plugin.PluginContainer container, String key) <T extends CompoundTag>
voidputCompoundTag
(org.spongepowered.plugin.PluginContainer container, String key, T object) void
int
size
(org.spongepowered.plugin.PluginContainer container)
-
Method Details
-
putCompoundTag
<T extends CompoundTag> void putCompoundTag(org.spongepowered.plugin.PluginContainer container, String key, T object) -
getCompoundTag
<T extends CompoundTag> Optional<T> getCompoundTag(Class<T> clazz, org.spongepowered.plugin.PluginContainer container, String key) -
containsTag
-
removeTag
-
size
int size(org.spongepowered.plugin.PluginContainer container)
-