Package foundry.veil.forge.platform
Class ForgeRegistrationFactory
java.lang.Object
foundry.veil.forge.platform.ForgeRegistrationFactory
- All Implemented Interfaces:
RegistrationProvider.Factory
@Internal
public class ForgeRegistrationFactory
extends Object
implements RegistrationProvider.Factory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> RegistrationProvider<T> create(net.minecraft.resources.ResourceKey<? extends net.minecraft.core.Registry<T>> resourceKey, String modId) Creates aRegistrationProvider.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface foundry.veil.platform.registry.RegistrationProvider.Factory
create
-
Constructor Details
-
ForgeRegistrationFactory
public ForgeRegistrationFactory()
-
-
Method Details
-
create
public <T> RegistrationProvider<T> create(net.minecraft.resources.ResourceKey<? extends net.minecraft.core.Registry<T>> resourceKey, String modId) Description copied from interface:RegistrationProvider.FactoryCreates aRegistrationProvider.- Specified by:
createin interfaceRegistrationProvider.Factory- Type Parameters:
T- the operand of the provider- Parameters:
resourceKey- theResourceKeyof the registry to create this provider formodId- the mod id for which the provider will register objects- Returns:
- the provider
-