Class BukkitTagSource<T extends org.bukkit.Keyed>
java.lang.Object
org.skriptlang.skript.bukkit.tags.sources.TagSource<T>
org.skriptlang.skript.bukkit.tags.sources.BukkitTagSource<T>
- Type Parameters:
T- The class of the tags of this source.
A set of tags provided by Bukkit.
-
Constructor Details
-
BukkitTagSource
- Parameters:
registry- The name of the registry to use. For example,Tag.REGISTRY_ITEMS.type- The type of tag this represents. To continue the example,TagType.ITEMS.
-
-
Method Details
-
getAllTags
- Specified by:
getAllTagsin classTagSource<T extends org.bukkit.Keyed>- Returns:
- All the tags associated with this source.
-
getTag
Description copied from class:TagSourceGets a specific tag by the key.
-