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) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintgetX()intgetY()intgetZ()inthashCode()booleanvoidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ServerboundPickItemFromBlockPacketwithIncludeData(boolean includeData) @NonNull ServerboundPickItemFromBlockPacketwithX(int x) @NonNull ServerboundPickItemFromBlockPacketwithY(int y) @NonNull ServerboundPickItemFromBlockPacketwithZ(int z) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ServerboundPickItemFromBlockPacket
public ServerboundPickItemFromBlockPacket(io.netty.buffer.ByteBuf in) -
ServerboundPickItemFromBlockPacket
public ServerboundPickItemFromBlockPacket(int x, int y, int z, boolean includeData)
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getX
public int getX() -
getY
public int getY() -
getZ
public int getZ() -
isIncludeData
public boolean isIncludeData() -
equals
-
canEqual
-
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).
-