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 ewp
-
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
Lewp;a:Lewx;
-
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
Lewp;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
Lewp;c:Lexa;
-
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
Lewp;d:Lxp;
-
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
Lewp;e:Lxp;
-
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
Lewp;f:Lexa$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
Lewp;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
Lewp;h:Lzf;
-
-
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>
Lewp;<init>(Lewx;Ljava/lang/String;Lexa;Lxp;Lexa$a;ZLzf;)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
Lewp;a()Lewx;
-
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
Lewp;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
Lewp;c()Lexa;
-
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
Lewp;d()Lxp;
-
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
Lewp;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
Lewp;f()Lzf;
-
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
Lewp;a(Lzf;)Lzf;
-
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
Lewp;i()Lxp;
-
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
Lewp;g()Lxp;
-
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
Lewp;a(Lxp;)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
Lewp;h()Lexa$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
Lewp;a(Lexa$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
Lewp;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
Lewp;b(Lzf;)V
-