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

项目:DecompiledMinecraft    文件:TeleportToPlayer.java   
public TeleportToPlayer(Collection<NetworkPlayerInfo> p_i45493_1_)
{
    this.field_178673_b = Lists.<ISpectatorMenuObject>newArrayList();

    for (NetworkPlayerInfo networkplayerinfo : field_178674_a.sortedCopy(p_i45493_1_))
    {
        if (networkplayerinfo.getGameType() != WorldSettings.GameType.SPECTATOR)
        {
            this.field_178673_b.add(new PlayerMenuObject(networkplayerinfo.getGameProfile()));
        }
    }
}
项目:BaseClient    文件:TeleportToPlayer.java   
public TeleportToPlayer(Collection<NetworkPlayerInfo> p_i45493_1_)
{
    this.field_178673_b = Lists.<ISpectatorMenuObject>newArrayList();

    for (NetworkPlayerInfo networkplayerinfo : field_178674_a.sortedCopy(p_i45493_1_))
    {
        if (networkplayerinfo.getGameType() != WorldSettings.GameType.SPECTATOR)
        {
            this.field_178673_b.add(new PlayerMenuObject(networkplayerinfo.getGameProfile()));
        }
    }
}
项目:BaseClient    文件:TeleportToPlayer.java   
public TeleportToPlayer(Collection<NetworkPlayerInfo> p_i45493_1_)
{
    this.field_178673_b = Lists.<ISpectatorMenuObject>newArrayList();

    for (NetworkPlayerInfo networkplayerinfo : field_178674_a.sortedCopy(p_i45493_1_))
    {
        if (networkplayerinfo.getGameType() != WorldSettings.GameType.SPECTATOR)
        {
            this.field_178673_b.add(new PlayerMenuObject(networkplayerinfo.getGameProfile()));
        }
    }
}
项目:Backmemed    文件:TeleportToPlayer.java   
public TeleportToPlayer(Collection<NetworkPlayerInfo> p_i45493_1_)
{
    this.items = Lists.<ISpectatorMenuObject>newArrayList();

    for (NetworkPlayerInfo networkplayerinfo : PROFILE_ORDER.sortedCopy(p_i45493_1_))
    {
        if (networkplayerinfo.getGameType() != GameType.SPECTATOR)
        {
            this.items.add(new PlayerMenuObject(networkplayerinfo.getGameProfile()));
        }
    }
}
项目:CustomWorldGen    文件:TeleportToPlayer.java   
public TeleportToPlayer(Collection<NetworkPlayerInfo> p_i45493_1_)
{
    this.items = Lists.<ISpectatorMenuObject>newArrayList();

    for (NetworkPlayerInfo networkplayerinfo : PROFILE_ORDER.sortedCopy(p_i45493_1_))
    {
        if (networkplayerinfo.getGameType() != GameType.SPECTATOR)
        {
            this.items.add(new PlayerMenuObject(networkplayerinfo.getGameProfile()));
        }
    }
}
项目:ExpandedRailsMod    文件:TeleportToPlayer.java   
public TeleportToPlayer(Collection<NetworkPlayerInfo> p_i45493_1_)
{
    this.items = Lists.<ISpectatorMenuObject>newArrayList();

    for (NetworkPlayerInfo networkplayerinfo : PROFILE_ORDER.sortedCopy(p_i45493_1_))
    {
        if (networkplayerinfo.getGameType() != GameType.SPECTATOR)
        {
            this.items.add(new PlayerMenuObject(networkplayerinfo.getGameProfile()));
        }
    }
}