Class TeamS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.TeamS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class TeamS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official sa
intermediary net/minecraft/class_2755
named net/minecraft/network/packet/s2c/play/TeamS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private String
collisionRule
private Formatting
color
private Text
displayName
private int
flags
private int
mode
private String
nameTagVisibilityRule
private Collection<String>
playerList
private Text
prefix
private Text
suffix
private String
teamName
-
Constructor Summary
Constructors Constructor Description TeamS2CPacket()
TeamS2CPacket(Team team, int mode)
TeamS2CPacket(Team team, Collection<String> playerList, int mode)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
String
getCollisionRule()
Text
getDisplayName()
int
getFlags()
int
getMode()
String
getNameTagVisibilityRule()
Collection<String>
getPlayerList()
Formatting
getPlayerPrefix()
Text
getPrefix()
Text
getSuffix()
String
getTeamName()
void
read(PacketByteBuf buf)
void
write(PacketByteBuf buf)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
teamName
- Mappings:
Namespace Name Mixin selector official a
Lsa;a:Ljava/lang/String;
intermediary field_12600
Lnet/minecraft/class_2755;field_12600:Ljava/lang/String;
named teamName
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;teamName:Ljava/lang/String;
-
displayName
- Mappings:
Namespace Name Mixin selector official b
Lsa;b:Loi;
intermediary field_12603
Lnet/minecraft/class_2755;field_12603:Lnet/minecraft/class_2561;
named displayName
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;displayName:Lnet/minecraft/text/Text;
-
prefix
- Mappings:
Namespace Name Mixin selector official c
Lsa;c:Loi;
intermediary field_12601
Lnet/minecraft/class_2755;field_12601:Lnet/minecraft/class_2561;
named prefix
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;prefix:Lnet/minecraft/text/Text;
-
suffix
- Mappings:
Namespace Name Mixin selector official d
Lsa;d:Loi;
intermediary field_12597
Lnet/minecraft/class_2755;field_12597:Lnet/minecraft/class_2561;
named suffix
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;suffix:Lnet/minecraft/text/Text;
-
nameTagVisibilityRule
- Mappings:
Namespace Name Mixin selector official e
Lsa;e:Ljava/lang/String;
intermediary field_12604
Lnet/minecraft/class_2755;field_12604:Ljava/lang/String;
named nameTagVisibilityRule
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;nameTagVisibilityRule:Ljava/lang/String;
-
collisionRule
- Mappings:
Namespace Name Mixin selector official f
Lsa;f:Ljava/lang/String;
intermediary field_12605
Lnet/minecraft/class_2755;field_12605:Ljava/lang/String;
named collisionRule
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;collisionRule:Ljava/lang/String;
-
color
- Mappings:
Namespace Name Mixin selector official g
Lsa;g:Lk;
intermediary field_12598
Lnet/minecraft/class_2755;field_12598:Lnet/minecraft/class_124;
named color
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;color:Lnet/minecraft/util/Formatting;
-
playerList
- Mappings:
Namespace Name Mixin selector official h
Lsa;h:Ljava/util/Collection;
intermediary field_12602
Lnet/minecraft/class_2755;field_12602:Ljava/util/Collection;
named playerList
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;playerList:Ljava/util/Collection;
-
mode
private int mode- Mappings:
Namespace Name Mixin selector official i
Lsa;i:I
intermediary field_12599
Lnet/minecraft/class_2755;field_12599:I
named mode
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;mode:I
-
flags
private int flags- Mappings:
Namespace Name Mixin selector official j
Lsa;j:I
intermediary field_12606
Lnet/minecraft/class_2755;field_12606:I
named flags
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;flags:I
-
-
Constructor Details
-
TeamS2CPacket
public TeamS2CPacket() -
TeamS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lsa;<init>(Ldjq;I)V
intermediary <init>
Lnet/minecraft/class_2755;<init>(Lnet/minecraft/class_268;I)V
named <init>
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;<init>(Lnet/minecraft/scoreboard/Team;I)V
-
TeamS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lsa;<init>(Ldjq;Ljava/util/Collection;I)V
intermediary <init>
Lnet/minecraft/class_2755;<init>(Lnet/minecraft/class_268;Ljava/util/Collection;I)V
named <init>
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;<init>(Lnet/minecraft/scoreboard/Team;Ljava/util/Collection;I)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lsa;a(Lpd;)V
intermediary method_11860
Lnet/minecraft/class_2755;method_11860(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getTeamName
- Mappings:
Namespace Name Mixin selector official b
Lsa;b()Ljava/lang/String;
intermediary method_11855
Lnet/minecraft/class_2755;method_11855()Ljava/lang/String;
named getTeamName
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;getTeamName()Ljava/lang/String;
-
getDisplayName
- Mappings:
Namespace Name Mixin selector official c
Lsa;c()Loi;
intermediary method_11859
Lnet/minecraft/class_2755;method_11859()Lnet/minecraft/class_2561;
named getDisplayName
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;getDisplayName()Lnet/minecraft/text/Text;
-
getPlayerList
- Mappings:
Namespace Name Mixin selector official d
Lsa;d()Ljava/util/Collection;
intermediary method_11857
Lnet/minecraft/class_2755;method_11857()Ljava/util/Collection;
named getPlayerList
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;getPlayerList()Ljava/util/Collection;
-
getMode
- Mappings:
Namespace Name Mixin selector official e
Lsa;e()I
intermediary method_11853
Lnet/minecraft/class_2755;method_11853()I
named getMode
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;getMode()I
-
getFlags
- Mappings:
Namespace Name Mixin selector official f
Lsa;f()I
intermediary method_11852
Lnet/minecraft/class_2755;method_11852()I
named getFlags
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;getFlags()I
-
getPlayerPrefix
- Mappings:
Namespace Name Mixin selector official g
Lsa;g()Lk;
intermediary method_11858
Lnet/minecraft/class_2755;method_11858()Lnet/minecraft/class_124;
named getPlayerPrefix
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;getPlayerPrefix()Lnet/minecraft/util/Formatting;
-
getNameTagVisibilityRule
- Mappings:
Namespace Name Mixin selector official h
Lsa;h()Ljava/lang/String;
intermediary method_11851
Lnet/minecraft/class_2755;method_11851()Ljava/lang/String;
named getNameTagVisibilityRule
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;getNameTagVisibilityRule()Ljava/lang/String;
-
getCollisionRule
- Mappings:
Namespace Name Mixin selector official i
Lsa;i()Ljava/lang/String;
intermediary method_11861
Lnet/minecraft/class_2755;method_11861()Ljava/lang/String;
named getCollisionRule
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;getCollisionRule()Ljava/lang/String;
-
getPrefix
- Mappings:
Namespace Name Mixin selector official j
Lsa;j()Loi;
intermediary method_11856
Lnet/minecraft/class_2755;method_11856()Lnet/minecraft/class_2561;
named getPrefix
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;getPrefix()Lnet/minecraft/text/Text;
-
getSuffix
- Mappings:
Namespace Name Mixin selector official k
Lsa;k()Loi;
intermediary method_11854
Lnet/minecraft/class_2755;method_11854()Lnet/minecraft/class_2561;
named getSuffix
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket;getSuffix()Lnet/minecraft/text/Text;
-