Commits
Cynthia Yantis authored 542fbfb4264 Merge
385 385 | |
386 386 | /** |
387 387 | * Breaks the block and spawns items as if a player had digged it with a |
388 388 | * specific tool |
389 389 | * |
390 390 | * @param tool The tool or item in hand used for digging |
391 391 | * @return true if the block was destroyed |
392 392 | */ |
393 393 | boolean breakNaturally( ItemStack tool); |
394 394 | |
395 + | /** |
396 + | * Simulate bone meal application to this block (if possible). |
397 + | * |
398 + | * @param face the face on which bonemeal should be applied |
399 + | * |
400 + | * @return true if the block was bonemealed, false otherwise |
401 + | */ |
402 + | boolean applyBoneMeal( BlockFace face); |
403 + | |
395 404 | /** |
396 405 | * Returns a list of items which would drop by destroying this block |
397 406 | * |
398 407 | * @return a list of dropped items for this type of block |
399 408 | */ |
400 409 | |
401 410 | Collection<ItemStack> getDrops(); |
402 411 | |
403 412 | /** |
404 413 | * Returns a list of items which would drop by destroying this block with |