canPlaceAsync

fun canPlaceAsync(tileEntity: TileEntity, item: ItemStack, block: Block): CompletableFuture<Boolean>

Checks if the tileEntity can place that item at that block.


fun canPlaceAsync(player: OfflinePlayer, item: ItemStack, block: Block): CompletableFuture<Boolean>

Checks if the player can place that item at that block.