Package dev.linwood.itemmods.api.events
Class CustomBlockPlaceEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- dev.linwood.itemmods.api.events.CustomBlockPlaceEvent
-
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class CustomBlockPlaceEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable
-
-
Constructor Summary
Constructors Constructor Description CustomBlockPlaceEvent(@NotNull org.bukkit.Location location, @NotNull PackObject packObject, @Nullable org.bukkit.entity.Player player)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull org.bukkit.event.HandlerList
getHandlerList()
@NotNull org.bukkit.event.HandlerList
getHandlers()
@NotNull org.bukkit.Location
getLocation()
@NotNull PackObject
getPackObject()
@Nullable org.bukkit.entity.Player
getPlayer()
boolean
isCancelled()
void
setCancelled(boolean cancelled)
-
-
-
Constructor Detail
-
CustomBlockPlaceEvent
public CustomBlockPlaceEvent(@NotNull @NotNull org.bukkit.Location location, @NotNull @NotNull PackObject packObject, @Nullable @Nullable org.bukkit.entity.Player player)
-
-
Method Detail
-
getHandlerList
@NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList()
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancelled)
- Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getLocation
@NotNull public @NotNull org.bukkit.Location getLocation()
-
getPackObject
@NotNull public @NotNull PackObject getPackObject()
-
getPlayer
@Nullable public @Nullable org.bukkit.entity.Player getPlayer()
-
-