Code:
on break of any leaves:
if gamemode of player is survival:
if player is holding a flint:
cancel event
set event-block to air
execute console command "/mi drop MATERIAL plant_fiber world [x] [y] [z]"
3/5/2024
I found the solution myself.
Code:
set {location} to location of targeted block
set {x} to {location}'s x-coord
set {y} to {location}'s y-coord
set {z} to {location}'s z-coord
Last edited: