Add more breakNaturally functionality (#7379)

This commit is contained in:
Jake Potrebic 2022-12-14 19:37:16 -08:00
parent a0b62c40db
commit 96d7b7b6e4
6 changed files with 164 additions and 104 deletions

View file

@ -11,7 +11,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
@@ -0,0 +0,0 @@ public interface Block extends Metadatable, net.kyori.adventure.translation.Tran
* @return true if the block was destroyed
*/
boolean breakNaturally(@NotNull ItemStack tool, boolean triggerEffect);
boolean breakNaturally(@NotNull ItemStack tool, boolean triggerEffect, boolean dropExperience);
+
+ /**
+ * Causes the block to be ticked, this is different from {@link Block#randomTick()},