net.minecraft.network.protocol.game

public class ClientboundSetDisplayObjectivePacket

implements Packet<ClientGamePacketListener>

aga
net.minecraft.network.protocol.game.ClientboundSetDisplayObjectivePacket
net.minecraft.class_2736
net.minecraft.network.packet.s2c.play.ScoreboardDisplayS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutScoreboardDisplayObjective

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundSetDisplayObjectivePacket>
a
STREAM_CODEC
field_47978
CODEC
private final DisplaySlot
b
slot
field_12464
slot
private final String
c
objectiveName
field_12465
name

Constructor summary

ModifierConstructor
public (DisplaySlot slot, Objective objective)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(ws arg0)
write(FriendlyByteBuf arg0)
method_55925(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundSetDisplayObjectivePacket>
a()
type()
method_55846()
getPacketId()
public void
a(acr arg0)
handle(ClientGamePacketListener arg0)
method_11805(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public DisplaySlot
b()
getSlot()
method_11806()
getSlot()
public String
e()
getObjectiveName()
method_11804()
getName()