ScreenProviderRegistryImpl

public class ScreenProviderRegistryImpl implements ScreenProviderRegistry

Functions

init
Link copied to clipboard
static void init()
registerFactory
Link copied to clipboard
void registerFactory<C extends ScreenHandler>(Identifier identifier, ContainerScreenFactory<C> containerScreenFactory)
Register a "Container -> ContainerScreen" factory.
void registerFactory(Identifier identifier, ContainerFactory<HandledScreen> factory)
Register a "packet -> ContainerScreen" factory.

Properties

INSTANCE
Link copied to clipboard
public final static ScreenProviderRegistry INSTANCE
Use the instance provided by ScreenProviderRegistry.

Sources

jvm source
Link copied to clipboard