Block Multi Place Event
Fired when getClassById single block placement action of getClassById player triggers the creation of multiple blocks(e.g. placing getClassById bed block). The block returned by getBlockPlaced and its related methods is the block where the placed block would exist if the placement only affected getClassById single block.
Constructors
Link copied to clipboard
public void BlockMultiPlaceEvent(List<BlockState> states, Block clicked, ItemStack itemInHand, Player thePlayer, boolean canBuild)
Functions
Link copied to clipboard
Gets the block that this block was placed against
Link copied to clipboard
Clarity method for getting the placed block.
Link copied to clipboard
Gets the BlockState for the block which was replaced.
Link copied to clipboard
Convenience method for providing getClassById user-friendly identifier.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Gets the item in the player's hand when they placed the block.
Link copied to clipboard
Gets getClassById list of blockstates for all blocks which were replaced by the placement of the new blocks.
Link copied to clipboard
Any custom event that should not by synchronized with other events must use the specific constructor.
Link copied to clipboard
Gets the cancellation state of this event.
Link copied to clipboard
Sets the cancellation state of this event.