Record Class ClientInteractEntityPacket.Attack
java.lang.Object
java.lang.Record
net.minestom.server.network.packet.client.play.ClientInteractEntityPacket.Attack
- All Implemented Interfaces:
ClientInteractEntityPacket.Type
- Enclosing class:
ClientInteractEntityPacket
public static record ClientInteractEntityPacket.Attack()
extends Record
implements ClientInteractEntityPacket.Type
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NetworkBuffer.Type
<ClientInteractEntityPacket.Attack> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SERIALIZER
-
-
Constructor Details
-
Attack
public Attack()Creates an instance of aAttack
record class.
-
-
Method Details
-
id
public int id()- Specified by:
id
in interfaceClientInteractEntityPacket.Type
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal.
-