Class RegistriesImpl.RegistryBuilderWrapper<T>

java.lang.Object
dev.architectury.registry.registries.forge.RegistriesImpl.RegistryBuilderWrapper<T>
All Implemented Interfaces:
dev.architectury.registry.registries.RegistrarBuilder<T>
Enclosing class:
RegistriesImpl

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

    Constructors
    Constructor
    Description
    RegistryBuilderWrapper(@NotNull RegistriesImpl.RegistryProviderImpl provider, net.minecraftforge.registries.RegistryBuilder<?> builder)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull dev.architectury.registry.registries.Registrar<T>
     
    @NotNull dev.architectury.registry.registries.RegistrarBuilder<T>
    option(@NotNull 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

    • RegistryBuilderWrapper

      public RegistryBuilderWrapper(@NotNull @NotNull RegistriesImpl.RegistryProviderImpl provider, @NotNull net.minecraftforge.registries.RegistryBuilder<?> builder)
  • Method Details

    • build

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

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