Package-level declarations

Types

Link copied to clipboard
class FuzzyMappedRegistry<T : Any>(resourceKey: ResourceKey<out Registry<T>>, lifecycle: Lifecycle) : InstantBindMappedRegistry<T>

InstantBindMappedRegistry implementation that stores an additional Map of all entries that maps non-namespaced names to all entries with that name.

Link copied to clipboard
annotation class HardcodedProperties

It is generally recommended to make properties like tool tiers, material options, recipes, etc. configurable.

Link copied to clipboard
open class InstantBindMappedRegistry<T : Any>(resourceKey: ResourceKey<out Registry<T>>, lifecycle: Lifecycle) : MappedRegistry<T>

MappedRegistry implementation that binds the value to the Holder.Reference immediately after registering it instead of waiting for freeze to be called.

Link copied to clipboard
Link copied to clipboard
object NovaRegistryAccess : RegistryAccess
Link copied to clipboard
abstract class RegistryElementBuilder<T : Any>(registry: WritableRegistry<in T>, val id: ResourceLocation)
Link copied to clipboard
class WrappingRegistry<T : Any, W : Any>(key: ResourceKey<out Registry<T>>, lifecycle: Lifecycle, wrapperRegistry: WritableRegistry<W>, toWrapper: (T) -> W) : MappedRegistry<T>