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

Dispensers should trigger an event similar to BlockFertilizeEvent

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • CraftBukkit version git-Spigot-0509002-7c03d25 (MC: 1.16.1) (Implementing API version 1.16.1-R0.1-SNAPSHOT)
    • Yes

      Dispensers should trigger an event similar to BlockFertilizeEvent, but with the block which performed the action (the dispenser) instead of a player.

      Dispensers can use bone meal on grass blocks as well as nylium and generate plants such as grass, flowers, fungus, roots etc. It's the same behaviour as if a player would do it. We can easily check all the affected blocks when players use bone meal by listening for a BlockFertilizeEvent, though there's no relevant event triggered when a dispenser fertilizes a block.

            Unassigned Unassigned
            Maartin Maartin
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: