Class ClientboundShowDialogGamePacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.ClientboundShowDialogGamePacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundShowDialogGamePacket(io.netty.buffer.ByteBuf in) ClientboundShowDialogGamePacket(Holder<com.viaversion.nbt.mini.MNBT> dialog) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanHolder<com.viaversion.nbt.mini.MNBT> inthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ClientboundShowDialogGamePacketwithDialog(Holder<com.viaversion.nbt.mini.MNBT> dialog) 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, isTerminal
-
Constructor Details
-
ClientboundShowDialogGamePacket
public ClientboundShowDialogGamePacket(io.netty.buffer.ByteBuf in) -
ClientboundShowDialogGamePacket
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getDialog
-
equals
-
canEqual
-
hashCode
public int hashCode() -
withDialog
public @NonNull ClientboundShowDialogGamePacket withDialog(Holder<com.viaversion.nbt.mini.MNBT> dialog) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
toString
-