Package net.minecraft.scoreboard
Class ScoreboardScore
java.lang.Object
net.minecraft.scoreboard.ScoreboardScore
- All Implemented Interfaces:
ReadableScoreboardScore
- Mappings:
Namespace Name named net/minecraft/scoreboard/ScoreboardScore
intermediary net/minecraft/class_267
official ewu
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ScoreboardScore
fromNbt
(NbtCompound nbt, RegistryWrapper.WrapperLookup registries) int
getScore()
boolean
isLocked()
void
setDisplayText
(@Nullable Text text) void
setLocked
(boolean locked) void
setNumberFormat
(@Nullable NumberFormat numberFormat) void
setScore
(int score) toNbt
(RegistryWrapper.WrapperLookup registries) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.scoreboard.ReadableScoreboardScore
getFormattedScore
-
Field Details
-
SCORE_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named SCORE_NBT_KEY
Lnet/minecraft/scoreboard/ScoreboardScore;SCORE_NBT_KEY:Ljava/lang/String;
intermediary field_47530
Lnet/minecraft/class_267;field_47530:Ljava/lang/String;
official a
Lewu;a:Ljava/lang/String;
-
LOCKED_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named LOCKED_NBT_KEY
Lnet/minecraft/scoreboard/ScoreboardScore;LOCKED_NBT_KEY:Ljava/lang/String;
intermediary field_47531
Lnet/minecraft/class_267;field_47531:Ljava/lang/String;
official b
Lewu;b:Ljava/lang/String;
-
DISPLAY_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named DISPLAY_NBT_KEY
Lnet/minecraft/scoreboard/ScoreboardScore;DISPLAY_NBT_KEY:Ljava/lang/String;
intermediary field_47532
Lnet/minecraft/class_267;field_47532:Ljava/lang/String;
official c
Lewu;c:Ljava/lang/String;
-
FORMAT_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named FORMAT_NBT_KEY
Lnet/minecraft/scoreboard/ScoreboardScore;FORMAT_NBT_KEY:Ljava/lang/String;
intermediary field_47533
Lnet/minecraft/class_267;field_47533:Ljava/lang/String;
official d
Lewu;d:Ljava/lang/String;
-
score
private int score- Mappings:
Namespace Name Mixin selector named score
Lnet/minecraft/scoreboard/ScoreboardScore;score:I
intermediary field_47534
Lnet/minecraft/class_267;field_47534:I
official e
Lewu;e:I
-
locked
private boolean locked- Mappings:
Namespace Name Mixin selector named locked
Lnet/minecraft/scoreboard/ScoreboardScore;locked:Z
intermediary field_1411
Lnet/minecraft/class_267;field_1411:Z
official f
Lewu;f:Z
-
displayText
- Mappings:
Namespace Name Mixin selector named displayText
Lnet/minecraft/scoreboard/ScoreboardScore;displayText:Lnet/minecraft/text/Text;
intermediary field_47535
Lnet/minecraft/class_267;field_47535:Lnet/minecraft/class_2561;
official g
Lewu;g:Lxp;
-
numberFormat
- Mappings:
Namespace Name Mixin selector named numberFormat
Lnet/minecraft/scoreboard/ScoreboardScore;numberFormat:Lnet/minecraft/scoreboard/number/NumberFormat;
intermediary field_47536
Lnet/minecraft/class_267;field_47536:Lnet/minecraft/class_9022;
official h
Lewu;h:Lzf;
-
-
Constructor Details
-
ScoreboardScore
public ScoreboardScore()
-
-
Method Details
-
getScore
public int getScore()- Specified by:
getScore
in interfaceReadableScoreboardScore
- Mappings:
Namespace Name Mixin selector named getScore
Lnet/minecraft/scoreboard/ReadableScoreboardScore;getScore()I
intermediary method_55397
Lnet/minecraft/class_9013;method_55397()I
official a
Lewt;a()I
-
setScore
public void setScore(int score) - Mappings:
Namespace Name Mixin selector named setScore
Lnet/minecraft/scoreboard/ScoreboardScore;setScore(I)V
intermediary method_55401
Lnet/minecraft/class_267;method_55401(I)V
official a
Lewu;a(I)V
-
isLocked
public boolean isLocked()- Specified by:
isLocked
in interfaceReadableScoreboardScore
- Mappings:
Namespace Name Mixin selector named isLocked
Lnet/minecraft/scoreboard/ReadableScoreboardScore;isLocked()Z
intermediary method_1131
Lnet/minecraft/class_9013;method_1131()Z
official b
Lewt;b()Z
-
setLocked
public void setLocked(boolean locked) - Mappings:
Namespace Name Mixin selector named setLocked
Lnet/minecraft/scoreboard/ScoreboardScore;setLocked(Z)V
intermediary method_1125
Lnet/minecraft/class_267;method_1125(Z)V
official a
Lewu;a(Z)V
-
getDisplayText
- Mappings:
Namespace Name Mixin selector named getDisplayText
Lnet/minecraft/scoreboard/ScoreboardScore;getDisplayText()Lnet/minecraft/text/Text;
intermediary method_55407
Lnet/minecraft/class_267;method_55407()Lnet/minecraft/class_2561;
official d
Lewu;d()Lxp;
-
setDisplayText
- Mappings:
Namespace Name Mixin selector named setDisplayText
Lnet/minecraft/scoreboard/ScoreboardScore;setDisplayText(Lnet/minecraft/text/Text;)V
intermediary method_55405
Lnet/minecraft/class_267;method_55405(Lnet/minecraft/class_2561;)V
official a
Lewu;a(Lxp;)V
-
getNumberFormat
- Specified by:
getNumberFormat
in interfaceReadableScoreboardScore
- Mappings:
Namespace Name Mixin selector named getNumberFormat
Lnet/minecraft/scoreboard/ReadableScoreboardScore;getNumberFormat()Lnet/minecraft/scoreboard/number/NumberFormat;
intermediary method_55400
Lnet/minecraft/class_9013;method_55400()Lnet/minecraft/class_9022;
official c
Lewt;c()Lzf;
-
setNumberFormat
- Mappings:
Namespace Name Mixin selector named setNumberFormat
Lnet/minecraft/scoreboard/ScoreboardScore;setNumberFormat(Lnet/minecraft/scoreboard/number/NumberFormat;)V
intermediary method_55406
Lnet/minecraft/class_267;method_55406(Lnet/minecraft/class_9022;)V
official b
Lewu;b(Lzf;)V
-
toNbt
- Mappings:
Namespace Name Mixin selector named toNbt
Lnet/minecraft/scoreboard/ScoreboardScore;toNbt(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/nbt/NbtCompound;
intermediary method_55408
Lnet/minecraft/class_267;method_55408(Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2487;
official a
Lewu;a(Ljk$a;)Lus;
-
fromNbt
- Mappings:
Namespace Name Mixin selector named fromNbt
Lnet/minecraft/scoreboard/ScoreboardScore;fromNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/scoreboard/ScoreboardScore;
intermediary method_55403
Lnet/minecraft/class_267;method_55403(Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_267;
official a
Lewu;a(Lus;Ljk$a;)Lewu;
-