register Simple
static ScreenHandlerType<T> registerSimple<T extends ScreenHandler>(Identifier id, ScreenHandlerRegistry.SimpleClientHandlerFactory<T> factory)
Content copied to clipboard
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