• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java GuiSpectator类的典型用法和代码示例

java 2次浏览

本文整理汇总了Java中net.minecraft.client.gui.GuiSpectator的典型用法代码示例。如果您正苦于以下问题:Java GuiSpectator类的具体用法?Java GuiSpectator怎么用?Java GuiSpectator使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

GuiSpectator类属于net.minecraft.client.gui包,在下文中一共展示了GuiSpectator类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: func_178663_a

点赞 2

import net.minecraft.client.gui.GuiSpectator; //导入依赖的package包/类
public void func_178663_a(float p_178663_1_, int alpha)
{
    Minecraft.getMinecraft().getTextureManager().bindTexture(GuiSpectator.field_175269_a);

    if (this.field_178666_a < 0)
    {
        Gui.drawModalRectWithCustomSizedTexture(0, 0, 144.0F, 0.0F, 16, 16, 256.0F, 256.0F);
    }
    else
    {
        Gui.drawModalRectWithCustomSizedTexture(0, 0, 160.0F, 0.0F, 16, 16, 256.0F, 256.0F);
    }
}
 

开发者ID:Notoh,
项目名称:DecompiledMinecraft,
代码行数:14,
代码来源:SpectatorMenu.java

示例2: renderIcon

点赞 2

import net.minecraft.client.gui.GuiSpectator; //导入依赖的package包/类
public void renderIcon(float p_178663_1_, int alpha)
{
    Minecraft.getMinecraft().getTextureManager().bindTexture(GuiSpectator.SPECTATOR_WIDGETS);

    if (this.direction < 0)
    {
        Gui.drawModalRectWithCustomSizedTexture(0, 0, 144.0F, 0.0F, 16, 16, 256.0F, 256.0F);
    }
    else
    {
        Gui.drawModalRectWithCustomSizedTexture(0, 0, 160.0F, 0.0F, 16, 16, 256.0F, 256.0F);
    }
}
 

开发者ID:sudofox,
项目名称:Backmemed,
代码行数:14,
代码来源:SpectatorMenu.java

示例3: func_178663_a

点赞 2

import net.minecraft.client.gui.GuiSpectator; //导入依赖的package包/类
public void func_178663_a(float p_178663_1_, int alpha)
{
    Minecraft.getMinecraft().getTextureManager().bindTexture(GuiSpectator.field_175269_a);
    Gui.drawModalRectWithCustomSizedTexture(0, 0, 16.0F, 0.0F, 16, 16, 256.0F, 256.0F);
}
 

开发者ID:Notoh,
项目名称:DecompiledMinecraft,
代码行数:6,
代码来源:TeleportToTeam.java

示例4: func_178663_a

点赞 2

import net.minecraft.client.gui.GuiSpectator; //导入依赖的package包/类
public void func_178663_a(float p_178663_1_, int alpha)
{
    Minecraft.getMinecraft().getTextureManager().bindTexture(GuiSpectator.field_175269_a);
    Gui.drawModalRectWithCustomSizedTexture(0, 0, 0.0F, 0.0F, 16, 16, 256.0F, 256.0F);
}
 

开发者ID:Notoh,
项目名称:DecompiledMinecraft,
代码行数:6,
代码来源:TeleportToPlayer.java

示例5: renderIcon

点赞 2

import net.minecraft.client.gui.GuiSpectator; //导入依赖的package包/类
public void renderIcon(float p_178663_1_, int alpha)
{
    Minecraft.getMinecraft().getTextureManager().bindTexture(GuiSpectator.SPECTATOR_WIDGETS);
    Gui.drawModalRectWithCustomSizedTexture(0, 0, 16.0F, 0.0F, 16, 16, 256.0F, 256.0F);
}
 

开发者ID:sudofox,
项目名称:Backmemed,
代码行数:6,
代码来源:TeleportToTeam.java

示例6: renderIcon

点赞 2

import net.minecraft.client.gui.GuiSpectator; //导入依赖的package包/类
public void renderIcon(float p_178663_1_, int alpha)
{
    Minecraft.getMinecraft().getTextureManager().bindTexture(GuiSpectator.SPECTATOR_WIDGETS);
    Gui.drawModalRectWithCustomSizedTexture(0, 0, 0.0F, 0.0F, 16, 16, 256.0F, 256.0F);
}
 

开发者ID:sudofox,
项目名称:Backmemed,
代码行数:6,
代码来源:TeleportToPlayer.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)