Package net.minecraft.scoreboard
Class ScoreboardObjective
java.lang.Object
net.minecraft.scoreboard.ScoreboardObjective
- Mappings:
Namespace Name named net/minecraft/scoreboard/ScoreboardObjective
intermediary net/minecraft/class_266
official exd
-
Field Summary
Modifier and TypeFieldDescriptionprivate Text
private final ScoreboardCriterion
private boolean
private Text
private final String
private @Nullable NumberFormat
private ScoreboardCriterion.RenderType
private final Scoreboard
-
Constructor Summary
ConstructorDescriptionScoreboardObjective
(Scoreboard scoreboard, String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType, boolean displayAutoUpdate, @Nullable NumberFormat numberFormat) -
Method Summary
Modifier and TypeMethodDescriptionprivate Text
getName()
getNumberFormatOr
(NumberFormat format) void
setDisplayAutoUpdate
(boolean displayAutoUpdate) void
setDisplayName
(Text name) void
setNumberFormat
(@Nullable NumberFormat numberFormat) void
setRenderType
(ScoreboardCriterion.RenderType renderType) boolean
-
Field Details
-
scoreboard
- Mappings:
Namespace Name Mixin selector named scoreboard
Lnet/minecraft/scoreboard/ScoreboardObjective;scoreboard:Lnet/minecraft/scoreboard/Scoreboard;
intermediary field_1404
Lnet/minecraft/class_266;field_1404:Lnet/minecraft/class_269;
official a
Lexd;a:Lexl;
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/scoreboard/ScoreboardObjective;name:Ljava/lang/String;
intermediary field_1405
Lnet/minecraft/class_266;field_1405:Ljava/lang/String;
official b
Lexd;b:Ljava/lang/String;
-
criterion
- Mappings:
Namespace Name Mixin selector named criterion
Lnet/minecraft/scoreboard/ScoreboardObjective;criterion:Lnet/minecraft/scoreboard/ScoreboardCriterion;
intermediary field_1406
Lnet/minecraft/class_266;field_1406:Lnet/minecraft/class_274;
official c
Lexd;c:Lexo;
-
displayName
- Mappings:
Namespace Name Mixin selector named displayName
Lnet/minecraft/scoreboard/ScoreboardObjective;displayName:Lnet/minecraft/text/Text;
intermediary field_1402
Lnet/minecraft/class_266;field_1402:Lnet/minecraft/class_2561;
official d
Lexd;d:Lwu;
-
bracketedDisplayName
- Mappings:
Namespace Name Mixin selector named bracketedDisplayName
Lnet/minecraft/scoreboard/ScoreboardObjective;bracketedDisplayName:Lnet/minecraft/text/Text;
intermediary field_24194
Lnet/minecraft/class_266;field_24194:Lnet/minecraft/class_2561;
official e
Lexd;e:Lwu;
-
renderType
- Mappings:
Namespace Name Mixin selector named renderType
Lnet/minecraft/scoreboard/ScoreboardObjective;renderType:Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;
intermediary field_1403
Lnet/minecraft/class_266;field_1403:Lnet/minecraft/class_274$class_275;
official f
Lexd;f:Lexo$a;
-
displayAutoUpdate
private boolean displayAutoUpdate- Mappings:
Namespace Name Mixin selector named displayAutoUpdate
Lnet/minecraft/scoreboard/ScoreboardObjective;displayAutoUpdate:Z
intermediary field_47527
Lnet/minecraft/class_266;field_47527:Z
official g
Lexd;g:Z
-
numberFormat
- Mappings:
Namespace Name Mixin selector named numberFormat
Lnet/minecraft/scoreboard/ScoreboardObjective;numberFormat:Lnet/minecraft/scoreboard/number/NumberFormat;
intermediary field_47528
Lnet/minecraft/class_266;field_47528:Lnet/minecraft/class_9022;
official h
Lexd;h:Lyk;
-
-
Constructor Details
-
ScoreboardObjective
public ScoreboardObjective(Scoreboard scoreboard, String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType, boolean displayAutoUpdate, @Nullable @Nullable NumberFormat numberFormat) - Mappings:
Namespace Name Mixin selector 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;ZLnet/minecraft/scoreboard/number/NumberFormat;)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;ZLnet/minecraft/class_9022;)V
official <init>
Lexd;<init>(Lexl;Ljava/lang/String;Lexo;Lwu;Lexo$a;ZLyk;)V
-
-
Method Details
-
getScoreboard
- Mappings:
Namespace Name Mixin selector named getScoreboard
Lnet/minecraft/scoreboard/ScoreboardObjective;getScoreboard()Lnet/minecraft/scoreboard/Scoreboard;
intermediary method_1117
Lnet/minecraft/class_266;method_1117()Lnet/minecraft/class_269;
official a
Lexd;a()Lexl;
-
getName
- Mappings:
Namespace Name Mixin selector named getName
Lnet/minecraft/scoreboard/ScoreboardObjective;getName()Ljava/lang/String;
intermediary method_1113
Lnet/minecraft/class_266;method_1113()Ljava/lang/String;
official b
Lexd;b()Ljava/lang/String;
-
getCriterion
- Mappings:
Namespace Name Mixin selector named getCriterion
Lnet/minecraft/scoreboard/ScoreboardObjective;getCriterion()Lnet/minecraft/scoreboard/ScoreboardCriterion;
intermediary method_1116
Lnet/minecraft/class_266;method_1116()Lnet/minecraft/class_274;
official c
Lexd;c()Lexo;
-
getDisplayName
- Mappings:
Namespace Name Mixin selector named getDisplayName
Lnet/minecraft/scoreboard/ScoreboardObjective;getDisplayName()Lnet/minecraft/text/Text;
intermediary method_1114
Lnet/minecraft/class_266;method_1114()Lnet/minecraft/class_2561;
official d
Lexd;d()Lwu;
-
shouldDisplayAutoUpdate
public boolean shouldDisplayAutoUpdate()- Mappings:
Namespace Name Mixin selector named shouldDisplayAutoUpdate
Lnet/minecraft/scoreboard/ScoreboardObjective;shouldDisplayAutoUpdate()Z
intermediary method_55383
Lnet/minecraft/class_266;method_55383()Z
official e
Lexd;e()Z
-
getNumberFormat
- Mappings:
Namespace Name Mixin selector named getNumberFormat
Lnet/minecraft/scoreboard/ScoreboardObjective;getNumberFormat()Lnet/minecraft/scoreboard/number/NumberFormat;
intermediary method_55384
Lnet/minecraft/class_266;method_55384()Lnet/minecraft/class_9022;
official f
Lexd;f()Lyk;
-
getNumberFormatOr
- Mappings:
Namespace Name Mixin selector named getNumberFormatOr
Lnet/minecraft/scoreboard/ScoreboardObjective;getNumberFormatOr(Lnet/minecraft/scoreboard/number/NumberFormat;)Lnet/minecraft/scoreboard/number/NumberFormat;
intermediary method_55380
Lnet/minecraft/class_266;method_55380(Lnet/minecraft/class_9022;)Lnet/minecraft/class_9022;
official a
Lexd;a(Lyk;)Lyk;
-
generateBracketedDisplayName
- Mappings:
Namespace Name Mixin selector named generateBracketedDisplayName
Lnet/minecraft/scoreboard/ScoreboardObjective;generateBracketedDisplayName()Lnet/minecraft/text/Text;
intermediary method_27441
Lnet/minecraft/class_266;method_27441()Lnet/minecraft/class_2561;
official i
Lexd;i()Lwu;
-
toHoverableText
- Mappings:
Namespace Name Mixin selector named toHoverableText
Lnet/minecraft/scoreboard/ScoreboardObjective;toHoverableText()Lnet/minecraft/text/Text;
intermediary method_1120
Lnet/minecraft/class_266;method_1120()Lnet/minecraft/class_2561;
official g
Lexd;g()Lwu;
-
setDisplayName
- Mappings:
Namespace Name Mixin selector named setDisplayName
Lnet/minecraft/scoreboard/ScoreboardObjective;setDisplayName(Lnet/minecraft/text/Text;)V
intermediary method_1121
Lnet/minecraft/class_266;method_1121(Lnet/minecraft/class_2561;)V
official a
Lexd;a(Lwu;)V
-
getRenderType
- Mappings:
Namespace Name Mixin selector named getRenderType
Lnet/minecraft/scoreboard/ScoreboardObjective;getRenderType()Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;
intermediary method_1118
Lnet/minecraft/class_266;method_1118()Lnet/minecraft/class_274$class_275;
official h
Lexd;h()Lexo$a;
-
setRenderType
- Mappings:
Namespace Name Mixin selector named setRenderType
Lnet/minecraft/scoreboard/ScoreboardObjective;setRenderType(Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;)V
intermediary method_1115
Lnet/minecraft/class_266;method_1115(Lnet/minecraft/class_274$class_275;)V
official a
Lexd;a(Lexo$a;)V
-
setDisplayAutoUpdate
public void setDisplayAutoUpdate(boolean displayAutoUpdate) - Mappings:
Namespace Name Mixin selector named setDisplayAutoUpdate
Lnet/minecraft/scoreboard/ScoreboardObjective;setDisplayAutoUpdate(Z)V
intermediary method_55381
Lnet/minecraft/class_266;method_55381(Z)V
official a
Lexd;a(Z)V
-
setNumberFormat
- Mappings:
Namespace Name Mixin selector named setNumberFormat
Lnet/minecraft/scoreboard/ScoreboardObjective;setNumberFormat(Lnet/minecraft/scoreboard/number/NumberFormat;)V
intermediary method_55382
Lnet/minecraft/class_266;method_55382(Lnet/minecraft/class_9022;)V
official b
Lexd;b(Lyk;)V
-