Class BlockExpEvent

    • 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