Class CustomBlockPlaceEvent

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

    public class CustomBlockPlaceEvent
    extends org.bukkit.event.Event
    implements org.bukkit.event.Cancellable
    Author:
    CodeDoctorDE
    • 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()