Java 类net.minecraft.server.IScoreboardCriteria 实例源码

项目:CraftBukkit    文件:CraftScoreboardManager.java   
public Collection<ScoreboardScore> getScoreboardScores(IScoreboardCriteria criteria, String name, Collection<ScoreboardScore> collection) {
    for (CraftScoreboard scoreboard : scoreboards) {
        Scoreboard board = scoreboard.board;
        for (ScoreboardObjective objective : (Iterable<ScoreboardObjective>) board.getObjectivesForCriteria(criteria)) {
            collection.add(board.getPlayerScoreForObjective(name, objective));
        }
    }
    return collection;
}
项目:Craftbukkit    文件:CraftScoreboardManager.java   
public Collection<ScoreboardScore> getScoreboardScores(IScoreboardCriteria criteria, String name, Collection<ScoreboardScore> collection) {
    for (CraftScoreboard scoreboard : scoreboards) {
        Scoreboard board = scoreboard.board;
        for (ScoreboardObjective objective : (Iterable<ScoreboardObjective>) board.getObjectivesForCriteria(criteria)) {
            collection.add(board.getPlayerScoreForObjective(name, objective));
        }
    }
    return collection;
}
项目:Almura-Server    文件:CraftScoreboardManager.java   
public Collection<ScoreboardScore> getScoreboardScores(IScoreboardCriteria criteria, String name, Collection<ScoreboardScore> collection) {
    for (CraftScoreboard scoreboard : scoreboards) {
        Scoreboard board = scoreboard.board;
        for (ScoreboardObjective objective : (Iterable<ScoreboardObjective>) board.getObjectivesForCriteria(criteria)) {
            collection.add(board.getPlayerScoreForObjective(name, objective));
        }
    }
    return collection;
}
项目:Tweakkit-Server    文件:CraftScoreboardManager.java   
public Collection<ScoreboardScore> getScoreboardScores(IScoreboardCriteria criteria, String name, Collection<ScoreboardScore> collection) {
    for (CraftScoreboard scoreboard : scoreboards) {
        Scoreboard board = scoreboard.board;
        for (ScoreboardObjective objective : (Iterable<ScoreboardObjective>) board.getObjectivesForCriteria(criteria)) {
            collection.add(board.getPlayerScoreForObjective(name, objective));
        }
    }
    return collection;
}
项目:SpigotSource    文件:CraftScoreboardManager.java   
public Collection<ScoreboardScore> getScoreboardScores(IScoreboardCriteria criteria, String name, Collection<ScoreboardScore> collection) {
    for (CraftScoreboard scoreboard : scoreboards) {
        Scoreboard board = scoreboard.board;
        for (ScoreboardObjective objective : (Iterable<ScoreboardObjective>) board.getObjectivesForCriteria(criteria)) {
            collection.add(board.getPlayerScoreForObjective(name, objective));
        }
    }
    return collection;
}
项目:Craft-city    文件:CraftScoreboardManager.java   
public Collection<ScoreboardScore> getScoreboardScores(IScoreboardCriteria criteria, String name, Collection<ScoreboardScore> collection) {
    for (CraftScoreboard scoreboard : scoreboards) {
        Scoreboard board = scoreboard.board;
        for (ScoreboardObjective objective : (Iterable<ScoreboardObjective>) board.getObjectivesForCriteria(criteria)) {
            collection.add(board.getPlayerScoreForObjective(name, objective));
        }
    }
    return collection;
}
项目:CraftBukkit    文件:CraftCriteria.java   
private CraftCriteria(IScoreboardCriteria criteria) {
    this.criteria = criteria;
    this.bukkitName = criteria.getName();
}
项目:CraftBukkit    文件:CraftScoreboardManager.java   
public void updateAllScoresForList(IScoreboardCriteria criteria, String name, List<EntityPlayer> of) {
    for (ScoreboardScore score : getScoreboardScores(criteria, name, new ArrayList<ScoreboardScore>())) {
        score.updateForList(of);
    }
}
项目:Craftbukkit    文件:CraftCriteria.java   
private CraftCriteria(IScoreboardCriteria criteria) {
    this.criteria = criteria;
    this.bukkitName = criteria.getName();
}
项目:Craftbukkit    文件:CraftScoreboardManager.java   
public void updateAllScoresForList(IScoreboardCriteria criteria, String name, List<EntityPlayer> of) {
    for (ScoreboardScore score : getScoreboardScores(criteria, name, new ArrayList<ScoreboardScore>())) {
        score.updateForList((List) of);
    }
}
项目:Almura-Server    文件:CraftCriteria.java   
private CraftCriteria(IScoreboardCriteria criteria) {
    this.criteria = criteria;
    this.bukkitName = criteria.getName();
}
项目:Almura-Server    文件:CraftScoreboardManager.java   
public void updateAllScoresForList(IScoreboardCriteria criteria, String name, List<EntityPlayer> of) {
    for (ScoreboardScore score : getScoreboardScores(criteria, name, new ArrayList<ScoreboardScore>())) {
        score.updateForList(of);
    }
}
项目:Tweakkit-Server    文件:CraftCriteria.java   
private CraftCriteria(IScoreboardCriteria criteria) {
    this.criteria = criteria;
    this.bukkitName = criteria.getName();
}
项目:Tweakkit-Server    文件:CraftScoreboardManager.java   
public void updateAllScoresForList(IScoreboardCriteria criteria, String name, List<EntityPlayer> of) {
    for (ScoreboardScore score : getScoreboardScores(criteria, name, new ArrayList<ScoreboardScore>())) {
        score.updateForList(of);
    }
}
项目:SpigotSource    文件:CraftCriteria.java   
private CraftCriteria(IScoreboardCriteria criteria) {
    this.criteria = criteria;
    this.bukkitName = criteria.getName();
}
项目:Craft-city    文件:CraftCriteria.java   
private CraftCriteria(IScoreboardCriteria criteria) {
    this.criteria = criteria;
    this.bukkitName = criteria.getName();
}
项目:Craft-city    文件:CraftScoreboardManager.java   
public void updateAllScoresForList(IScoreboardCriteria criteria, String name, List<EntityPlayer> of) {
    for (ScoreboardScore score : getScoreboardScores(criteria, name, new ArrayList<ScoreboardScore>())) {
        score.updateForList(of);
    }
}