registerExtended

static ScreenHandlerType<TregisterExtended<T extends ScreenHandler>(Identifier id, ScreenHandlerRegistry.ExtendedClientHandlerFactory<T> factory)

Creates and registers a new {@code ScreenHandlerType} that creates client-sided screen handlers with additionalnetworked opening data.

These screen handlers must be opened with a ExtendedScreenHandlerFactory.

Return

the created type object

Parameters

id

the registry ID

factory

the client-sided screen handler factory

<T>

the screen handler type

Sources

jvm source
Link copied to clipboard