Class ClientboundEntityEventPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.entity.ClientboundEntityEventPacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundEntityEventPacket(int entityId, EntityEvent event) ClientboundEntityEventPacket(io.netty.buffer.ByteBuf in) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintgetEvent()inthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ClientboundEntityEventPacketwithEntityId(int entityId) @NonNull ClientboundEntityEventPacketwithEvent(EntityEvent event) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ClientboundEntityEventPacket
public ClientboundEntityEventPacket(io.netty.buffer.ByteBuf in) -
ClientboundEntityEventPacket
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getEntityId
public int getEntityId() -
getEvent
-
equals
-
canEqual
-
hashCode
-
toString
-
withEntityId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withEvent
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-