Package net.minecraft.scoreboard
Class ScoreObjective
- java.lang.Object
-
- net.minecraft.scoreboard.ScoreObjective
-
public class ScoreObjective extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private ScoreCriteria
criteria
private ITextComponent
displayName
private ITextComponent
formattedDisplayName
private java.lang.String
name
private ScoreCriteria.RenderType
renderType
private Scoreboard
scoreboard
-
Constructor Summary
Constructors Constructor 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_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private ITextComponent
createFormattedDisplayName()
ScoreCriteria
getCriteria()
ITextComponent
getDisplayName()
ITextComponent
getFormattedDisplayName()
java.lang.String
getName()
ScoreCriteria.RenderType
getRenderType()
Scoreboard
getScoreboard()
void
setDisplayName(ITextComponent p_199864_1_)
void
setRenderType(ScoreCriteria.RenderType p_199866_1_)
-
-
-
Field Detail
-
scoreboard
private final Scoreboard scoreboard
-
name
private final java.lang.String name
-
criteria
private final ScoreCriteria criteria
-
displayName
private ITextComponent displayName
-
formattedDisplayName
private ITextComponent formattedDisplayName
-
renderType
private ScoreCriteria.RenderType renderType
-
-
Constructor Detail
-
ScoreObjective
public ScoreObjective(Scoreboard p_i49788_1_, java.lang.String p_i49788_2_, ScoreCriteria p_i49788_3_, ITextComponent p_i49788_4_, ScoreCriteria.RenderType p_i49788_5_)
-
-
Method Detail
-
getScoreboard
public Scoreboard getScoreboard()
-
getName
public java.lang.String getName()
-
getCriteria
public ScoreCriteria getCriteria()
-
getDisplayName
public ITextComponent getDisplayName()
-
createFormattedDisplayName
private ITextComponent createFormattedDisplayName()
-
getFormattedDisplayName
public ITextComponent getFormattedDisplayName()
-
setDisplayName
public void setDisplayName(ITextComponent p_199864_1_)
-
getRenderType
public ScoreCriteria.RenderType getRenderType()
-
setRenderType
public void setRenderType(ScoreCriteria.RenderType p_199866_1_)
-
-