Class BlockExpEvent

    • Constructor Detail

      • BlockExpEvent

        public BlockExpEvent​(@NotNull
                             Block block,
                             int exp)
    • Method Detail

      • getExpToDrop

        public int getExpToDrop()
        Get the experience dropped by the block after the event has processed
        Returns:
        The experience to drop
      • setExpToDrop

        public void setExpToDrop​(int exp)
        Set the amount of experience dropped by the block after the event has processed
        Parameters:
        exp - 1 or higher to drop experience, else nothing will drop
      • getHandlerList

        @NotNull
        public static HandlerList getHandlerList()