Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ===================================================
- Commands in order of execution:
- /scoreboard objectives add <OBJECTIVE> dummy
- /fill <X1> <Y1> <Z1> <X2> <Y2> <Z2> double_plant 0 replace <YOUR BLOCK>
- /scoreboard players set @e[type=Item] <OBJECTIVE> 1 {Age:0s,Item:{id:minecraft:double_plant}}
- /execute @e[score_<OBJECTIVE>=] ~ ~ ~ setblock ~ ~ ~ <YOUR BLOCK>
- /execute @e[score_<OBJECTIVE>=] ~ ~ ~ setblock ~ ~ ~ air 0 destroy
- /kill @e[score_<OBJECTIVE>=]
- /scoreboard objectives remove <OBJECTIVE>
- ====================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement