Class WrapperPlayServerEntityDestroy
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerEntityDestroy
Sent by the server to client to remove one or more entities.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.comphenix.protocol.PacketType
The packet type that is wrapped by this wrapper.Fields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new wrapper and initialize it with a packet handle with default valuesWrapperPlayServerEntityDestroy
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptionit.unimi.dsi.fastutil.ints.IntList
Gets a list of entity ids to removevoid
setEntityIds
(it.unimi.dsi.fastutil.ints.IntList value) Sets the list of entity ids to removeMethods inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
broadcastPacket, equals, getHandle, hashCode, receivePacket, sendPacket
-
Field Details
-
TYPE
public static final com.comphenix.protocol.PacketType TYPEThe packet type that is wrapped by this wrapper.
-
-
Constructor Details
-
WrapperPlayServerEntityDestroy
public WrapperPlayServerEntityDestroy()Constructs a new wrapper and initialize it with a packet handle with default values -
WrapperPlayServerEntityDestroy
public WrapperPlayServerEntityDestroy(com.comphenix.protocol.events.PacketContainer packet)
-
-
Method Details
-
getEntityIds
public it.unimi.dsi.fastutil.ints.IntList getEntityIds()Gets a list of entity ids to remove- Returns:
- 'entityIds' to remove
-
setEntityIds
public void setEntityIds(it.unimi.dsi.fastutil.ints.IntList value) Sets the list of entity ids to remove- Parameters:
value
- New value for field 'entityIds'
-