Class PrePylonBlockPlaceEvent
-
- All Implemented Interfaces:
-
org.bukkit.event.Cancellable
public final class PrePylonBlockPlaceEvent extends Event implements Cancellable
Called after the material of the block is set, but before the PylonBlock's constructor is called.
-
-
Constructor Summary
Constructors Constructor Description PrePylonBlockPlaceEvent(Block block, PylonBlockSchema blockSchema, BlockCreateContext context)
-
Method Summary
Modifier and Type Method Description final BlockgetBlock()final PylonBlockSchemagetBlockSchema()final BlockCreateContextgetContext()BooleanisCancelled()voidsetCancelled(Boolean cancel)HandlerListgetHandlers()final static HandlerListgetHandlerList()-
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous -
Methods inherited from class io.github.pylonmc.pylon.core.event.PrePylonBlockPlaceEvent
getHandlers, isCancelled, setCancelled -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
PrePylonBlockPlaceEvent
PrePylonBlockPlaceEvent(Block block, PylonBlockSchema blockSchema, BlockCreateContext context)
-
-
Method Detail
-
getBlockSchema
final PylonBlockSchema getBlockSchema()
-
getContext
final BlockCreateContext getContext()
-
isCancelled
Boolean isCancelled()
-
setCancelled
void setCancelled(Boolean cancel)
-
getHandlers
HandlerList getHandlers()
-
getHandlerList
final static HandlerList getHandlerList()
-
-
-
-