register Factory
abstract void registerFactory(Identifier identifier, ContainerFactory<ScreenHandler> factory)
Content copied to clipboard
Register a "packet buffer -> container" factory. This is used both on the client and server side.
Parameters
identifier
a shared identifier, this identifier should also be used to register a container using ScreenProviderRegistry
factory
the ContainerFactory that should return a new ScreenHandler
Sources
jvm source
Link copied to clipboard