Interface DropHeadEvent

    • Method Detail

      • getDrop

        ItemStack getDrop()
        Get the head/item being dropped from this event
        Returns:
        the itemstack being dropped
      • setDrop

        void setDrop​(@Nullable
                     ItemStack stack)
        Set the item dropped by the event. 5.2+ API
        Parameters:
        stack - the itemstack to set as the drop for this event
        Since:
        5.2.0-SNAPSHOT