public final class TARDISRoomGrowEvent extends TARDISEvent
Constructor and Description |
---|
TARDISRoomGrowEvent(org.bukkit.entity.Player player,
Tardis tardis,
TARDISARSSlot slot,
TARDISRoomData roomData)
A room growing event.
|
Modifier and Type | Method and Description |
---|---|
TARDISRoomData |
getRoomData()
Returns the room data object.
|
TARDISARSSlot |
getSlot()
Returns the Architectural Reconfiguration System position data object.
|
getHandlerList, getHandlers, getPlayer, getTardis
public TARDISRoomGrowEvent(org.bukkit.entity.Player player, Tardis tardis, TARDISARSSlot slot, TARDISRoomData roomData)
player
- the player growing the roomtardis
- the Tardis data object, may be null - if room was manually grown, use getRoomData()
.getTardis_id()slot
- the TARDISARSSlot data object, may be null - if the room was manually grown, use getRoomData()
.getLocation()roomData
- the TARDISRoomData data objectpublic TARDISARSSlot getSlot()
TARDISARSSlot
's getter methods to retrieve the coordinates.public TARDISRoomData getRoomData()
TARDISRoomData
's getter
methods to retrieve the room type, wall and floor materials.