Propagate FAWE diff annotations down the bukkit module

- Minor upstream merge
This commit is contained in:
NotMyFault
2021-07-14 14:40:20 +02:00
parent d7763c8542
commit bcceadee6b
34 changed files with 450 additions and 159 deletions

View File

@ -213,6 +213,17 @@ public interface World extends Extent, Keyed, IChunkCache<IChunkGet> {
*/
void simulateBlockMine(BlockVector3 position);
/**
* Gets whether the given {@link BlockState} can be placed here.
*
* @param position The position
* @param blockState The blockstate
* @return If it can be placed
*/
default boolean canPlaceAt(BlockVector3 position, BlockState blockState) {
return true;
}
/**
* Regenerate an area.
*