Modifier and Type | Method and Description |
---|---|
protected void |
IngameGui.renderScoreboard(ScoreObjective objective) |
Modifier and Type | Method and Description |
---|---|
private void |
PlayerTabOverlayGui.drawScoreboardValues(ScoreObjective objective,
int p_175247_2_,
java.lang.String name,
int p_175247_4_,
int p_175247_5_,
NetworkPlayerInfo info) |
void |
PlayerTabOverlayGui.render(int width,
Scoreboard scoreboardIn,
ScoreObjective scoreObjectiveIn) |
Modifier and Type | Method and Description |
---|---|
static ScoreObjective |
ObjectiveArgument.getObjective(com.mojang.brigadier.context.CommandContext<CommandSource> context,
java.lang.String name) |
static ScoreObjective |
ObjectiveArgument.getWritableObjective(com.mojang.brigadier.context.CommandContext<CommandSource> context,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
private static int |
ScoreboardCommand.addToPlayerScore(CommandSource source,
java.util.Collection<java.lang.String> targets,
ScoreObjective objective,
int amount) |
private static int |
ScoreboardCommand.applyScoreOperation(CommandSource source,
java.util.Collection<java.lang.String> targetEntities,
ScoreObjective targetObjectives,
OperationArgument.IOperation operation,
java.util.Collection<java.lang.String> sourceEntities,
ScoreObjective sourceObjective) |
private static Score |
TriggerCommand.checkValidTrigger(ServerPlayerEntity player,
ScoreObjective objective) |
private static int |
ScoreboardCommand.enableTrigger(CommandSource source,
java.util.Collection<java.lang.String> targets,
ScoreObjective objective) |
private static int |
ScoreboardCommand.getPlayerScore(CommandSource source,
java.lang.String player,
ScoreObjective objective) |
private static int |
ScoreboardCommand.removeFromPlayerScore(CommandSource source,
java.util.Collection<java.lang.String> targets,
ScoreObjective objective,
int amount) |
private static int |
ScoreboardCommand.removeObjective(CommandSource source,
ScoreObjective objective) |
private static int |
ScoreboardCommand.resetPlayerScore(CommandSource source,
java.util.Collection<java.lang.String> targets,
ScoreObjective objective) |
private static int |
ScoreboardCommand.setDisplayName(CommandSource source,
ScoreObjective objective,
ITextComponent displayName) |
private static int |
ScoreboardCommand.setObjectiveDisplaySlot(CommandSource source,
int slotId,
ScoreObjective objective) |
private static int |
ScoreboardCommand.setPlayerScore(CommandSource source,
java.util.Collection<java.lang.String> targets,
ScoreObjective objective,
int newValue) |
private static int |
ScoreboardCommand.setRenderType(CommandSource source,
ScoreObjective objective,
ScoreCriteria.RenderType renderType) |
private static CommandSource |
ExecuteCommand.storeIntoScore(CommandSource source,
java.util.Collection<java.lang.String> targets,
ScoreObjective objective,
boolean storingResult) |
Constructor and Description |
---|
SDisplayObjectivePacket(int positionIn,
ScoreObjective objective) |
SScoreboardObjectivePacket(ScoreObjective objective,
int actionIn) |
Modifier and Type | Field and Description |
---|---|
private ScoreObjective |
Score.objective |
private ScoreObjective[] |
Scoreboard.objectiveDisplaySlots |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<ScoreObjective> |
ServerScoreboard.addedObjectives |
private java.util.Map<java.lang.String,java.util.Map<ScoreObjective,Score>> |
Scoreboard.entitiesScoreObjectives |
private java.util.Map<ScoreCriteria,java.util.List<ScoreObjective>> |
Scoreboard.scoreObjectiveCriterias |
private java.util.Map<java.lang.String,ScoreObjective> |
Scoreboard.scoreObjectives |
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_) |
ScoreObjective |
Score.getObjective() |
ScoreObjective |
Scoreboard.getObjective(java.lang.String name) |
ScoreObjective |
Scoreboard.getObjectiveInDisplaySlot(int slotIn) |
ScoreObjective |
Scoreboard.getOrCreateObjective(java.lang.String p_197899_1_) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<ScoreObjective,Score> |
Scoreboard.getObjectivesForEntity(java.lang.String name) |
java.util.Collection<ScoreObjective> |
Scoreboard.getScoreObjectives() |
Modifier and Type | Method and Description |
---|---|
void |
ServerScoreboard.addObjective(ScoreObjective objective) |
boolean |
Scoreboard.entityHasObjective(java.lang.String name,
ScoreObjective objective) |
java.util.List<IPacket<?>> |
ServerScoreboard.getCreatePackets(ScoreObjective objective) |
java.util.List<IPacket<?>> |
ServerScoreboard.getDestroyPackets(ScoreObjective p_96548_1_) |
int |
ServerScoreboard.getObjectiveDisplaySlotCount(ScoreObjective p_96552_1_) |
Score |
Scoreboard.getOrCreateScore(java.lang.String username,
ScoreObjective objective) |
java.util.Collection<Score> |
Scoreboard.getSortedScores(ScoreObjective objective) |
void |
ServerScoreboard.onObjectiveAdded(ScoreObjective objective) |
void |
Scoreboard.onObjectiveAdded(ScoreObjective objective) |
void |
ServerScoreboard.onObjectiveChanged(ScoreObjective objective) |
void |
Scoreboard.onObjectiveChanged(ScoreObjective objective) |
void |
ServerScoreboard.onObjectiveRemoved(ScoreObjective objective) |
void |
Scoreboard.onObjectiveRemoved(ScoreObjective objective) |
void |
ServerScoreboard.onPlayerScoreRemoved(java.lang.String scoreName,
ScoreObjective objective) |
void |
Scoreboard.onPlayerScoreRemoved(java.lang.String scoreName,
ScoreObjective objective) |
void |
Scoreboard.removeObjective(ScoreObjective objective) |
void |
Scoreboard.removeObjectiveFromEntity(java.lang.String name,
ScoreObjective objective) |
void |
ServerScoreboard.sendDisplaySlotRemovalPackets(ScoreObjective p_96546_1_) |
void |
ServerScoreboard.setObjectiveInDisplaySlot(int objectiveSlot,
ScoreObjective objective) |
void |
Scoreboard.setObjectiveInDisplaySlot(int objectiveSlot,
ScoreObjective objective) |
Constructor and Description |
---|
Score(Scoreboard scoreboard,
ScoreObjective objective,
java.lang.String playerName) |