MCPcopy Index your code
hub / github.com/PaperMC/Paper / getRegistry

Method getRegistry

paper-api/src/main/java/org/bukkit/Server.java:2375–2375  ·  view source on GitHub ↗

Returns the registry for the given class. If no registry is present for the given class null will be returned. Depending on the implementation not every registry present in Registry will be returned by this method. @param tClass of the registry to get @param type of the regist

(@NotNull Class<T> tClass)

Source from the content-addressed store, hash-verified

2373 * with keys from {@link io.papermc.paper.registry.RegistryKey}
2374 */
2375 @Nullable
2376 @Deprecated(since = "1.20.6") // Paper
2377 <T extends Keyed> Registry<T> getRegistry(@NotNull Class<T> tClass);
2378

Callers 15

initMethod · 0.95
TestServerClass · 0.65
getInstrumentMethod · 0.65
getByKeyMethod · 0.65
valuesMethod · 0.65
getRegistryMethod · 0.65
getStructureMethod · 0.65
getEnchantmentMethod · 0.65
getByKeyMethod · 0.65
valuesMethod · 0.65
rewriteEnumValueMethod · 0.65

Implementers 1

CraftServerpaper-server/src/main/java/org/bukkit/

Calls

no outgoing calls