ClientProxy

基本信息

属性 值
路径 baubles.client.ClientProxy
类型 class
父类 CommonProxy
包名 baubles.client

方法

方法 行为
registerHandlers 空实现
registerKeyBindings 创建 KeyHandler 并注册到 FML 与 MinecraftForge EVENT_BUS;同时注册 GuiEvents
getClientGuiElement(ID, player, world, x, y, z) 当 world 是 WorldClient 且 ID == Baubles.GUI 时返回 GuiPlayerExpanded;否则 null
getClientWorld 返回 FMLClientHandler.instance().getClient().theWorld

相关条目