Advertisement
sirayasiki

武器強化試作2

Sep 3rd, 2019
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.17 KB | None | 0 0
  1. on right click on a dropper:
  2. if {mode::%player%} = "e":
  3. if player's tool is stick:
  4. cancel event
  5. if Location = {Location2.%{number}%}:
  6. send "&c素材チェックに設定したドロッパーを作業台に設定することはできません"
  7. if Location = {Location3.%{number}%}:
  8. send "&c完成品に設定したドロッパーを作業台に設定することはできません"
  9. if Location is not {Location1.%{number}%}:
  10. if Location is not {Location3.%{number}%}:
  11. set {Location1.%{number}%} to Location
  12. set {block.%{number}%} to block
  13. send "%{Location1.%{number}%}%のドロッパーを作業台[%{number}%]として登録しました"
  14. on break a dropper:
  15. if {mode::%player%} = "e":
  16. if player's tool is blaze rod:
  17. cancel event
  18. if Location = {Location1.%{number}%}:
  19. send "&c作業台に設定したドロッパーを素材チェックに設定することはできません"
  20. if Location = {Location3.%{number}%}:
  21. send "&c完成品に設定したドロッパーを素材チェックに設定することはできません"
  22. if Location is not {Location2.%{number}%}:
  23. if Location is not {Location3.%{number}%}:
  24. set {Location2.%{number}%} to Location
  25. set {block2.%{number}%} to block
  26. send "%{Location1.%{number}%}%のドロッパー素材チェック[%{number}%]として登録しました"
  27. on right click on dropper:
  28. if {mode::%player%} = "e":
  29. if player's tool is blaze rod:
  30. cancel event
  31. if Location = {Location1.%{number}%}:
  32. send "&c作業台に設定したドロッパーを完成品に設定することはできません"
  33. if Location = {Location2.%{number}%}:
  34. send "&c素材チェックに設定したドロッパーを完成品に設定することはできません"
  35. if Location is not {Location1.%{number}%}:
  36. if Location is not {Location2.%{number}%}:
  37. set {Location3.%{number}%} to Location
  38. set {block3.%{number}%} to block
  39. send "%{Location1.%{number}%}%のドロッパーを完成品[%{number}%]として登録しました"
  40. command /dwb <text> <num>:
  41. permission: op
  42. trigger:
  43. if arg 1 = "p":
  44. set {mode::%player%} to arg 1
  45. send "&eプレイヤーモードに切り替えました"
  46. if arg 1 = "e":
  47. set {mode::%player%} to arg 1
  48. send "&e編集モードに切り替えました"
  49. set {number} to arg 2
  50. send "&1登録番号%arg 2%を設定します"
  51. send "&a作業台として登録-作業台にしたいドロッパーを木の棒をもって右クリック"
  52. send "&a素材を登録-素材をチェックするドロッパーをブレイズロッドをもってシフトしながら左クリック"
  53. send "&a完成品を登録-完成品を入れるドロッパーをブレイズロッドをもって右クリック"
  54. if arg 1 is not "e" or "p":
  55. send "&c正しいモードではありません"
  56. send "&b[p]-プレイヤーモード:ドロッパー作業台の設定ができなくなります"
  57. send "&b[e]-エディットモード:ドロッパー作業台の設定ができるようになります"
  58.  
  59. command /dwbset:
  60. permission: op
  61. trigger:
  62. set the block {Location1.%{number}%} to {block3.%{number}%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement