createSimple

static FabricRegistryBuilder<T, SimpleRegistry<T>> createSimple<T>(Class<T> type, Identifier registryId)

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

Return

An instance of FabricRegistryBuilder

Parameters

registryId

The registry Identifier used as the registry id

<T>

The type stored in the Registry

Sources

jvm source
Link copied to clipboard