Class RegistriesImpl.RegistryProviderImpl
java.lang.Object
me.shedaniel.architectury.registry.forge.RegistriesImpl.RegistryProviderImpl
- All Implemented Interfaces:
me.shedaniel.architectury.registry.Registries.RegistryProvider
- Enclosing class:
- RegistriesImpl
public static class RegistriesImpl.RegistryProviderImpl
extends Object
implements me.shedaniel.architectury.registry.Registries.RegistryProvider
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends me.shedaniel.architectury.core.RegistryEntry<T>>
me.shedaniel.architectury.registry.registries.RegistryBuilder<T><T> void
forRegistry
(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> key, Consumer<me.shedaniel.architectury.registry.Registry<T>> consumer) <T> me.shedaniel.architectury.registry.Registry<T>
get
(net.minecraft.core.Registry<T> registry) <T> me.shedaniel.architectury.registry.Registry<T>
get
(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> registryKey) <T> me.shedaniel.architectury.registry.Registry<T>
get
(net.minecraftforge.registries.IForgeRegistry registry)
-
Constructor Details
-
RegistryProviderImpl
-
-
Method Details
-
get
public <T> me.shedaniel.architectury.registry.Registry<T> get(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> registryKey) - Specified by:
get
in interfaceme.shedaniel.architectury.registry.Registries.RegistryProvider
-
get
public <T> me.shedaniel.architectury.registry.Registry<T> get(net.minecraftforge.registries.IForgeRegistry registry) -
get
public <T> me.shedaniel.architectury.registry.Registry<T> get(net.minecraft.core.Registry<T> registry) - Specified by:
get
in interfaceme.shedaniel.architectury.registry.Registries.RegistryProvider
-
forRegistry
public <T> void forRegistry(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> key, Consumer<me.shedaniel.architectury.registry.Registry<T>> consumer) - Specified by:
forRegistry
in interfaceme.shedaniel.architectury.registry.Registries.RegistryProvider
-
builder
public <T extends me.shedaniel.architectury.core.RegistryEntry<T>> me.shedaniel.architectury.registry.registries.RegistryBuilder<T> builder(Class<T> type, net.minecraft.resources.ResourceLocation registryId) - Specified by:
builder
in interfaceme.shedaniel.architectury.registry.Registries.RegistryProvider
-