Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-2652

method for making a player break a block.

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None

      player.breakBlock(Block b); // Uses item in main hand, returns true if it was successful.

      It would work like normal breaking: BlockBreakEvent get's called, tool uses durability, block drops items.

            Unassigned Unassigned
            FisheyLP Fishey LP
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: