Gets a tag which has already been defined within the server. Plugins are suggested to use the concrete tags in Tag rather than this method which makes no guarantees about which tags are available, and may also be less performant due to lack of caching. Tags will be searched for in an im
(@NotNull String registry, @NotNull NamespacedKey tag, @NotNull Class<T> clazz)
| 2300 | * @return the tag or null |
| 2301 | */ |
| 2302 | @Nullable |
| 2303 | <T extends Keyed> Tag<T> getTag(@NotNull String registry, @NotNull NamespacedKey tag, @NotNull Class<T> clazz); |
| 2304 | |
| 2305 | /** |
no outgoing calls