Class SChatPacket
java.lang.Object
net.minecraft.network.play.server.SChatPacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSChatPacket
(ITextComponent p_i232578_1_, ChatType p_i232578_2_, UUID p_i232578_3_) -
Method Summary
Modifier and TypeMethodDescriptiongetType()
void
handle
(IClientPlayNetHandler p_148833_1_) boolean
boolean
isSystem()
void
read
(PacketBuffer p_148837_1_) void
write
(PacketBuffer p_148840_1_)
-
Field Details
-
message
-
type
-
sender
-
-
Constructor Details
-
SChatPacket
public SChatPacket() -
SChatPacket
-
-
Method Details
-
read
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
handle
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
getMessage
-
isSystem
public boolean isSystem() -
getType
-
getSender
-
isSkippable
public boolean isSkippable()- Specified by:
isSkippable
in interfaceIPacket<IClientPlayNetHandler>
-