Class RegistriesImpl.RegistryBuilderWrapper<T extends me.shedaniel.architectury.core.RegistryEntry<T>>

java.lang.Object
me.shedaniel.architectury.registry.forge.RegistriesImpl.RegistryBuilderWrapper<T>
All Implemented Interfaces:
me.shedaniel.architectury.registry.registries.RegistryBuilder<T>
Enclosing class:
RegistriesImpl

public static class RegistriesImpl.RegistryBuilderWrapper<T extends me.shedaniel.architectury.core.RegistryEntry<T>> extends Object implements me.shedaniel.architectury.registry.registries.RegistryBuilder<T>
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    @NotNull me.shedaniel.architectury.registry.Registry<T>
     
    @NotNull me.shedaniel.architectury.registry.registries.RegistryBuilder<T>
    option(@NotNull me.shedaniel.architectury.registry.registries.RegistryOption option)
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface me.shedaniel.architectury.registry.registries.RegistryBuilder

    saveToDisc, syncToClients
  • Constructor Details

    • RegistryBuilderWrapper

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

    • build

      @NotNull public @NotNull me.shedaniel.architectury.registry.Registry<T> build()
      Specified by:
      build in interface me.shedaniel.architectury.registry.registries.RegistryBuilder<T extends me.shedaniel.architectury.core.RegistryEntry<T>>
    • option

      @NotNull public @NotNull me.shedaniel.architectury.registry.registries.RegistryBuilder<T> option(@NotNull @NotNull me.shedaniel.architectury.registry.registries.RegistryOption option)
      Specified by:
      option in interface me.shedaniel.architectury.registry.registries.RegistryBuilder<T extends me.shedaniel.architectury.core.RegistryEntry<T>>