Registry Builder Impl
Functions
Link copied to clipboard
open override fun <T : Any> buildDefaulted(key: RegistryKey<Registry<T>>, defaultId: Identifier): Registry<T>
Creates a Defaulted Registry.
Link copied to clipboard
open override fun <T : Any> buildDefaultedIntrusive(key: RegistryKey<Registry<T>>, defaultId: Identifier): Registry<T>
Creates a Defaulted Intrusive Registry.
Link copied to clipboard
Creates an Intrusive Registry.
Link copied to clipboard
Helper method for optimally extracting ids out of a RegistryEntry
Link copied to clipboard
Returns the translated name for a tag, where available.
Link copied to clipboard
Creates a registry value codec that allows for identifier shortcutting based on the namespace used to build this builder. Vanilla will shorten ids for the minecraft namespace (minecraft:thing to thing). This does the same thing but for the namespace provided.
Link copied to clipboard
Creates an entry codec for a registry that works with RegistryEntry.Reference directly, allowing you to work with the methods of that class directly.
Link copied to clipboard
Creates a RegistryEntry codec that automatically handles RegistrySupplier properly