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)
| 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 |
no outgoing calls