Package net.minecraft.scoreboard
Class ScoreboardObjective
java.lang.Object
net.minecraft.scoreboard.ScoreboardObjective
- Mappings:
Namespace Name named net/minecraft/scoreboard/ScoreboardObjectiveintermediary net/minecraft/class_266official fgp
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Textprivate final ScoreboardCriterionprivate booleanprivate Textprivate final Stringprivate @Nullable NumberFormatprivate ScoreboardCriterion.RenderTypeprivate final Scoreboard -
Constructor Summary
ConstructorsConstructorDescriptionScoreboardObjective(Scoreboard scoreboard, String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType, boolean displayAutoUpdate, @Nullable NumberFormat numberFormat) -
Method Summary
Modifier and TypeMethodDescriptionprivate TextgetName()getNumberFormatOr(NumberFormat format) pack()voidsetDisplayAutoUpdate(boolean displayAutoUpdate) voidsetDisplayName(Text name) voidsetNumberFormat(@Nullable NumberFormat numberFormat) voidsetRenderType(ScoreboardCriterion.RenderType renderType) boolean
-
Field Details
-
scoreboard
- Mappings:
Namespace Name Mixin selector named scoreboardLnet/minecraft/scoreboard/ScoreboardObjective;scoreboard:Lnet/minecraft/scoreboard/Scoreboard;intermediary field_1404Lnet/minecraft/class_266;field_1404:Lnet/minecraft/class_269;official aLfgp;a:Lfgx;
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/scoreboard/ScoreboardObjective;name:Ljava/lang/String;intermediary field_1405Lnet/minecraft/class_266;field_1405:Ljava/lang/String;official bLfgp;b:Ljava/lang/String;
-
criterion
- Mappings:
Namespace Name Mixin selector named criterionLnet/minecraft/scoreboard/ScoreboardObjective;criterion:Lnet/minecraft/scoreboard/ScoreboardCriterion;intermediary field_1406Lnet/minecraft/class_266;field_1406:Lnet/minecraft/class_274;official cLfgp;c:Lfha;
-
displayName
- Mappings:
Namespace Name Mixin selector named displayNameLnet/minecraft/scoreboard/ScoreboardObjective;displayName:Lnet/minecraft/text/Text;intermediary field_1402Lnet/minecraft/class_266;field_1402:Lnet/minecraft/class_2561;official dLfgp;d:Lxc;
-
bracketedDisplayName
- Mappings:
Namespace Name Mixin selector named bracketedDisplayNameLnet/minecraft/scoreboard/ScoreboardObjective;bracketedDisplayName:Lnet/minecraft/text/Text;intermediary field_24194Lnet/minecraft/class_266;field_24194:Lnet/minecraft/class_2561;official eLfgp;e:Lxc;
-
renderType
- Mappings:
Namespace Name Mixin selector named renderTypeLnet/minecraft/scoreboard/ScoreboardObjective;renderType:Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;intermediary field_1403Lnet/minecraft/class_266;field_1403:Lnet/minecraft/class_274$class_275;official fLfgp;f:Lfha$a;
-
displayAutoUpdate
private boolean displayAutoUpdate- Mappings:
Namespace Name Mixin selector named displayAutoUpdateLnet/minecraft/scoreboard/ScoreboardObjective;displayAutoUpdate:Zintermediary field_47527Lnet/minecraft/class_266;field_47527:Zofficial gLfgp;g:Z
-
numberFormat
- Mappings:
Namespace Name Mixin selector named numberFormatLnet/minecraft/scoreboard/ScoreboardObjective;numberFormat:Lnet/minecraft/scoreboard/number/NumberFormat;intermediary field_47528Lnet/minecraft/class_266;field_47528:Lnet/minecraft/class_9022;official hLfgp;h:Lys;
-
-
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;)Vintermediary <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;)Vofficial <init>Lfgp;<init>(Lfgx;Ljava/lang/String;Lfha;Lxc;Lfha$a;ZLys;)V
-
-
Method Details
-
pack
- Mappings:
Namespace Name Mixin selector named packLnet/minecraft/scoreboard/ScoreboardObjective;pack()Lnet/minecraft/scoreboard/ScoreboardObjective$Packed;intermediary method_67446Lnet/minecraft/class_266;method_67446()Lnet/minecraft/class_266$class_10742;official aLfgp;a()Lfgp$a;
-
getScoreboard
- Mappings:
Namespace Name Mixin selector named getScoreboardLnet/minecraft/scoreboard/ScoreboardObjective;getScoreboard()Lnet/minecraft/scoreboard/Scoreboard;intermediary method_1117Lnet/minecraft/class_266;method_1117()Lnet/minecraft/class_269;official bLfgp;b()Lfgx;
-
getName
- Mappings:
Namespace Name Mixin selector named getNameLnet/minecraft/scoreboard/ScoreboardObjective;getName()Ljava/lang/String;intermediary method_1113Lnet/minecraft/class_266;method_1113()Ljava/lang/String;official cLfgp;c()Ljava/lang/String;
-
getCriterion
- Mappings:
Namespace Name Mixin selector named getCriterionLnet/minecraft/scoreboard/ScoreboardObjective;getCriterion()Lnet/minecraft/scoreboard/ScoreboardCriterion;intermediary method_1116Lnet/minecraft/class_266;method_1116()Lnet/minecraft/class_274;official dLfgp;d()Lfha;
-
getDisplayName
- Mappings:
Namespace Name Mixin selector named getDisplayNameLnet/minecraft/scoreboard/ScoreboardObjective;getDisplayName()Lnet/minecraft/text/Text;intermediary method_1114Lnet/minecraft/class_266;method_1114()Lnet/minecraft/class_2561;official eLfgp;e()Lxc;
-
shouldDisplayAutoUpdate
public boolean shouldDisplayAutoUpdate()- Mappings:
Namespace Name Mixin selector named shouldDisplayAutoUpdateLnet/minecraft/scoreboard/ScoreboardObjective;shouldDisplayAutoUpdate()Zintermediary method_55383Lnet/minecraft/class_266;method_55383()Zofficial fLfgp;f()Z
-
getNumberFormat
- Mappings:
Namespace Name Mixin selector named getNumberFormatLnet/minecraft/scoreboard/ScoreboardObjective;getNumberFormat()Lnet/minecraft/scoreboard/number/NumberFormat;intermediary method_55384Lnet/minecraft/class_266;method_55384()Lnet/minecraft/class_9022;official gLfgp;g()Lys;
-
getNumberFormatOr
- Mappings:
Namespace Name Mixin selector named getNumberFormatOrLnet/minecraft/scoreboard/ScoreboardObjective;getNumberFormatOr(Lnet/minecraft/scoreboard/number/NumberFormat;)Lnet/minecraft/scoreboard/number/NumberFormat;intermediary method_55380Lnet/minecraft/class_266;method_55380(Lnet/minecraft/class_9022;)Lnet/minecraft/class_9022;official aLfgp;a(Lys;)Lys;
-
generateBracketedDisplayName
- Mappings:
Namespace Name Mixin selector named generateBracketedDisplayNameLnet/minecraft/scoreboard/ScoreboardObjective;generateBracketedDisplayName()Lnet/minecraft/text/Text;intermediary method_27441Lnet/minecraft/class_266;method_27441()Lnet/minecraft/class_2561;official jLfgp;j()Lxc;
-
toHoverableText
- Mappings:
Namespace Name Mixin selector named toHoverableTextLnet/minecraft/scoreboard/ScoreboardObjective;toHoverableText()Lnet/minecraft/text/Text;intermediary method_1120Lnet/minecraft/class_266;method_1120()Lnet/minecraft/class_2561;official hLfgp;h()Lxc;
-
setDisplayName
- Mappings:
Namespace Name Mixin selector named setDisplayNameLnet/minecraft/scoreboard/ScoreboardObjective;setDisplayName(Lnet/minecraft/text/Text;)Vintermediary method_1121Lnet/minecraft/class_266;method_1121(Lnet/minecraft/class_2561;)Vofficial aLfgp;a(Lxc;)V
-
getRenderType
- Mappings:
Namespace Name Mixin selector named getRenderTypeLnet/minecraft/scoreboard/ScoreboardObjective;getRenderType()Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;intermediary method_1118Lnet/minecraft/class_266;method_1118()Lnet/minecraft/class_274$class_275;official iLfgp;i()Lfha$a;
-
setRenderType
- Mappings:
Namespace Name Mixin selector named setRenderTypeLnet/minecraft/scoreboard/ScoreboardObjective;setRenderType(Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;)Vintermediary method_1115Lnet/minecraft/class_266;method_1115(Lnet/minecraft/class_274$class_275;)Vofficial aLfgp;a(Lfha$a;)V
-
setDisplayAutoUpdate
public void setDisplayAutoUpdate(boolean displayAutoUpdate) - Mappings:
Namespace Name Mixin selector named setDisplayAutoUpdateLnet/minecraft/scoreboard/ScoreboardObjective;setDisplayAutoUpdate(Z)Vintermediary method_55381Lnet/minecraft/class_266;method_55381(Z)Vofficial aLfgp;a(Z)V
-
setNumberFormat
- Mappings:
Namespace Name Mixin selector named setNumberFormatLnet/minecraft/scoreboard/ScoreboardObjective;setNumberFormat(Lnet/minecraft/scoreboard/number/NumberFormat;)Vintermediary method_55382Lnet/minecraft/class_266;method_55382(Lnet/minecraft/class_9022;)Vofficial bLfgp;b(Lys;)V
-