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 moreTagcollections.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<Tag<T>>tags()Gets alltagsthat have been associated with this object.TagType<T>tagType()-
Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, key
-
-