Class CustomBlockPlaceEvent

  • All Implemented Interfaces:
    org.bukkit.event.Cancellable

    public class CustomBlockPlaceEvent
    extends org.bukkit.event.Event
    implements org.bukkit.event.Cancellable
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.bukkit.event.Event

        org.bukkit.event.Event.Result
    • Constructor Summary

      Constructors 
      Constructor Description
      CustomBlockPlaceEvent​(@NotNull org.bukkit.Location location, @NotNull PackObject packObject, @Nullable org.bukkit.entity.Player player)  
    • 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 interface org.bukkit.event.Cancellable
      • setCancelled

        public void setCancelled​(boolean cancelled)
        Specified by:
        setCancelled in interface org.bukkit.event.Cancellable
      • getHandlers

        @NotNull
        public @NotNull org.bukkit.event.HandlerList getHandlers()
        Specified by:
        getHandlers in class org.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()