Package | Description |
---|---|
net.minecraft.command.arguments | |
net.minecraft.command.impl | |
net.minecraft.entity.player | |
net.minecraft.scoreboard | |
net.minecraft.stats |
Modifier and Type | Method and Description |
---|---|
static ScoreCriteria |
ObjectiveCriteriaArgument.getObjectiveCriteria(com.mojang.brigadier.context.CommandContext<CommandSource> context,
java.lang.String name) |
ScoreCriteria |
ObjectiveCriteriaArgument.parse(com.mojang.brigadier.StringReader p_parse_1_) |
Modifier and Type | Method and Description |
---|---|
private static int |
ScoreboardCommand.addObjective(CommandSource source,
java.lang.String name,
ScoreCriteria criteria,
ITextComponent displayName) |
Modifier and Type | Method and Description |
---|---|
private void |
ServerPlayerEntity.handleTeamKill(java.lang.String p_195398_1_,
java.lang.String p_195398_2_,
ScoreCriteria[] p_195398_3_) |
private void |
ServerPlayerEntity.updateScorePoints(ScoreCriteria criteria,
int points) |
Modifier and Type | Field and Description |
---|---|
static ScoreCriteria |
ScoreCriteria.AIR |
static ScoreCriteria |
ScoreCriteria.ARMOR |
static ScoreCriteria |
ScoreCriteria.DEATH_COUNT |
static ScoreCriteria |
ScoreCriteria.DUMMY |
static ScoreCriteria |
ScoreCriteria.FOOD |
static ScoreCriteria |
ScoreCriteria.HEALTH |
static ScoreCriteria[] |
ScoreCriteria.KILLED_BY_TEAM |
static ScoreCriteria |
ScoreCriteria.LEVEL |
private ScoreCriteria |
ScoreObjective.objectiveCriteria |
static ScoreCriteria |
ScoreCriteria.PLAYER_KILL_COUNT |
static ScoreCriteria[] |
ScoreCriteria.TEAM_KILL |
static ScoreCriteria |
ScoreCriteria.TOTAL_KILL_COUNT |
static ScoreCriteria |
ScoreCriteria.TRIGGER |
static ScoreCriteria |
ScoreCriteria.XP |
Modifier and Type | Field and Description |
---|---|
static java.util.Map<java.lang.String,ScoreCriteria> |
ScoreCriteria.INSTANCES |
private java.util.Map<ScoreCriteria,java.util.List<ScoreObjective>> |
Scoreboard.scoreObjectiveCriterias |
Modifier and Type | Method and Description |
---|---|
ScoreCriteria |
ScoreObjective.getCriteria() |
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<ScoreCriteria> |
ScoreCriteria.func_216390_a(java.lang.String p_216390_0_) |
private static <T> java.util.Optional<ScoreCriteria> |
ScoreCriteria.func_216391_a(StatType<T> p_216391_0_,
ResourceLocation p_216391_1_) |
Modifier and Type | Method and Description |
---|---|
ScoreObjective |
Scoreboard.addObjective(java.lang.String p_199868_1_,
ScoreCriteria p_199868_2_,
ITextComponent p_199868_3_,
ScoreCriteria.RenderType p_199868_4_) |
void |
Scoreboard.forAllObjectives(ScoreCriteria p_197893_1_,
java.lang.String p_197893_2_,
java.util.function.Consumer<Score> p_197893_3_) |
Constructor and Description |
---|
ScoreObjective(Scoreboard p_i49788_1_,
java.lang.String p_i49788_2_,
ScoreCriteria p_i49788_3_,
ITextComponent p_i49788_4_,
ScoreCriteria.RenderType p_i49788_5_) |
Modifier and Type | Class and Description |
---|---|
class |
Stat<T> |