Class ClientboundUpdateEnabledFeaturesPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.configuration.clientbound.ClientboundUpdateEnabledFeaturesPacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundUpdateEnabledFeaturesPacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) ClientboundUpdateEnabledFeaturesPacket(String[] features) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanString[]inthashCode()voidserialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper) @NonNull StringtoString()withFeatures(String[] features) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.geysermc.mcprotocollib.network.packet.Packet
isPriority
-
Constructor Details
-
ClientboundUpdateEnabledFeaturesPacket
public ClientboundUpdateEnabledFeaturesPacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) -
ClientboundUpdateEnabledFeaturesPacket
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceMinecraftPacket
-
getFeatures
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withFeatures
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-