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