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 Details

    • teamName

      private String 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

      private Text 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

      private 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

      private 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

      private String 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

      private 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

      private Formatting 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

      private final Collection<String> 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

      public TeamS2CPacket​(Team team, int mode)
      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

      public TeamS2CPacket​(Team team, Collection<String> playerList, int mode)
      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

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<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

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<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

      public void apply​(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<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

      @Environment(CLIENT) public String 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

      @Environment(CLIENT) public Text 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

      @Environment(CLIENT) public Collection<String> 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

      @Environment(CLIENT) public int 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

      @Environment(CLIENT) public int 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

      @Environment(CLIENT) public Formatting 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

      @Environment(CLIENT) public String 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

      @Environment(CLIENT) public 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

      @Environment(CLIENT) public Text 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

      @Environment(CLIENT) public 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;