SimpleClientHandlerFactory

public interface SimpleClientHandlerFactory<T extends ScreenHandler>

A factory for client-sided screen handler instances.

Parameters

<T>

the screen handler type

Functions

create
Link copied to clipboard
@Environment(value = EnvType.CLIENT)
abstract T create(int syncId, PlayerInventory inventory)
Creates a new client-sided screen handler.

Sources

jvm source
Link copied to clipboard