Add more breakNaturally functionality (#7379)
This commit is contained in:
parent
a0b62c40db
commit
96d7b7b6e4
6 changed files with 164 additions and 104 deletions
|
@ -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()},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue