MCPcopy Create free account
hub / github.com/PaperMC/Paper / get

Method get

paper-api/src/main/java/org/bukkit/inventory/MenuType.java:238–238  ·  view source on GitHub ↗
(final @KeyPattern.Value String key)

Source from the content-addressed store, hash-verified

236 Class<? extends InventoryView> getInventoryViewClass();
237
238 @SuppressWarnings("unchecked")
239 private static <T extends MenuType> T get(final @KeyPattern.Value String key) {
240 return (T) Registry.MENU.getOrThrow(Key.key(Key.MINECRAFT_NAMESPACE, key));
241 }

Callers 15

MenuTypeInterface · 0.95
loadPermissionMethod · 0.65
hasPermissionMethod · 0.65
getByNameMethod · 0.65
PluginDescriptionFileMethod · 0.65
saveMethod · 0.65
loadMapMethod · 0.65
makePluginNameListMethod · 0.65
saveMapMethod · 0.65
loadPluginsMethod · 0.65
loadPluginMethod · 0.65
getPluginMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected