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) ClientboundRegistryDataPacket(String registry, List<RegistryEntry> entries) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ClientboundRegistryDataPacketwithEntries(List<RegistryEntry> entries) @NonNull ClientboundRegistryDataPacketwithRegistry(String registry) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ClientboundRegistryDataPacket
public ClientboundRegistryDataPacket(io.netty.buffer.ByteBuf in) -
ClientboundRegistryDataPacket
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getRegistry
-
getEntries
-
equals
-
canEqual
-
hashCode
-
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).
-
toString
-