Class ClientboundChunkBatchFinishedPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.level.ClientboundChunkBatchFinishedPacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundChunkBatchFinishedPacket(int batchSize) ClientboundChunkBatchFinishedPacket(io.netty.buffer.ByteBuf in) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintinthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ClientboundChunkBatchFinishedPacketwithBatchSize(int batchSize) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.geysermc.mcprotocollib.network.packet.Packet
isTerminal, shouldRunOnGameThread
-
Constructor Details
-
ClientboundChunkBatchFinishedPacket
public ClientboundChunkBatchFinishedPacket(io.netty.buffer.ByteBuf in) -
ClientboundChunkBatchFinishedPacket
public ClientboundChunkBatchFinishedPacket(int batchSize)
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getBatchSize
public int getBatchSize() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withBatchSize
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-