Class ServerboundBlockEntityTagQueryPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.level.ServerboundBlockEntityTagQueryPacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundBlockEntityTagQueryPacket(int transactionId, int x, int y, int z) ServerboundBlockEntityTagQueryPacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintintgetX()intgetY()intgetZ()inthashCode()voidserialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper) @NonNull StringtoString()@NonNull ServerboundBlockEntityTagQueryPacketwithTransactionId(int transactionId) @NonNull ServerboundBlockEntityTagQueryPacketwithX(int x) @NonNull ServerboundBlockEntityTagQueryPacketwithY(int y) @NonNull ServerboundBlockEntityTagQueryPacketwithZ(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
-
Constructor Details
-
ServerboundBlockEntityTagQueryPacket
public ServerboundBlockEntityTagQueryPacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) -
ServerboundBlockEntityTagQueryPacket
public ServerboundBlockEntityTagQueryPacket(int transactionId, int x, int y, int z)
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceMinecraftPacket
-
getTransactionId
public int getTransactionId() -
getX
public int getX() -
getY
public int getY() -
getZ
public int getZ() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withTransactionId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
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).
-