net.minecraft.network.protocol.game

public class ClientboundSetObjectivePacket

implements Packet<ClientGamePacketListener>

aff
net.minecraft.network.protocol.game.ClientboundSetObjectivePacket
net.minecraft.class_2751
net.minecraft.network.packet.s2c.play.ScoreboardObjectiveUpdateS2CPacket
net.minecraft.src.C_5122_
net.minecraft.network.protocol.game.PacketPlayOutScoreboardObjective

Field summary

Modifier and TypeField
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundSetObjectivePacket>
a
STREAM_CODEC
field_47985
CODEC
f_315966_
public static final int
b
METHOD_ADD
field_33343
ADD_MODE
f_179302_
public static final int
c
METHOD_REMOVE
field_33344
REMOVE_MODE
f_179303_
public static final int
d
METHOD_CHANGE
field_33345
UPDATE_MODE
f_179304_
private final String
e
objectiveName
field_12589
name
f_133252_
private final Component
f
displayName
field_12591
displayName
f_133253_
private final ObjectiveCriteria$RenderType
g
renderType
field_12592
type
f_133254_
private final Optional<NumberFormat>
h
numberFormat
field_47519
numberFormat
f_302330_
private final int
i
method
field_12590
mode
f_133255_

Constructor summary

ModifierConstructor
public (Objective objective, int mode)
private (RegistryFriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(wk arg0)
write(RegistryFriendlyByteBuf arg0)
method_55932(class_9129 arg0)
write(RegistryByteBuf buf)
m_133267_(C_313350_ arg0)
public PacketType<ClientboundSetObjectivePacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(abu arg0)
handle(ClientGamePacketListener arg0)
method_11838(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public String
b()
getObjectiveName()
method_11835()
getName()
m_133266_()
public Component
e()
getDisplayName()
method_11836()
getDisplayName()
m_133269_()
public int
f()
getMethod()
method_11837()
getMode()
m_133270_()
public ObjectiveCriteria$RenderType
g()
getRenderType()
method_11839()
getType()
m_133271_()
public Optional<NumberFormat>
h()
getNumberFormat()
method_55336()
getNumberFormat()
m_307940_()