GuiBeacon.java 文件源码

java
阅读 21 收藏 0 点赞 0 评论 0

项目:DecompiledMinecraft 作者:
/**
 * Draw the foreground layer for the GuiContainer (everything in front of the items). Args : mouseX, mouseY
 */
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
{
    RenderHelper.disableStandardItemLighting();
    this.drawCenteredString(this.fontRendererObj, I18n.format("tile.beacon.primary", new Object[0]), 62, 10, 14737632);
    this.drawCenteredString(this.fontRendererObj, I18n.format("tile.beacon.secondary", new Object[0]), 169, 10, 14737632);

    for (GuiButton guibutton : this.buttonList)
    {
        if (guibutton.isMouseOver())
        {
            guibutton.drawButtonForegroundLayer(mouseX - this.guiLeft, mouseY - this.guiTop);
            break;
        }
    }

    RenderHelper.enableGUIStandardItemLighting();
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号