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 Summary
Constructors -
Method Summary
Methods inherited from class org.skriptlang.skript.bukkit.tags.sources.TagSource
getAllTagsMatching, getOrigin, getTypes
-
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:
getAllTags
in classTagSource<T extends org.bukkit.Keyed>
- Returns:
- All the tags associated with this source.
-
getTag
Description copied from class:TagSource
Gets a specific tag by the key.
-