Package net.minecraft.scoreboard
Class ScoreboardScore
java.lang.Object
net.minecraft.scoreboard.ScoreboardScore
- All Implemented Interfaces:
ReadableScoreboardScore
- Mappings:
Namespace Name official etkintermediary net/minecraft/class_267named net/minecraft/scoreboard/ScoreboardScore
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ScoreboardScorefromNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registries) intgetScore()booleanisLocked()voidsetDisplayText(@Nullable Text text) voidsetLocked(boolean locked) voidsetNumberFormat(@Nullable NumberFormat numberFormat) voidsetScore(int score) toNbt(RegistryWrapper.WrapperLookup registries) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.scoreboard.ReadableScoreboardScore
getFormattedScore
-
Field Details
-
SCORE_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official aLetk;a:Ljava/lang/String;intermediary field_47530Lnet/minecraft/class_267;field_47530:Ljava/lang/String;named SCORE_NBT_KEYLnet/minecraft/scoreboard/ScoreboardScore;SCORE_NBT_KEY:Ljava/lang/String;
-
LOCKED_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official bLetk;b:Ljava/lang/String;intermediary field_47531Lnet/minecraft/class_267;field_47531:Ljava/lang/String;named LOCKED_NBT_KEYLnet/minecraft/scoreboard/ScoreboardScore;LOCKED_NBT_KEY:Ljava/lang/String;
-
DISPLAY_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official cLetk;c:Ljava/lang/String;intermediary field_47532Lnet/minecraft/class_267;field_47532:Ljava/lang/String;named DISPLAY_NBT_KEYLnet/minecraft/scoreboard/ScoreboardScore;DISPLAY_NBT_KEY:Ljava/lang/String;
-
FORMAT_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official dLetk;d:Ljava/lang/String;intermediary field_47533Lnet/minecraft/class_267;field_47533:Ljava/lang/String;named FORMAT_NBT_KEYLnet/minecraft/scoreboard/ScoreboardScore;FORMAT_NBT_KEY:Ljava/lang/String;
-
score
private int score- Mappings:
Namespace Name Mixin selector official eLetk;e:Iintermediary field_47534Lnet/minecraft/class_267;field_47534:Inamed scoreLnet/minecraft/scoreboard/ScoreboardScore;score:I
-
locked
private boolean locked- Mappings:
Namespace Name Mixin selector official fLetk;f:Zintermediary field_1411Lnet/minecraft/class_267;field_1411:Znamed lockedLnet/minecraft/scoreboard/ScoreboardScore;locked:Z
-
displayText
- Mappings:
Namespace Name Mixin selector official gLetk;g:Lwi;intermediary field_47535Lnet/minecraft/class_267;field_47535:Lnet/minecraft/class_2561;named displayTextLnet/minecraft/scoreboard/ScoreboardScore;displayText:Lnet/minecraft/text/Text;
-
numberFormat
- Mappings:
Namespace Name Mixin selector official hLetk;h:Lxy;intermediary field_47536Lnet/minecraft/class_267;field_47536:Lnet/minecraft/class_9022;named numberFormatLnet/minecraft/scoreboard/ScoreboardScore;numberFormat:Lnet/minecraft/scoreboard/number/NumberFormat;
-
-
Constructor Details
-
ScoreboardScore
public ScoreboardScore()
-
-
Method Details
-
getScore
public int getScore()- Specified by:
getScorein interfaceReadableScoreboardScore- Mappings:
Namespace Name Mixin selector official aLetj;a()Iintermediary method_55397Lnet/minecraft/class_9013;method_55397()Inamed getScoreLnet/minecraft/scoreboard/ReadableScoreboardScore;getScore()I
-
setScore
public void setScore(int score) - Mappings:
Namespace Name Mixin selector official aLetk;a(I)Vintermediary method_55401Lnet/minecraft/class_267;method_55401(I)Vnamed setScoreLnet/minecraft/scoreboard/ScoreboardScore;setScore(I)V
-
isLocked
public boolean isLocked()- Specified by:
isLockedin interfaceReadableScoreboardScore- Mappings:
Namespace Name Mixin selector official bLetj;b()Zintermediary method_1131Lnet/minecraft/class_9013;method_1131()Znamed isLockedLnet/minecraft/scoreboard/ReadableScoreboardScore;isLocked()Z
-
setLocked
public void setLocked(boolean locked) - Mappings:
Namespace Name Mixin selector official aLetk;a(Z)Vintermediary method_1125Lnet/minecraft/class_267;method_1125(Z)Vnamed setLockedLnet/minecraft/scoreboard/ScoreboardScore;setLocked(Z)V
-
getDisplayText
- Mappings:
Namespace Name Mixin selector official dLetk;d()Lwi;intermediary method_55407Lnet/minecraft/class_267;method_55407()Lnet/minecraft/class_2561;named getDisplayTextLnet/minecraft/scoreboard/ScoreboardScore;getDisplayText()Lnet/minecraft/text/Text;
-
setDisplayText
- Mappings:
Namespace Name Mixin selector official aLetk;a(Lwi;)Vintermediary method_55405Lnet/minecraft/class_267;method_55405(Lnet/minecraft/class_2561;)Vnamed setDisplayTextLnet/minecraft/scoreboard/ScoreboardScore;setDisplayText(Lnet/minecraft/text/Text;)V
-
getNumberFormat
- Specified by:
getNumberFormatin interfaceReadableScoreboardScore- Mappings:
Namespace Name Mixin selector official cLetj;c()Lxy;intermediary method_55400Lnet/minecraft/class_9013;method_55400()Lnet/minecraft/class_9022;named getNumberFormatLnet/minecraft/scoreboard/ReadableScoreboardScore;getNumberFormat()Lnet/minecraft/scoreboard/number/NumberFormat;
-
setNumberFormat
- Mappings:
Namespace Name Mixin selector official bLetk;b(Lxy;)Vintermediary method_55406Lnet/minecraft/class_267;method_55406(Lnet/minecraft/class_9022;)Vnamed setNumberFormatLnet/minecraft/scoreboard/ScoreboardScore;setNumberFormat(Lnet/minecraft/scoreboard/number/NumberFormat;)V
-
toNbt
- Mappings:
Namespace Name Mixin selector official aLetk;a(Lip$a;)Lto;intermediary method_55408Lnet/minecraft/class_267;method_55408(Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2487;named toNbtLnet/minecraft/scoreboard/ScoreboardScore;toNbt(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/nbt/NbtCompound;
-
fromNbt
- Mappings:
Namespace Name Mixin selector official aLetk;a(Lto;Lip$a;)Letk;intermediary method_55403Lnet/minecraft/class_267;method_55403(Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_267;named fromNbtLnet/minecraft/scoreboard/ScoreboardScore;fromNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/scoreboard/ScoreboardScore;
-