registerSimple

static ScreenHandlerType<TregisterSimple<T extends ScreenHandler>(Identifier id, ScreenHandlerRegistry.SimpleClientHandlerFactory<T> factory)

Creates and registers a new {@code ScreenHandlerType} that creates client-sided screen handlers using the factory.

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