Class WrapperPlayServerCloseWindow

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

public class WrapperPlayServerCloseWindow extends AbstractPacket
Send by server to client to close a container with provided id
  • Field Details

    • TYPE

      public static final com.comphenix.protocol.PacketType TYPE
      The packet type that is wrapped by this wrapper.
  • Constructor Details

    • WrapperPlayServerCloseWindow

      public WrapperPlayServerCloseWindow()
      Constructs a new wrapper and initialize it with a packet handle with default values
    • WrapperPlayServerCloseWindow

      public WrapperPlayServerCloseWindow(com.comphenix.protocol.events.PacketContainer packet)
  • Method Details

    • getContainerId

      public int getContainerId()
      Gets the id of the container to close
      Returns:
      'containerId'
    • setContainerId

      public void setContainerId(int value)
      Sets the id of the container to close
      Parameters:
      value - New value for field 'containerId'