Class WrapperPlayServerEntityDestroy

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerEntityDestroy

public class WrapperPlayServerEntityDestroy extends AbstractPacket
Sent by the server to client to remove one or more entities.
  • Field Details

    • TYPE

      public static final com.comphenix.protocol.PacketType TYPE
      The 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'