Package net.minecraft.scoreboard
Class ScoreboardObjective
java.lang.Object
net.minecraft.scoreboard.ScoreboardObjective
public class ScoreboardObjective extends Object
- Mappings:
Namespace Name official djp
intermediary net/minecraft/class_266
named net/minecraft/scoreboard/ScoreboardObjective
-
Field Summary
Fields Modifier and Type Field Description private Text
bracketedDisplayName
private ScoreboardCriterion
criterion
private Text
displayName
private String
name
private ScoreboardCriterion.RenderType
renderType
private Scoreboard
scoreboard
-
Constructor Summary
Constructors Constructor Description ScoreboardObjective(Scoreboard scoreboard, String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType)
-
Method Summary
Modifier and Type Method Description private Text
generateBracketedDisplayName()
ScoreboardCriterion
getCriterion()
Text
getDisplayName()
String
getName()
ScoreboardCriterion.RenderType
getRenderType()
Scoreboard
getScoreboard()
void
setDisplayName(Text name)
void
setRenderType(ScoreboardCriterion.RenderType renderType)
Text
toHoverableText()
-
Field Details
-
scoreboard
- Mappings:
Namespace Name Mixin selector official a
Ldjp;a:Ldjs;
intermediary field_1404
Lnet/minecraft/class_266;field_1404:Lnet/minecraft/class_269;
named scoreboard
Lnet/minecraft/scoreboard/ScoreboardObjective;scoreboard:Lnet/minecraft/scoreboard/Scoreboard;
-
name
- Mappings:
Namespace Name Mixin selector official b
Ldjp;b:Ljava/lang/String;
intermediary field_1405
Lnet/minecraft/class_266;field_1405:Ljava/lang/String;
named name
Lnet/minecraft/scoreboard/ScoreboardObjective;name:Ljava/lang/String;
-
criterion
- Mappings:
Namespace Name Mixin selector official c
Ldjp;c:Ldjv;
intermediary field_1406
Lnet/minecraft/class_266;field_1406:Lnet/minecraft/class_274;
named criterion
Lnet/minecraft/scoreboard/ScoreboardObjective;criterion:Lnet/minecraft/scoreboard/ScoreboardCriterion;
-
displayName
- Mappings:
Namespace Name Mixin selector official d
Ldjp;d:Loi;
intermediary field_1402
Lnet/minecraft/class_266;field_1402:Lnet/minecraft/class_2561;
named displayName
Lnet/minecraft/scoreboard/ScoreboardObjective;displayName:Lnet/minecraft/text/Text;
-
bracketedDisplayName
- Mappings:
Namespace Name Mixin selector official e
Ldjp;e:Loi;
intermediary field_24194
Lnet/minecraft/class_266;field_24194:Lnet/minecraft/class_2561;
named bracketedDisplayName
Lnet/minecraft/scoreboard/ScoreboardObjective;bracketedDisplayName:Lnet/minecraft/text/Text;
-
renderType
- Mappings:
Namespace Name Mixin selector official f
Ldjp;f:Ldjv$a;
intermediary field_1403
Lnet/minecraft/class_266;field_1403:Lnet/minecraft/class_274$class_275;
named renderType
Lnet/minecraft/scoreboard/ScoreboardObjective;renderType:Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;
-
-
Constructor Details
-
ScoreboardObjective
public ScoreboardObjective(Scoreboard scoreboard, String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType)- Mappings:
Namespace Name Mixin selector official <init>
Ldjp;<init>(Ldjs;Ljava/lang/String;Ldjv;Loi;Ldjv$a;)V
intermediary <init>
Lnet/minecraft/class_266;<init>(Lnet/minecraft/class_269;Ljava/lang/String;Lnet/minecraft/class_274;Lnet/minecraft/class_2561;Lnet/minecraft/class_274$class_275;)V
named <init>
Lnet/minecraft/scoreboard/ScoreboardObjective;<init>(Lnet/minecraft/scoreboard/Scoreboard;Ljava/lang/String;Lnet/minecraft/scoreboard/ScoreboardCriterion;Lnet/minecraft/text/Text;Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;)V
-
-
Method Details
-
getScoreboard
- Mappings:
Namespace Name Mixin selector official a
Ldjp;a()Ldjs;
intermediary method_1117
Lnet/minecraft/class_266;method_1117()Lnet/minecraft/class_269;
named getScoreboard
Lnet/minecraft/scoreboard/ScoreboardObjective;getScoreboard()Lnet/minecraft/scoreboard/Scoreboard;
-
getName
- Mappings:
Namespace Name Mixin selector official b
Ldjp;b()Ljava/lang/String;
intermediary method_1113
Lnet/minecraft/class_266;method_1113()Ljava/lang/String;
named getName
Lnet/minecraft/scoreboard/ScoreboardObjective;getName()Ljava/lang/String;
-
getCriterion
- Mappings:
Namespace Name Mixin selector official c
Ldjp;c()Ldjv;
intermediary method_1116
Lnet/minecraft/class_266;method_1116()Lnet/minecraft/class_274;
named getCriterion
Lnet/minecraft/scoreboard/ScoreboardObjective;getCriterion()Lnet/minecraft/scoreboard/ScoreboardCriterion;
-
getDisplayName
- Mappings:
Namespace Name Mixin selector official d
Ldjp;d()Loi;
intermediary method_1114
Lnet/minecraft/class_266;method_1114()Lnet/minecraft/class_2561;
named getDisplayName
Lnet/minecraft/scoreboard/ScoreboardObjective;getDisplayName()Lnet/minecraft/text/Text;
-
generateBracketedDisplayName
- Mappings:
Namespace Name Mixin selector official g
Ldjp;g()Loi;
intermediary method_27441
Lnet/minecraft/class_266;method_27441()Lnet/minecraft/class_2561;
named generateBracketedDisplayName
Lnet/minecraft/scoreboard/ScoreboardObjective;generateBracketedDisplayName()Lnet/minecraft/text/Text;
-
toHoverableText
- Mappings:
Namespace Name Mixin selector official e
Ldjp;e()Loi;
intermediary method_1120
Lnet/minecraft/class_266;method_1120()Lnet/minecraft/class_2561;
named toHoverableText
Lnet/minecraft/scoreboard/ScoreboardObjective;toHoverableText()Lnet/minecraft/text/Text;
-
setDisplayName
- Mappings:
Namespace Name Mixin selector official a
Ldjp;a(Loi;)V
intermediary method_1121
Lnet/minecraft/class_266;method_1121(Lnet/minecraft/class_2561;)V
named setDisplayName
Lnet/minecraft/scoreboard/ScoreboardObjective;setDisplayName(Lnet/minecraft/text/Text;)V
-
getRenderType
- Mappings:
Namespace Name Mixin selector official f
Ldjp;f()Ldjv$a;
intermediary method_1118
Lnet/minecraft/class_266;method_1118()Lnet/minecraft/class_274$class_275;
named getRenderType
Lnet/minecraft/scoreboard/ScoreboardObjective;getRenderType()Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;
-
setRenderType
- Mappings:
Namespace Name Mixin selector official a
Ldjp;a(Ldjv$a;)V
intermediary method_1115
Lnet/minecraft/class_266;method_1115(Lnet/minecraft/class_274$class_275;)V
named setRenderType
Lnet/minecraft/scoreboard/ScoreboardObjective;setRenderType(Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;)V
-