Package net.minecraft.scoreboard
Class Score
- java.lang.Object
-
- net.minecraft.scoreboard.Score
-
public class Score extends java.lang.Object
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.Comparator<Score>
scoreComparator
+ Used for sorting score by points
-
Constructor Summary
Constructors Constructor Description Score(Scoreboard theScoreboardIn, ScoreObjective theScoreObjectiveIn, java.lang.String scorePlayerNameIn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decreaseScore(int amount)
void
func_96648_a()
void
func_96651_a(java.util.List<EntityPlayer> parList)
ScoreObjective
getObjective()
java.lang.String
getPlayerName()
+ Returns the name of the player this score belongs toint
getScorePoints()
Scoreboard
getScoreScoreboard()
void
increseScore(int amount)
boolean
isLocked()
void
setLocked(boolean locked)
void
setScorePoints(int points)
-
-
-
Field Detail
-
scoreComparator
public static final java.util.Comparator<Score> scoreComparator
+ Used for sorting score by points
-
-
Constructor Detail
-
Score
public Score(Scoreboard theScoreboardIn, ScoreObjective theScoreObjectiveIn, java.lang.String scorePlayerNameIn)
-
-
Method Detail
-
increseScore
public void increseScore(int amount)
-
decreaseScore
public void decreaseScore(int amount)
-
func_96648_a
public void func_96648_a()
-
getScorePoints
public int getScorePoints()
-
setScorePoints
public void setScorePoints(int points)
-
getObjective
public ScoreObjective getObjective()
-
getPlayerName
public java.lang.String getPlayerName()
+ Returns the name of the player this score belongs to
-
getScoreScoreboard
public Scoreboard getScoreScoreboard()
-
isLocked
public boolean isLocked()
-
setLocked
public void setLocked(boolean locked)
-
func_96651_a
public void func_96651_a(java.util.List<EntityPlayer> parList)
-
-