Advertisement
kama6012

resourcepack

Mar 18th, 2022 (edited)
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. command /resource:
  2. trigger:
  3. send a request to "https://raw.githubusercontent.com/kama6012/texturepack/main/hash.txt"
  4. message "loading..." to player
  5. wait 20 tick
  6. set {_hash::*} to the last http response's body split at " "
  7. message "このsha-1ハッシュは%{_hash::1}%です" to player
  8. send resource pack from "https://github.com/kama6012/texturepack/raw/main/MyPack/MyPack.zip?raw=true&hash=%{_hash::1}%" with hash {_hash::1} to the player
  9.  
  10. command /newres:
  11. trigger:
  12. send resource pack from "https://kama6012.github.io/texturepack/" to the player
  13.  
  14. command /unbreakable:
  15. trigger:
  16. set player's tool to unbreakable player's tool
  17.  
  18. command /setdamage <number>:
  19. trigger:
  20. set damage of player's tool to arg
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement