Package org.spongepowered.api.tag
Interface Taggable<T extends Taggable<T>>
- All Superinterfaces:
DefaultedRegistryValue<T>
- All Known Subinterfaces:
Biome,BlockType,DamageType,EnchantmentType,EntityType<A>,FluidType,ItemType
A type that may be included in one or more
Tag collections.-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanis(DefaultedTag<T> tag) Returns whether the given tag is associated with this object.tags(DefaultedRegistryType<T> registryType) Gets allTags that have been associated with this object in the given registry.Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, key