mirror of
https://github.com/architectury/architectury-api.git
synced 2026-04-02 21:47:40 -05:00
@@ -181,6 +181,12 @@ public class RegistrarManagerImpl {
|
||||
.setName(registryId), registryId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T> RegistrarBuilder<T> builderDefaulted(Class<T> type, ResourceLocation registryId, ResourceLocation defaultId) {
|
||||
return new RegistryBuilderWrapper<>(this, new net.minecraftforge.registries.RegistryBuilder<>()
|
||||
.setName(registryId).setDefaultKey(defaultId), registryId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T> void registerDynamicRegistry(ResourceKey<Registry<T>> key, Codec<T> dataCodec) {
|
||||
if (newDynamicRegistries == null) {
|
||||
|
||||
Reference in New Issue
Block a user