MCPcopy Create free account
hub / github.com/Teneted/Tenet / getTag

Method getTag

src/main/java/org/bukkit/Server.java:1273–1273  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

1271 * @return the tag or null
1272 */
1273 @Nullable
1274 <T extends Keyed> Tag<T> getTag(@NotNull String registry, @NotNull NamespacedKey tag, @NotNull Class<T> clazz);
1275
1276 /**

Callers 15

getTagMethod · 0.65
constructMethod · 0.65
addUnsafeEnchantmentMethod · 0.65
makeTagMethod · 0.65
removeEnchantmentMethod · 0.65
getItemMetaMethod · 0.65
isSimilarMethod · 0.65
hasItemMetaMethod · 0.65
canItemStacksStackMethod · 0.65
getFilledBucketMethod · 0.65
FluidStackClass · 0.65

Implementers 2

CraftServersrc/main/java/org/bukkit/craftbukkit/v
Bukkitsrc/main/java/org/bukkit/Bukkit.java

Calls

no outgoing calls

Tested by

no test coverage detected