Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on load:
- clear {chestitems::*}
- add 5 wood to {chestitems::*}
- command /items:
- trigger:
- loop all blocks in radius 200 of player:
- if loop-block is a chest:
- set {chest} to block at loop-block
- add 5 torch to block at {chest}'s inventory
- command /additem <item>:
- trigger:
- if arg-1 is not set:
- send "&c/additem <item>"
- stop
- add arg-1 to {chestitems::*}
Advertisement
Add Comment
Please, Sign In to add comment