Class STeamsPacket
- java.lang.Object
-
- net.minecraft.network.play.server.STeamsPacket
-
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
public class STeamsPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
collisionRule
private TextFormatting
color
private ITextComponent
displayName
private int
method
private java.lang.String
name
private java.lang.String
nametagVisibility
private int
options
private ITextComponent
playerPrefix
private java.util.Collection<java.lang.String>
players
private ITextComponent
playerSuffix
-
Constructor Summary
Constructors Constructor Description STeamsPacket()
STeamsPacket(ScorePlayerTeam p_i46907_1_, int p_i46907_2_)
STeamsPacket(ScorePlayerTeam p_i46908_1_, java.util.Collection<java.lang.String> p_i46908_2_, int p_i46908_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCollisionRule()
TextFormatting
getColor()
ITextComponent
getDisplayName()
int
getMethod()
java.lang.String
getName()
java.lang.String
getNametagVisibility()
int
getOptions()
ITextComponent
getPlayerPrefix()
java.util.Collection<java.lang.String>
getPlayers()
ITextComponent
getPlayerSuffix()
void
handle(IClientPlayNetHandler p_148833_1_)
void
read(PacketBuffer p_148837_1_)
void
write(PacketBuffer p_148840_1_)
-
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.IPacket
isSkippable
-
-
-
-
Field Detail
-
name
private java.lang.String name
-
displayName
private ITextComponent displayName
-
playerPrefix
private ITextComponent playerPrefix
-
playerSuffix
private ITextComponent playerSuffix
-
nametagVisibility
private java.lang.String nametagVisibility
-
collisionRule
private java.lang.String collisionRule
-
color
private TextFormatting color
-
players
private final java.util.Collection<java.lang.String> players
-
method
private int method
-
options
private int options
-
-
Constructor Detail
-
STeamsPacket
public STeamsPacket()
-
STeamsPacket
public STeamsPacket(ScorePlayerTeam p_i46907_1_, int p_i46907_2_)
-
STeamsPacket
public STeamsPacket(ScorePlayerTeam p_i46908_1_, java.util.Collection<java.lang.String> p_i46908_2_, int p_i46908_3_)
-
-
Method Detail
-
read
public void read(PacketBuffer p_148837_1_) throws java.io.IOException
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
java.io.IOException
-
write
public void write(PacketBuffer p_148840_1_) throws java.io.IOException
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
java.io.IOException
-
handle
public void handle(IClientPlayNetHandler p_148833_1_)
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
getName
public java.lang.String getName()
-
getDisplayName
public ITextComponent getDisplayName()
-
getPlayers
public java.util.Collection<java.lang.String> getPlayers()
-
getMethod
public int getMethod()
-
getOptions
public int getOptions()
-
getColor
public TextFormatting getColor()
-
getNametagVisibility
public java.lang.String getNametagVisibility()
-
getCollisionRule
public java.lang.String getCollisionRule()
-
getPlayerPrefix
public ITextComponent getPlayerPrefix()
-
getPlayerSuffix
public ITextComponent getPlayerSuffix()
-
-