Class ClientboundPostEffectsPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.common.clientbound.ClientboundPostEffectsPacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundPostEffectsPacket(io.netty.buffer.ByteBuf in) ClientboundPostEffectsPacket(List<net.kyori.adventure.key.Key> postEffects) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanList<net.kyori.adventure.key.Key> inthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ClientboundPostEffectsPacketwithPostEffects(List<net.kyori.adventure.key.Key> postEffects) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ClientboundPostEffectsPacket
public ClientboundPostEffectsPacket(io.netty.buffer.ByteBuf in) -
ClientboundPostEffectsPacket
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getPostEffects
-
equals
-
canEqual
-
hashCode
-
toString
-
withPostEffects
public @NonNull ClientboundPostEffectsPacket withPostEffects(List<net.kyori.adventure.key.Key> postEffects) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-