Class ClientboundRegistryDataPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.configuration.clientbound.ClientboundRegistryDataPacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundRegistryDataPacket(com.viaversion.nbt.tag.CompoundTag registry) ClientboundRegistryDataPacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleancom.viaversion.nbt.tag.CompoundTaginthashCode()voidserialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper) @NonNull StringtoString()@NonNull ClientboundRegistryDataPacketwithRegistry(com.viaversion.nbt.tag.CompoundTag registry) 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
-
ClientboundRegistryDataPacket
-
ClientboundRegistryDataPacket
public ClientboundRegistryDataPacket(com.viaversion.nbt.tag.CompoundTag registry)
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceMinecraftPacket
-
getRegistry
public com.viaversion.nbt.tag.CompoundTag getRegistry() -
equals
-
canEqual
-
hashCode
public int hashCode() -
withRegistry
public @NonNull ClientboundRegistryDataPacket withRegistry(com.viaversion.nbt.tag.CompoundTag registry) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
toString
-