createDefaulted

static FabricRegistryBuilder<T, DefaultedRegistry<T>> createDefaulted<T>(Class<T> type, Identifier registryId, Identifier defaultId)

Create a new FabricRegistryBuilder using a DefaultedRegistry, the registry has the MODDED attribute by default.

Return

An instance of FabricRegistryBuilder

Parameters

registryId

The registry Identifier used as the registry id

defaultId

The default registry id

<T>

The type stored in the Registry

Sources

jvm source
Link copied to clipboard