Class RegistrarManagerImpl.RegistrarBuilderWrapper<T>

java.lang.Object
dev.architectury.registry.registries.fabric.RegistrarManagerImpl.RegistrarBuilderWrapper<T>
All Implemented Interfaces:
dev.architectury.registry.registries.RegistrarBuilder<T>
Enclosing class:
RegistrarManagerImpl

public static class RegistrarManagerImpl.RegistrarBuilderWrapper<T> extends Object implements dev.architectury.registry.registries.RegistrarBuilder<T>
  • Constructor Summary

    Constructors
    Constructor
    Description
    RegistrarBuilderWrapper(String modId, net.fabricmc.fabric.api.event.registry.FabricRegistryBuilder<T,net.minecraft.core.MappedRegistry<T>> builder)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    dev.architectury.registry.registries.Registrar<T>
     
    dev.architectury.registry.registries.RegistrarBuilder<T>
    option(dev.architectury.registry.registries.options.RegistrarOption option)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface dev.architectury.registry.registries.RegistrarBuilder

    saveToDisc, syncToClients
  • Constructor Details

    • RegistrarBuilderWrapper

      public RegistrarBuilderWrapper(String modId, net.fabricmc.fabric.api.event.registry.FabricRegistryBuilder<T,net.minecraft.core.MappedRegistry<T>> builder)
  • Method Details

    • build

      public dev.architectury.registry.registries.Registrar<T> build()
      Specified by:
      build in interface dev.architectury.registry.registries.RegistrarBuilder<T>
    • option

      public dev.architectury.registry.registries.RegistrarBuilder<T> option(dev.architectury.registry.registries.options.RegistrarOption option)
      Specified by:
      option in interface dev.architectury.registry.registries.RegistrarBuilder<T>