upoupo0201

Untitled

Oct 31st, 2024
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. on load:
  2. clear {chestitems::*}
  3. add 5 wood to {chestitems::*}
  4. command /items:
  5. trigger:
  6. loop all blocks in radius 200 of player:
  7. if loop-block is a chest:
  8. set {chest} to block at loop-block
  9. add 5 torch to block at {chest}'s inventory
  10.  
  11. command /additem <item>:
  12. trigger:
  13. if arg-1 is not set:
  14. send "&c/additem <item>"
  15. stop
  16. add arg-1 to {chestitems::*}
Advertisement
Add Comment
Please, Sign In to add comment