Java 类net.minecraft.client.gui.GuiSleepMP 实例源码

项目:ForgeHax    文件:BedModeMod.java   
@SubscribeEvent
public void onGuiUpdate(GuiOpenEvent event) {
    if(event.getGui() instanceof GuiSleepMP) {
        event.setCanceled(true);
    }
}