Class ServerboundPickItemFromBlockPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.inventory.ServerboundPickItemFromBlockPacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundPickItemFromBlockPacket(int x, int y, int z, boolean includeData) ServerboundPickItemFromBlockPacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintgetX()intgetY()intgetZ()inthashCode()booleanvoidserialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper) @NonNull StringtoString()@NonNull ServerboundPickItemFromBlockPacketwithIncludeData(boolean includeData) @NonNull ServerboundPickItemFromBlockPacketwithX(int x) @NonNull ServerboundPickItemFromBlockPacketwithY(int y) @NonNull ServerboundPickItemFromBlockPacketwithZ(int z) 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
-
ServerboundPickItemFromBlockPacket
-
ServerboundPickItemFromBlockPacket
public ServerboundPickItemFromBlockPacket(int x, int y, int z, boolean includeData)
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceMinecraftPacket
-
getX
public int getX() -
getY
public int getY() -
getZ
public int getZ() -
isIncludeData
public boolean isIncludeData() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withX
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withY
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withZ
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withIncludeData
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-