net.minecraft.network.chat.contents

public record ScoreContents

implements ComponentContents

zd
net.minecraft.network.chat.contents.ScoreContents
net.minecraft.class_2578
net.minecraft.text.ScoreTextContent
net.minecraft.network.chat.contents.ScoreContents

Field summary

Modifier and TypeField
private final com.mojang.datafixers.util.Either<SelectorPattern, String>
d
name
comp_3078
name
private final String
e
objective
comp_3079
objective
public static final com.mojang.serialization.MapCodec<ScoreContents>
a
INNER_CODEC
field_46626
INNER_CODEC
public static final com.mojang.serialization.MapCodec<ScoreContents>
b
CODEC
field_46627
CODEC
public static final ComponentContents$Type<ScoreContents>
c
TYPE
field_46628
TYPE

Constructor summary

ModifierConstructor
public (com.mojang.datafixers.util.Either<SelectorPattern, String> arg0, String objective)

Method summary

Modifier and TypeMethod
public ComponentContents$Type<?>
a()
type()
method_54163()
getType()
private ScoreHolder
a(ew arg0)
findTargetName(CommandSourceStack arg0)
method_27699(class_2168 arg0)
getScoreHolder(ServerCommandSource source)
private MutableComponent
a(fdc arg0, ew arg1)
getScore(ScoreHolder arg0, CommandSourceStack arg1)
method_27700(class_9015 arg0, class_2168 arg1)
getScore(ScoreHolder scoreHolder, ServerCommandSource source)
public MutableComponent
a(ew arg0, bvk arg1, int arg2)
resolve(CommandSourceStack arg0, Entity arg1, int arg2)
method_10890(class_2168 arg0, class_1297 arg1, int arg2)
parse(ServerCommandSource arg0, Entity arg1, int arg2)
public com.mojang.datafixers.util.Either<SelectorPattern, String>
b()
name()
comp_3078()
name()
public String
c()
objective()
comp_3079()
objective()