Package org.spongepowered.api.tag
Interface Taggable<T extends Taggable<T>>
-
- All Superinterfaces:
DefaultedRegistryValue
- All Known Subinterfaces:
BlockType
,EntityType<A>
,FluidType
,ItemType
public interface Taggable<T extends Taggable<T>> extends DefaultedRegistryValue
A type that may be included in one or moreTag
collections.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<Tag<T>>
tags()
Gets alltags
that have been associated with this object.TagType<T>
tagType()
-
Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, key
-
-