Class ServerboundEntityTagQuery
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.level.ServerboundEntityTagQuery
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundEntityTagQuery(int transactionId, int entityId) ServerboundEntityTagQuery(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintintinthashCode()voidserialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper) @NonNull StringtoString()@NonNull ServerboundEntityTagQuerywithEntityId(int entityId) @NonNull ServerboundEntityTagQuerywithTransactionId(int transactionId) 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
-
ServerboundEntityTagQuery
-
ServerboundEntityTagQuery
public ServerboundEntityTagQuery(int transactionId, int entityId)
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceMinecraftPacket
-
getTransactionId
public int getTransactionId() -
getEntityId
public int getEntityId() -
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).
-
withEntityId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-