Class WorldItemStatusChangeEvent


public final class WorldItemStatusChangeEvent extends WorldItemEvent
Called when the status of a world item changes etc.
  • Method Details

    • getOldStatus

      public short getOldStatus()
    • getNewStatus

      public short getNewStatus()
      Gets the new item status.
      Returns:
      the new status.
    • setNewStatus

      public void setNewStatus(short status)
      Sets the new item status.
      Parameters:
      status - the new status you want to set.