Advertisement
BlueCommander

select_replace_block.mcfunction

Nov 11th, 2018
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. scoreboard players set @s scat_lp 0
  2. setblock ~ ~ ~ air
  3. execute if score @s scat_lp matches 0 run tellraw @s ["",{"text":"\nClick "},{"text":"HERE","underlined":true,"clickEvent":{"action":"suggest_command","value":"/setblock ~ ~ ~ minecraft:"}},{"text":" to pick replaced block.","color":"white","underlined":false}]
  4. execute if score @s scat_lp matches 0 at @s run setblock ~ ~ ~ air
  5. execute if score @s scat_lp matches 0 run scoreboard players set @s scat_lp 2
  6. gamerule sendCommandFeedback false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement