net.minecraft.network.protocol.game

public class ClientboundSetPlayerTeamPacket

implements Packet<ClientGamePacketListener>

ack
net.minecraft.network.protocol.game.ClientboundSetPlayerTeamPacket
net.minecraft.class_5900
net.minecraft.unmapped.C_yxooxvgv
net.minecraft.network.packet.s2c.play.TeamS2CPacket
net.minecraft.network.packet.s2c.play.TeamUpdateS2CPacket
net.minecraft.src.C_5124_
net.minecraft.network.protocol.game.PacketPlayOutScoreboardTeam

Field summary

Modifier and TypeField
private static final int
a
METHOD_ADD
field_33346
f_veeptmxz
ADD
ADD
f_179309_
private static final int
b
METHOD_REMOVE
field_33347
f_cdquazdx
REMOVE
REMOVE
f_179310_
private static final int
c
METHOD_CHANGE
field_33348
f_ufjwtsxd
UPDATE
UPDATE
f_179311_
private static final int
d
METHOD_JOIN
field_33349
f_ubskopes
ADD_PLAYERS
ADD_PLAYERS
f_179312_
private static final int
e
METHOD_LEAVE
field_33350
f_bpjvvygv
REMOVE_PLAYERS
REMOVE_PLAYERS
f_179313_
private static final int
f
MAX_VISIBILITY_LENGTH
field_33351
f_dnenwkoq
FIRST_MAX_VISIBILITY_OR_COLLISION_RULE_LENGTH
FIRST_MAX_VISIBILITY_OR_COLLISION_RULE_LENGTH
f_179314_
private static final int
g
MAX_COLLISION_LENGTH
field_33352
f_lgozsjqy
SECOND_MAX_VISIBILITY_OR_COLLISION_RULE_LENGTH
SECOND_MAX_VISIBILITY_OR_COLLISION_RULE_LENGTH
f_179315_
private final int
h
method
field_29151
f_loucakhn
packetType
packetType
f_133295_
private final String
i
name
field_29152
f_aginpujt
teamName
teamName
f_133287_
private final Collection<String>
j
players
field_29153
f_ivbthmyd
playerNames
playerNames
f_133294_
private final Optional<ClientboundSetPlayerTeamPacket$Parameters>
k
parameters
field_29154
f_cvtmpsgy
team
team
f_179316_

Constructor summary

ModifierConstructor
private (String teamName, int packetType, Optional<ClientboundSetPlayerTeamPacket$Parameters> team, Collection<String> playerNames)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public static ClientboundSetPlayerTeamPacket
a(ems arg0, boolean arg1)
createAddOrModifyPacket(PlayerTeam arg0, boolean arg1)
method_34172(class_268 arg0, boolean arg1)
m_qyuvblly(C_dvkwmbxw arg0, boolean arg1)
updateTeam(Team team, boolean updatePlayers)
updateTeam(Team team, boolean updatePlayers)
m_179332_(C_3074_ p_179333_, boolean p_179334_)
public static ClientboundSetPlayerTeamPacket
a(ems arg0)
createRemovePacket(PlayerTeam arg0)
method_34170(class_268 arg0)
m_pvtcnpto(C_dvkwmbxw arg0)
updateRemovedTeam(Team team)
updateRemovedTeam(Team team)
m_179326_(C_3074_ p_179327_)
public static ClientboundSetPlayerTeamPacket
a(ems arg0, String arg1, ack$a arg2)
createPlayerPacket(PlayerTeam arg0, String arg1, ClientboundSetPlayerTeamPacket$Action arg2)
method_34171(class_268 arg0, String arg1, class_5900$class_5901 arg2)
m_tfnwvvyw(C_dvkwmbxw arg0, String arg1, C_yxooxvgv$C_emvuedja arg2)
changePlayerTeam(Team team, String playerName, TeamS2CPacket$Operation operation)
changePlayerTeam(Team team, String playerName, TeamUpdateS2CPacket$Operation operation)
m_179328_(C_3074_ p_179329_, String p_179330_, C_5124_$C_141869_ p_179331_)
public void
a(ui arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
m_pwnpydub(C_idfydwco arg0)
write(PacketByteBuf arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
private static boolean
a(int arg0)
shouldHavePlayerList(int arg0)
method_34169(int arg0)
m_bpcefabd(int arg0)
containsPlayers(int packetType)
containsPlayers(int packetType)
m_179324_(int p_179325_)
private static boolean
b(int arg0)
shouldHaveParameters(int arg0)
method_34175(int arg0)
m_jlzvlesz(int arg0)
containsTeamInfo(int packetType)
containsTeamInfo(int packetType)
m_179336_(int p_179337_)
public ClientboundSetPlayerTeamPacket$Action
a()
getPlayerAction()
method_34174()
m_qefvqjwu()
getPlayerListOperation()
getPlayerListOperation()
m_179335_()
public ClientboundSetPlayerTeamPacket$Action
d()
getTeamAction()
method_34176()
m_eqdfrfrx()
getTeamOperation()
getTeamOperation()
m_179338_()
public void
a(za arg0)
handle(ClientGamePacketListener arg0)
method_34173(class_2602 arg0)
m_iguslswt(C_rbfddnlp arg0)
apply(ClientPlayPacketListener arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public String
e()
getName()
method_34177()
m_zoudxeyq()
getTeamName()
getTeamName()
m_133311_()
public Collection<String>
f()
getPlayers()
method_34178()
m_rskxdmcm()
getPlayerNames()
getPlayerNames()
m_133315_()
public Optional<ClientboundSetPlayerTeamPacket$Parameters>
g()
getParameters()
method_34179()
m_iczuwnfn()
getTeam()
getTeam()
m_179339_()