net.minecraft.network.protocol.game

public record ClientboundSetScorePacket

implements Packet<ClientGamePacketListener>

afg
net.minecraft.network.protocol.game.ClientboundSetScorePacket
net.minecraft.class_2757
net.minecraft.network.packet.s2c.play.ScoreboardScoreUpdateS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutScoreboardScore

Field summary

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

Constructor summary

ModifierConstructor
public (String arg0, String arg1, int arg2, Optional<Component> arg3, Optional<NumberFormat> arg4)

Method summary

Modifier and TypeMethod
public PacketType<ClientboundSetScorePacket>
a()
type()
method_65080()
getPacketType()
public void
a(abl arg0)
handle(ClientGamePacketListener arg0)
method_11866(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public String
b()
owner()
comp_2122()
scoreHolderName()
public String
e()
objectiveName()
comp_2123()
objectiveName()
public int
f()
score()
comp_2124()
score()
public Optional<Component>
g()
display()
comp_2125()
display()
public Optional<NumberFormat>
h()
numberFormat()
comp_2126()
numberFormat()