Class ClientboundSetPlayerTeamPacket.Parameters

java.lang.Object
net.minecraft.network.protocol.game.ClientboundSetPlayerTeamPacket.Parameters
Enclosing class:
ClientboundSetPlayerTeamPacket

public static class ClientboundSetPlayerTeamPacket.Parameters extends Object
  • Field Details

    • displayName

      private final Component displayName
    • playerPrefix

      private final Component playerPrefix
    • playerSuffix

      private final Component playerSuffix
    • nametagVisibility

      private final String nametagVisibility
    • collisionRule

      private final String collisionRule
    • color

      private final ChatFormatting color
    • options

      private final int options
  • Constructor Details

  • Method Details

    • getDisplayName

      public Component getDisplayName()
    • getOptions

      public int getOptions()
    • getColor

      public ChatFormatting getColor()
    • getNametagVisibility

      public String getNametagVisibility()
    • getCollisionRule

      public String getCollisionRule()
    • getPlayerPrefix

      public Component getPlayerPrefix()
    • getPlayerSuffix

      public Component getPlayerSuffix()
    • write

      public void write(FriendlyByteBuf p_179365_)