Class GlobalRegistryHolder
java.lang.Object
com.github.retrooper.packetevents.util.mappings.GlobalRegistryHolder
- All Implemented Interfaces:
IRegistryHolder
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
getGlobalRegistryCacheKey
(@Nullable User user, ClientVersion version) @Nullable IRegistry
<?> getRegistry
(ResourceLocation registryKey, ClientVersion version) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github.retrooper.packetevents.util.mappings.IRegistryHolder
getRegistry, getRegistryOr, getRegistryOr
-
Field Details
-
INSTANCE
-
-
Method Details
-
getGlobalRegistryCacheKey
public static Object getGlobalRegistryCacheKey(@Nullable @Nullable User user, ClientVersion version) -
getRegistry
@Nullable public @Nullable IRegistry<?> getRegistry(ResourceLocation registryKey, ClientVersion version) - Specified by:
getRegistry
in interfaceIRegistryHolder
-