Container Provider Registry
public interface ContainerProviderRegistry
Content copied to clipboard
Deprecated
Use net.fabricmc.fabric.api.screenhandler.v1.ScreenHandlerRegistry instead.
Functions
openContainer
Link copied to clipboard
abstract void openContainer(Identifier identifier, PlayerEntity player, Consumer<PacketByteBuf> writer)
Content copied to clipboard
abstract void openContainer(Identifier identifier, ServerPlayerEntity player, Consumer<PacketByteBuf> writer)
Content copied to clipboard
registerFactory
Link copied to clipboard
abstract void registerFactory(Identifier identifier, ContainerFactory<ScreenHandler> factory)
Content copied to clipboard
Inheritors
ContainerProviderImpl
Link copied to clipboard
Sources
jvm source
Link copied to clipboard