Java 类net.minecraft.client.gui.spectator.SpectatorMenu 实例源码

项目:DecompiledMinecraft    文件:GuiSpectator.java   
private void func_175266_a(int p_175266_1_, int p_175266_2_, float p_175266_3_, float p_175266_4_, ISpectatorMenuObject p_175266_5_)
{
    this.field_175268_g.getTextureManager().bindTexture(field_175269_a);

    if (p_175266_5_ != SpectatorMenu.field_178657_a)
    {
        int i = (int)(p_175266_4_ * 255.0F);
        GlStateManager.pushMatrix();
        GlStateManager.translate((float)p_175266_2_, p_175266_3_, 0.0F);
        float f = p_175266_5_.func_178662_A_() ? 1.0F : 0.25F;
        GlStateManager.color(f, f, f, p_175266_4_);
        p_175266_5_.func_178663_a(f, i);
        GlStateManager.popMatrix();
        String s = String.valueOf((Object)GameSettings.getKeyDisplayString(this.field_175268_g.gameSettings.keyBindsHotbar[p_175266_1_].getKeyCode()));

        if (i > 3 && p_175266_5_.func_178662_A_())
        {
            this.field_175268_g.fontRendererObj.drawStringWithShadow(s, (float)(p_175266_2_ + 19 - 2 - this.field_175268_g.fontRendererObj.getStringWidth(s)), p_175266_3_ + 6.0F + 3.0F, 16777215 + (i << 24));
        }
    }
}
项目:DecompiledMinecraft    文件:GuiSpectator.java   
public void func_175263_a(ScaledResolution p_175263_1_)
{
    int i = (int)(this.func_175265_c() * 255.0F);

    if (i > 3 && this.field_175271_i != null)
    {
        ISpectatorMenuObject ispectatormenuobject = this.field_175271_i.func_178645_b();
        String s = ispectatormenuobject != SpectatorMenu.field_178657_a ? ispectatormenuobject.getSpectatorName().getFormattedText() : this.field_175271_i.func_178650_c().func_178670_b().getFormattedText();

        if (s != null)
        {
            int j = (p_175263_1_.getScaledWidth() - this.field_175268_g.fontRendererObj.getStringWidth(s)) / 2;
            int k = p_175263_1_.getScaledHeight() - 35;
            GlStateManager.pushMatrix();
            GlStateManager.enableBlend();
            GlStateManager.tryBlendFuncSeparate(770, 771, 1, 0);
            this.field_175268_g.fontRendererObj.drawStringWithShadow(s, (float)j, (float)k, 16777215 + (i << 24));
            GlStateManager.disableBlend();
            GlStateManager.popMatrix();
        }
    }
}
项目:DecompiledMinecraft    文件:GuiSpectator.java   
public void func_175261_b()
{
    this.field_175270_h = Minecraft.getSystemTime();

    if (this.func_175262_a())
    {
        int i = this.field_175271_i.func_178648_e();

        if (i != -1)
        {
            this.field_175271_i.func_178644_b(i);
        }
    }
    else
    {
        this.field_175271_i = new SpectatorMenu(this);
    }
}
项目:BaseClient    文件:GuiSpectator.java   
private void func_175266_a(int p_175266_1_, int p_175266_2_, float p_175266_3_, float p_175266_4_, ISpectatorMenuObject p_175266_5_)
{
    this.field_175268_g.getTextureManager().bindTexture(field_175269_a);

    if (p_175266_5_ != SpectatorMenu.field_178657_a)
    {
        int i = (int)(p_175266_4_ * 255.0F);
        GlStateManager.pushMatrix();
        GlStateManager.translate((float)p_175266_2_, p_175266_3_, 0.0F);
        float f = p_175266_5_.func_178662_A_() ? 1.0F : 0.25F;
        GlStateManager.color(f, f, f, p_175266_4_);
        p_175266_5_.func_178663_a(f, i);
        GlStateManager.popMatrix();
        String s = String.valueOf((Object)GameSettings.getKeyDisplayString(this.field_175268_g.gameSettings.keyBindsHotbar[p_175266_1_].getKeyCode()));

        if (i > 3 && p_175266_5_.func_178662_A_())
        {
            this.field_175268_g.fontRendererObj.drawStringWithShadow(s, (float)(p_175266_2_ + 19 - 2 - this.field_175268_g.fontRendererObj.getStringWidth(s)), p_175266_3_ + 6.0F + 3.0F, 16777215 + (i << 24));
        }
    }
}
项目:BaseClient    文件:GuiSpectator.java   
public void func_175263_a(ScaledResolution p_175263_1_)
{
    int i = (int)(this.func_175265_c() * 255.0F);

    if (i > 3 && this.field_175271_i != null)
    {
        ISpectatorMenuObject ispectatormenuobject = this.field_175271_i.func_178645_b();
        String s = ispectatormenuobject != SpectatorMenu.field_178657_a ? ispectatormenuobject.getSpectatorName().getFormattedText() : this.field_175271_i.func_178650_c().func_178670_b().getFormattedText();

        if (s != null)
        {
            int j = (p_175263_1_.getScaledWidth() - this.field_175268_g.fontRendererObj.getStringWidth(s)) / 2;
            int k = p_175263_1_.getScaledHeight() - 35;
            GlStateManager.pushMatrix();
            GlStateManager.enableBlend();
            GlStateManager.tryBlendFuncSeparate(770, 771, 1, 0);
            this.field_175268_g.fontRendererObj.drawStringWithShadow(s, (float)j, (float)k, 16777215 + (i << 24));
            GlStateManager.disableBlend();
            GlStateManager.popMatrix();
        }
    }
}
项目:BaseClient    文件:GuiSpectator.java   
public void func_175261_b()
{
    this.field_175270_h = Minecraft.getSystemTime();

    if (this.func_175262_a())
    {
        int i = this.field_175271_i.func_178648_e();

        if (i != -1)
        {
            this.field_175271_i.func_178644_b(i);
        }
    }
    else
    {
        this.field_175271_i = new SpectatorMenu(this);
    }
}
项目:BaseClient    文件:GuiSpectator.java   
private void func_175266_a(int p_175266_1_, int p_175266_2_, float p_175266_3_, float p_175266_4_, ISpectatorMenuObject p_175266_5_)
{
    this.field_175268_g.getTextureManager().bindTexture(field_175269_a);

    if (p_175266_5_ != SpectatorMenu.field_178657_a)
    {
        int i = (int)(p_175266_4_ * 255.0F);
        GlStateManager.pushMatrix();
        GlStateManager.translate((float)p_175266_2_, p_175266_3_, 0.0F);
        float f = p_175266_5_.func_178662_A_() ? 1.0F : 0.25F;
        GlStateManager.color(f, f, f, p_175266_4_);
        p_175266_5_.func_178663_a(f, i);
        GlStateManager.popMatrix();
        String s = String.valueOf((Object)GameSettings.getKeyDisplayString(this.field_175268_g.gameSettings.keyBindsHotbar[p_175266_1_].getKeyCode()));

        if (i > 3 && p_175266_5_.func_178662_A_())
        {
            this.field_175268_g.fontRendererObj.drawStringWithShadow(s, (float)(p_175266_2_ + 19 - 2 - this.field_175268_g.fontRendererObj.getStringWidth(s)), p_175266_3_ + 6.0F + 3.0F, 16777215 + (i << 24));
        }
    }
}
项目:BaseClient    文件:GuiSpectator.java   
public void func_175263_a(ScaledResolution p_175263_1_)
{
    int i = (int)(this.func_175265_c() * 255.0F);

    if (i > 3 && this.field_175271_i != null)
    {
        ISpectatorMenuObject ispectatormenuobject = this.field_175271_i.func_178645_b();
        String s = ispectatormenuobject != SpectatorMenu.field_178657_a ? ispectatormenuobject.getSpectatorName().getFormattedText() : this.field_175271_i.func_178650_c().func_178670_b().getFormattedText();

        if (s != null)
        {
            int j = (p_175263_1_.getScaledWidth() - this.field_175268_g.fontRendererObj.getStringWidth(s)) / 2;
            int k = p_175263_1_.getScaledHeight() - 35;
            GlStateManager.pushMatrix();
            GlStateManager.enableBlend();
            GlStateManager.tryBlendFuncSeparate(770, 771, 1, 0);
            this.field_175268_g.fontRendererObj.drawStringWithShadow(s, (float)j, (float)k, 16777215 + (i << 24));
            GlStateManager.disableBlend();
            GlStateManager.popMatrix();
        }
    }
}
项目:BaseClient    文件:GuiSpectator.java   
public void func_175261_b()
{
    this.field_175270_h = Minecraft.getSystemTime();

    if (this.func_175262_a())
    {
        int i = this.field_175271_i.func_178648_e();

        if (i != -1)
        {
            this.field_175271_i.func_178644_b(i);
        }
    }
    else
    {
        this.field_175271_i = new SpectatorMenu(this);
    }
}
项目:Backmemed    文件:GuiSpectator.java   
private void renderSlot(int p_175266_1_, int p_175266_2_, float p_175266_3_, float p_175266_4_, ISpectatorMenuObject p_175266_5_)
{
    this.mc.getTextureManager().bindTexture(SPECTATOR_WIDGETS);

    if (p_175266_5_ != SpectatorMenu.EMPTY_SLOT)
    {
        int i = (int)(p_175266_4_ * 255.0F);
        GlStateManager.pushMatrix();
        GlStateManager.translate((float)p_175266_2_, p_175266_3_, 0.0F);
        float f = p_175266_5_.isEnabled() ? 1.0F : 0.25F;
        GlStateManager.color(f, f, f, p_175266_4_);
        p_175266_5_.renderIcon(f, i);
        GlStateManager.popMatrix();
        String s = String.valueOf((Object)GameSettings.getKeyDisplayString(this.mc.gameSettings.keyBindsHotbar[p_175266_1_].getKeyCode()));

        if (i > 3 && p_175266_5_.isEnabled())
        {
            this.mc.fontRendererObj.drawStringWithShadow(s, (float)(p_175266_2_ + 19 - 2 - this.mc.fontRendererObj.getStringWidth(s)), p_175266_3_ + 6.0F + 3.0F, 16777215 + (i << 24));
        }
    }
}
项目:Backmemed    文件:GuiSpectator.java   
public void renderSelectedItem(ScaledResolution p_175263_1_)
{
    int i = (int)(this.getHotbarAlpha() * 255.0F);

    if (i > 3 && this.menu != null)
    {
        ISpectatorMenuObject ispectatormenuobject = this.menu.getSelectedItem();
        String s = ispectatormenuobject == SpectatorMenu.EMPTY_SLOT ? this.menu.getSelectedCategory().getPrompt().getFormattedText() : ispectatormenuobject.getSpectatorName().getFormattedText();

        if (s != null)
        {
            int j = (p_175263_1_.getScaledWidth() - this.mc.fontRendererObj.getStringWidth(s)) / 2;
            int k = p_175263_1_.getScaledHeight() - 35;
            GlStateManager.pushMatrix();
            GlStateManager.enableBlend();
            GlStateManager.tryBlendFuncSeparate(GlStateManager.SourceFactor.SRC_ALPHA, GlStateManager.DestFactor.ONE_MINUS_SRC_ALPHA, GlStateManager.SourceFactor.ONE, GlStateManager.DestFactor.ZERO);
            this.mc.fontRendererObj.drawStringWithShadow(s, (float)j, (float)k, 16777215 + (i << 24));
            GlStateManager.disableBlend();
            GlStateManager.popMatrix();
        }
    }
}
项目:Backmemed    文件:GuiSpectator.java   
public void onMiddleClick()
{
    this.lastSelectionTime = Minecraft.getSystemTime();

    if (this.isMenuActive())
    {
        int i = this.menu.getSelectedSlot();

        if (i != -1)
        {
            this.menu.selectSlot(i);
        }
    }
    else
    {
        this.menu = new SpectatorMenu(this);
    }
}
项目:CustomWorldGen    文件:GuiSpectator.java   
private void renderSlot(int p_175266_1_, int p_175266_2_, float p_175266_3_, float p_175266_4_, ISpectatorMenuObject p_175266_5_)
{
    this.mc.getTextureManager().bindTexture(SPECTATOR_WIDGETS);

    if (p_175266_5_ != SpectatorMenu.EMPTY_SLOT)
    {
        int i = (int)(p_175266_4_ * 255.0F);
        GlStateManager.pushMatrix();
        GlStateManager.translate((float)p_175266_2_, p_175266_3_, 0.0F);
        float f = p_175266_5_.isEnabled() ? 1.0F : 0.25F;
        GlStateManager.color(f, f, f, p_175266_4_);
        p_175266_5_.renderIcon(f, i);
        GlStateManager.popMatrix();
        String s = String.valueOf(this.mc.gameSettings.keyBindsHotbar[p_175266_1_].getDisplayName());

        if (i > 3 && p_175266_5_.isEnabled())
        {
            this.mc.fontRendererObj.drawStringWithShadow(s, (float)(p_175266_2_ + 19 - 2 - this.mc.fontRendererObj.getStringWidth(s)), p_175266_3_ + 6.0F + 3.0F, 16777215 + (i << 24));
        }
    }
}
项目:CustomWorldGen    文件:GuiSpectator.java   
public void renderSelectedItem(ScaledResolution p_175263_1_)
{
    int i = (int)(this.getHotbarAlpha() * 255.0F);

    if (i > 3 && this.menu != null)
    {
        ISpectatorMenuObject ispectatormenuobject = this.menu.getSelectedItem();
        String s = ispectatormenuobject == SpectatorMenu.EMPTY_SLOT ? this.menu.getSelectedCategory().getPrompt().getFormattedText() : ispectatormenuobject.getSpectatorName().getFormattedText();

        if (s != null)
        {
            int j = (p_175263_1_.getScaledWidth() - this.mc.fontRendererObj.getStringWidth(s)) / 2;
            int k = p_175263_1_.getScaledHeight() - 35;
            GlStateManager.pushMatrix();
            GlStateManager.enableBlend();
            GlStateManager.tryBlendFuncSeparate(GlStateManager.SourceFactor.SRC_ALPHA, GlStateManager.DestFactor.ONE_MINUS_SRC_ALPHA, GlStateManager.SourceFactor.ONE, GlStateManager.DestFactor.ZERO);
            this.mc.fontRendererObj.drawStringWithShadow(s, (float)j, (float)k, 16777215 + (i << 24));
            GlStateManager.disableBlend();
            GlStateManager.popMatrix();
        }
    }
}
项目:CustomWorldGen    文件:GuiSpectator.java   
public void onMiddleClick()
{
    this.lastSelectionTime = Minecraft.getSystemTime();

    if (this.isMenuActive())
    {
        int i = this.menu.getSelectedSlot();

        if (i != -1)
        {
            this.menu.selectSlot(i);
        }
    }
    else
    {
        this.menu = new SpectatorMenu(this);
    }
}
项目:ExpandedRailsMod    文件:GuiSpectator.java   
private void renderSlot(int p_175266_1_, int p_175266_2_, float p_175266_3_, float p_175266_4_, ISpectatorMenuObject p_175266_5_)
{
    this.mc.getTextureManager().bindTexture(SPECTATOR_WIDGETS);

    if (p_175266_5_ != SpectatorMenu.EMPTY_SLOT)
    {
        int i = (int)(p_175266_4_ * 255.0F);
        GlStateManager.pushMatrix();
        GlStateManager.translate((float)p_175266_2_, p_175266_3_, 0.0F);
        float f = p_175266_5_.isEnabled() ? 1.0F : 0.25F;
        GlStateManager.color(f, f, f, p_175266_4_);
        p_175266_5_.renderIcon(f, i);
        GlStateManager.popMatrix();
        String s = String.valueOf(this.mc.gameSettings.keyBindsHotbar[p_175266_1_].getDisplayName());

        if (i > 3 && p_175266_5_.isEnabled())
        {
            this.mc.fontRendererObj.drawStringWithShadow(s, (float)(p_175266_2_ + 19 - 2 - this.mc.fontRendererObj.getStringWidth(s)), p_175266_3_ + 6.0F + 3.0F, 16777215 + (i << 24));
        }
    }
}
项目:ExpandedRailsMod    文件:GuiSpectator.java   
public void renderSelectedItem(ScaledResolution p_175263_1_)
{
    int i = (int)(this.getHotbarAlpha() * 255.0F);

    if (i > 3 && this.menu != null)
    {
        ISpectatorMenuObject ispectatormenuobject = this.menu.getSelectedItem();
        String s = ispectatormenuobject == SpectatorMenu.EMPTY_SLOT ? this.menu.getSelectedCategory().getPrompt().getFormattedText() : ispectatormenuobject.getSpectatorName().getFormattedText();

        if (s != null)
        {
            int j = (p_175263_1_.getScaledWidth() - this.mc.fontRendererObj.getStringWidth(s)) / 2;
            int k = p_175263_1_.getScaledHeight() - 35;
            GlStateManager.pushMatrix();
            GlStateManager.enableBlend();
            GlStateManager.tryBlendFuncSeparate(GlStateManager.SourceFactor.SRC_ALPHA, GlStateManager.DestFactor.ONE_MINUS_SRC_ALPHA, GlStateManager.SourceFactor.ONE, GlStateManager.DestFactor.ZERO);
            this.mc.fontRendererObj.drawStringWithShadow(s, (float)j, (float)k, 16777215 + (i << 24));
            GlStateManager.disableBlend();
            GlStateManager.popMatrix();
        }
    }
}
项目:ExpandedRailsMod    文件:GuiSpectator.java   
public void onMiddleClick()
{
    this.lastSelectionTime = Minecraft.getSystemTime();

    if (this.isMenuActive())
    {
        int i = this.menu.getSelectedSlot();

        if (i != -1)
        {
            this.menu.selectSlot(i);
        }
    }
    else
    {
        this.menu = new SpectatorMenu(this);
    }
}
项目:DecompiledMinecraft    文件:GuiSpectator.java   
public void func_175260_a(int p_175260_1_)
{
    this.field_175270_h = Minecraft.getSystemTime();

    if (this.field_175271_i != null)
    {
        this.field_175271_i.func_178644_b(p_175260_1_);
    }
    else
    {
        this.field_175271_i = new SpectatorMenu(this);
    }
}
项目:DecompiledMinecraft    文件:GuiSpectator.java   
public void func_175259_b(int p_175259_1_)
{
    int i;

    for (i = this.field_175271_i.func_178648_e() + p_175259_1_; i >= 0 && i <= 8 && (this.field_175271_i.func_178643_a(i) == SpectatorMenu.field_178657_a || !this.field_175271_i.func_178643_a(i).func_178662_A_()); i += p_175259_1_)
    {
        ;
    }

    if (i >= 0 && i <= 8)
    {
        this.field_175271_i.func_178644_b(i);
        this.field_175270_h = Minecraft.getSystemTime();
    }
}
项目:BaseClient    文件:GuiSpectator.java   
public void func_175260_a(int p_175260_1_)
{
    this.field_175270_h = Minecraft.getSystemTime();

    if (this.field_175271_i != null)
    {
        this.field_175271_i.func_178644_b(p_175260_1_);
    }
    else
    {
        this.field_175271_i = new SpectatorMenu(this);
    }
}
项目:BaseClient    文件:GuiSpectator.java   
public void func_175259_b(int p_175259_1_)
{
    int i;

    for (i = this.field_175271_i.func_178648_e() + p_175259_1_; i >= 0 && i <= 8 && (this.field_175271_i.func_178643_a(i) == SpectatorMenu.field_178657_a || !this.field_175271_i.func_178643_a(i).func_178662_A_()); i += p_175259_1_)
    {
        ;
    }

    if (i >= 0 && i <= 8)
    {
        this.field_175271_i.func_178644_b(i);
        this.field_175270_h = Minecraft.getSystemTime();
    }
}
项目:BaseClient    文件:GuiSpectator.java   
public void func_175260_a(int p_175260_1_)
{
    this.field_175270_h = Minecraft.getSystemTime();

    if (this.field_175271_i != null)
    {
        this.field_175271_i.func_178644_b(p_175260_1_);
    }
    else
    {
        this.field_175271_i = new SpectatorMenu(this);
    }
}
项目:BaseClient    文件:GuiSpectator.java   
public void func_175259_b(int p_175259_1_)
{
    int i;

    for (i = this.field_175271_i.func_178648_e() + p_175259_1_; i >= 0 && i <= 8 && (this.field_175271_i.func_178643_a(i) == SpectatorMenu.field_178657_a || !this.field_175271_i.func_178643_a(i).func_178662_A_()); i += p_175259_1_)
    {
        ;
    }

    if (i >= 0 && i <= 8)
    {
        this.field_175271_i.func_178644_b(i);
        this.field_175270_h = Minecraft.getSystemTime();
    }
}
项目:Backmemed    文件:GuiSpectator.java   
public void onHotbarSelected(int p_175260_1_)
{
    this.lastSelectionTime = Minecraft.getSystemTime();

    if (this.menu != null)
    {
        this.menu.selectSlot(p_175260_1_);
    }
    else
    {
        this.menu = new SpectatorMenu(this);
    }
}
项目:Backmemed    文件:GuiSpectator.java   
public void onMouseScroll(int p_175259_1_)
{
    int i;

    for (i = this.menu.getSelectedSlot() + p_175259_1_; i >= 0 && i <= 8 && (this.menu.getItem(i) == SpectatorMenu.EMPTY_SLOT || !this.menu.getItem(i).isEnabled()); i += p_175259_1_)
    {
        ;
    }

    if (i >= 0 && i <= 8)
    {
        this.menu.selectSlot(i);
        this.lastSelectionTime = Minecraft.getSystemTime();
    }
}
项目:CustomWorldGen    文件:GuiSpectator.java   
public void onHotbarSelected(int p_175260_1_)
{
    this.lastSelectionTime = Minecraft.getSystemTime();

    if (this.menu != null)
    {
        this.menu.selectSlot(p_175260_1_);
    }
    else
    {
        this.menu = new SpectatorMenu(this);
    }
}
项目:CustomWorldGen    文件:GuiSpectator.java   
public void onMouseScroll(int p_175259_1_)
{
    int i;

    for (i = this.menu.getSelectedSlot() + p_175259_1_; i >= 0 && i <= 8 && (this.menu.getItem(i) == SpectatorMenu.EMPTY_SLOT || !this.menu.getItem(i).isEnabled()); i += p_175259_1_)
    {
        ;
    }

    if (i >= 0 && i <= 8)
    {
        this.menu.selectSlot(i);
        this.lastSelectionTime = Minecraft.getSystemTime();
    }
}
项目:ExpandedRailsMod    文件:GuiSpectator.java   
public void onHotbarSelected(int p_175260_1_)
{
    this.lastSelectionTime = Minecraft.getSystemTime();

    if (this.menu != null)
    {
        this.menu.selectSlot(p_175260_1_);
    }
    else
    {
        this.menu = new SpectatorMenu(this);
    }
}
项目:ExpandedRailsMod    文件:GuiSpectator.java   
public void onMouseScroll(int p_175259_1_)
{
    int i;

    for (i = this.menu.getSelectedSlot() + p_175259_1_; i >= 0 && i <= 8 && (this.menu.getItem(i) == SpectatorMenu.EMPTY_SLOT || !this.menu.getItem(i).isEnabled()); i += p_175259_1_)
    {
        ;
    }

    if (i >= 0 && i <= 8)
    {
        this.menu.selectSlot(i);
        this.lastSelectionTime = Minecraft.getSystemTime();
    }
}
项目:DecompiledMinecraft    文件:TeleportToTeam.java   
public void func_178661_a(SpectatorMenu menu)
{
    menu.func_178647_a(this);
}
项目:DecompiledMinecraft    文件:TeleportToTeam.java   
public void func_178661_a(SpectatorMenu menu)
{
    menu.func_178647_a(new TeleportToPlayer(this.field_178675_d));
}
项目:DecompiledMinecraft    文件:SpectatorDetails.java   
public ISpectatorMenuObject func_178680_a(int p_178680_1_)
{
    return p_178680_1_ >= 0 && p_178680_1_ < this.field_178682_b.size() ? (ISpectatorMenuObject)Objects.firstNonNull(this.field_178682_b.get(p_178680_1_), SpectatorMenu.field_178657_a) : SpectatorMenu.field_178657_a;
}
项目:DecompiledMinecraft    文件:TeleportToPlayer.java   
public void func_178661_a(SpectatorMenu menu)
{
    menu.func_178647_a(this);
}
项目:DecompiledMinecraft    文件:GuiSpectator.java   
public void func_175257_a(SpectatorMenu p_175257_1_)
{
    this.field_175271_i = null;
    this.field_175270_h = 0L;
}
项目:BaseClient    文件:TeleportToTeam.java   
public void func_178661_a(SpectatorMenu menu)
{
    menu.func_178647_a(this);
}
项目:BaseClient    文件:TeleportToTeam.java   
public void func_178661_a(SpectatorMenu menu)
{
    menu.func_178647_a(new TeleportToPlayer(this.field_178675_d));
}
项目:BaseClient    文件:SpectatorDetails.java   
public ISpectatorMenuObject func_178680_a(int p_178680_1_)
{
    return p_178680_1_ >= 0 && p_178680_1_ < this.field_178682_b.size() ? (ISpectatorMenuObject)Objects.firstNonNull(this.field_178682_b.get(p_178680_1_), SpectatorMenu.field_178657_a) : SpectatorMenu.field_178657_a;
}
项目:BaseClient    文件:TeleportToPlayer.java   
public void func_178661_a(SpectatorMenu menu)
{
    menu.func_178647_a(this);
}
项目:BaseClient    文件:GuiSpectator.java   
public void func_175257_a(SpectatorMenu p_175257_1_)
{
    this.field_175271_i = null;
    this.field_175270_h = 0L;
}