net.minecraft.network.protocol.game

public record ClientboundSetScorePacket

implements Packet<ClientGamePacketListener>

afw
net.minecraft.network.protocol.game.ClientboundSetScorePacket
net.minecraft.class_2757
net.minecraft.network.packet.s2c.play.ScoreboardScoreUpdateS2CPacket
net.minecraft.src.C_5125_
net.minecraft.network.protocol.game.PacketPlayOutScoreboardScore

Field summary

Modifier and TypeField
private final String
b
owner
comp_2122
scoreHolderName
f_133323_
private final String
c
objectiveName
comp_2123
objectiveName
f_133324_
private final int
d
score
comp_2124
score
f_133325_
private final Optional<Component>
e
display
comp_2125
display
f_302966_
private final Optional<NumberFormat>
f
numberFormat
comp_2126
numberFormat
f_302463_
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundSetScorePacket>
a
STREAM_CODEC
field_47988
CODEC
f_316191_

Constructor summary

ModifierConstructor
public (String objectiveName, String score, int display, Optional<Component> numberFormat, Optional<NumberFormat> arg4)

Method summary

Modifier and TypeMethod
public PacketType<ClientboundSetScorePacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(aci arg0)
handle(ClientGamePacketListener arg0)
method_11866(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public String
b()
owner()
comp_2122()
scoreHolderName()
f_133323_()
public String
e()
objectiveName()
comp_2123()
objectiveName()
f_133324_()
public int
f()
score()
comp_2124()
score()
f_133325_()
public Optional<Component>
g()
display()
comp_2125()
display()
f_302966_()
public Optional<NumberFormat>
h()
numberFormat()
comp_2126()
numberFormat()
f_302463_()