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