Uses of Interface
dev.wyck.registry.internal.WyckRegistry
Packages that use WyckRegistry
-
Uses of WyckRegistry in dev.wyck.registry.internal
Methods in dev.wyck.registry.internal that return WyckRegistryModifier and TypeMethodDescriptionWyckRegistry.Factory.create(ResourceKey key) WyckRegistry.Factory.create(Collection<ResourceKey> keys) static WyckRegistryWyckRegistry.of(ResourceKey key) Creates a FrozenRegistry from a ResourceKey.static WyckRegistryWyckRegistry.of(RegistryId reference) Creates a FrozenRegistry from a RegistryReference.static WyckRegistryCreates a FrozenRegistry from a Minecraft registry path.Methods in dev.wyck.registry.internal that return types with arguments of type WyckRegistryModifier and TypeMethodDescriptionstatic Lazy<WyckRegistry> WyckRegistry.lazy(ResourceKey key) Creates a lazy FrozenRegistry.static Lazy<WyckRegistry> WyckRegistry.lazy(RegistryId reference) Creates a lazy FrozenRegistry.static Lazy<WyckRegistry> Creates a lazy FrozenRegistry.Method parameters in dev.wyck.registry.internal with type arguments of type WyckRegistryModifier and TypeMethodDescriptiondefault voidWyckRegistry.whileUnfrozen(Consumer<WyckRegistry> consumer) Runs the given consumer with the registry while it is unfrozen. -
Uses of WyckRegistry in dev.wyck.wrapper.internal
Method parameters in dev.wyck.wrapper.internal with type arguments of type WyckRegistryModifier and TypeMethodDescriptionstatic <W> RegisteredConstantTranslator<W> RegisteredConstantTranslator.of(Lazy<WyckRegistry> passedRegistry, Function<W, ResourceKey> keyExtractor, W[] values) Translator that resolves a wrapper against the given registry by the key extracted from it and inverts through a lazily built identity map from the resolved registry value back to the wrapper.