net.minecraft.network.protocol.game

public class ClientboundSetObjectivePacket

implements Packet<ClientGamePacketListener>

agi
net.minecraft.network.protocol.game.ClientboundSetObjectivePacket
net.minecraft.class_2751
net.minecraft.network.packet.s2c.play.ScoreboardObjectiveUpdateS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutScoreboardObjective

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(xg arg0)
write(RegistryFriendlyByteBuf arg0)
method_55932(class_9129 arg0)
write(RegistryByteBuf buf)
public PacketType<ClientboundSetObjectivePacket>
a()
type()
method_55846()
getPacketId()
public void
a(acr arg0)
handle(ClientGamePacketListener arg0)
method_11838(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public String
b()
getObjectiveName()
method_11835()
getName()
public Component
e()
getDisplayName()
method_11836()
getDisplayName()
public int
f()
getMethod()
method_11837()
getMode()
public ObjectiveCriteria$RenderType
g()
getRenderType()
method_11839()
getType()
public Optional<NumberFormat>
h()
getNumberFormat()
method_55336()
getNumberFormat()