Class ClientboundCodeOfConductPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.configuration.clientbound.ClientboundCodeOfConductPacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundCodeOfConductPacket(io.netty.buffer.ByteBuf in) ClientboundCodeOfConductPacket(String codeOfConduct) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ClientboundCodeOfConductPacketwithCodeOfConduct(String codeOfConduct) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ClientboundCodeOfConductPacket
public ClientboundCodeOfConductPacket(io.netty.buffer.ByteBuf in) -
ClientboundCodeOfConductPacket
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getCodeOfConduct
-
equals
-
canEqual
-
hashCode
-
toString
-
withCodeOfConduct
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-