Package net.risingworld.api.events.world
Class WorldItemStatusChangeEvent
java.lang.Object
net.risingworld.api.events.Event
net.risingworld.api.events.world.WorldItemEvent
net.risingworld.api.events.world.WorldItemStatusChangeEvent
Called when the status of a world item changes etc.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionshortGets the new item status.shortvoidsetNewStatus(short status) Sets the new item status.Methods inherited from class net.risingworld.api.events.world.WorldItemEvent
getWorldItem
-
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.
-