Package cn.nukkit.event.block
Class LecternPageChangeEvent
java.lang.Object
cn.nukkit.event.Event
cn.nukkit.event.block.BlockEvent
cn.nukkit.event.block.LecternPageChangeEvent
- All Implemented Interfaces:
Cancellable
-
Field Summary
Fields inherited from class cn.nukkit.event.block.BlockEvent
block
-
Constructor Summary
ConstructorDescriptionLecternPageChangeEvent
(Player player, BlockEntityLectern lectern, int newPage) -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
int
int
int
int
void
setLeftPage
(int newLeftPage) void
setNewRawPage
(int newRawPage) void
setRightPage
(int newRightPage) Methods inherited from class cn.nukkit.event.block.BlockEvent
getBlock
Methods inherited from class cn.nukkit.event.Event
getEventName, isCancelled, setCancelled, setCancelled
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cn.nukkit.event.Cancellable
isCancelled, setCancelled, setCancelled
-
Constructor Details
-
LecternPageChangeEvent
@PowerNukkitOnly public LecternPageChangeEvent(Player player, BlockEntityLectern lectern, int newPage)
-
-
Method Details
-
getHandlers
-
getLectern
-
getLeftPage
-
getRightPage
-
setLeftPage
-
setRightPage
-
getNewRawPage
-
setNewRawPage
-
getMaxPage
-
getPlayer
-