from

static FabricRegistryBuilder<T, Rfrom<T, R extends MutableRegistry<T>>(R registry)

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

Return

An instance of FabricRegistryBuilder

Parameters

registry

The base registry type such as net.minecraft.util.registry.SimpleRegistry or net.minecraft.util.registry.DefaultedRegistry

<T>

The type stored in the Registry

<R>

The registry type

Sources

jvm source
Link copied to clipboard