High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies https://papermc.io/
Find a file
Bukkit/Spigot 7731218b97 Add BlockMultiPlaceEvent. Adds BUKKIT-5558
Some blocks, such as beds, doors, or flowers, are actually composed of
multiple blocks when they are placed.  Currently, to detect how many
blocks are actually modified a plugin has to perform various calculations
to determine the directions of relative blocks, many of which are
difficult to perform and can easily return false positives.

This commit adds in a BlockMultiPlaceEvent, which adds in easy support for
accessing all blocks modified by the placement of a block.

By: Nate Mortensen <nate.richard.mortensen@gmail.com>
2014-04-21 17:23:36 -06:00
paper-api Add BlockMultiPlaceEvent. Adds BUKKIT-5558 2014-04-21 17:23:36 -06:00