Class SynchronizedRegistriesHandler
java.lang.Object
com.github.retrooper.packetevents.util.mappings.SynchronizedRegistriesHandler
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static final class
SynchronizedRegistriesHandler.RegistryEntry<T extends MappedEntity & CopyableEntity<T> & DeepComparableEntity>
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable SynchronizedRegistriesHandler.RegistryEntry
<?> getRegistryEntry
(ResourceLocation registryKey) static void
handleLegacyRegistries
(User user, ClientVersion version, NBTCompound registryData) static void
handleRegistry
(User user, ClientVersion version, ResourceLocation registryName, List<WrapperConfigServerRegistryData.RegistryElement> elements) static void
handleRegistry
(User user, ClientVersion version, ResourceLocation registryName, List<WrapperConfigServerRegistryData.RegistryElement> elements, Object cacheKey)
-
Method Details
-
getRegistryEntry
@Nullable public static @Nullable SynchronizedRegistriesHandler.RegistryEntry<?> getRegistryEntry(ResourceLocation registryKey) -
handleRegistry
public static void handleRegistry(User user, ClientVersion version, ResourceLocation registryName, List<WrapperConfigServerRegistryData.RegistryElement> elements) -
handleRegistry
public static void handleRegistry(User user, ClientVersion version, ResourceLocation registryName, List<WrapperConfigServerRegistryData.RegistryElement> elements, Object cacheKey) -
handleLegacyRegistries
public static void handleLegacyRegistries(User user, ClientVersion version, NBTCompound registryData)
-