Package org.spongepowered.api.tag
Interface Tag<T>
- All Superinterfaces:
- Keyed,- ResourceKeyed
A 
resource keyed collection of Taggable values
 (of type T).
 While any number of tags may exist and the values each tag contains is arbitrary, vanilla Minecraft generally uses pre-defined tags for one of the following reasons:
- To define a common material that blocksare made of, for example,BlockTypeTags.ACACIA_LOGS
- To define a common behavior that the engineshould apply to a block, such as specifying a block as a log that can burn viaBlockTypeTags.LOGS_THAT_BURN
- 
Nested Class SummaryNested Classes
- 
Method SummaryStatic MethodsModifier and TypeMethodDescriptionstatic <T> Tag<T> of(DefaultedRegistryType<T> registryType, ResourceKey key) Methods inherited from interface org.spongepowered.api.ResourceKeyedkey
- 
Method Details- 
of
 
-