Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click on a dropper:
- if {mode::%player%} = "e":
- if player's tool is stick:
- cancel event
- if Location = {Location2.%{number}%}:
- send "&c素材チェックに設定したドロッパーを作業台に設定することはできません"
- if Location = {Location3.%{number}%}:
- send "&c完成品に設定したドロッパーを作業台に設定することはできません"
- if Location is not {Location1.%{number}%}:
- if Location is not {Location3.%{number}%}:
- set {Location1.%{number}%} to Location
- set {block.%{number}%} to block
- send "%{Location1.%{number}%}%のドロッパーを作業台[%{number}%]として登録しました"
- on break a dropper:
- if {mode::%player%} = "e":
- if player's tool is blaze rod:
- cancel event
- if Location = {Location1.%{number}%}:
- send "&c作業台に設定したドロッパーを素材チェックに設定することはできません"
- if Location = {Location3.%{number}%}:
- send "&c完成品に設定したドロッパーを素材チェックに設定することはできません"
- if Location is not {Location2.%{number}%}:
- if Location is not {Location3.%{number}%}:
- set {Location2.%{number}%} to Location
- set {block2.%{number}%} to block
- send "%{Location1.%{number}%}%のドロッパー素材チェック[%{number}%]として登録しました"
- on right click on dropper:
- if {mode::%player%} = "e":
- if player's tool is blaze rod:
- cancel event
- if Location = {Location1.%{number}%}:
- send "&c作業台に設定したドロッパーを完成品に設定することはできません"
- if Location = {Location2.%{number}%}:
- send "&c素材チェックに設定したドロッパーを完成品に設定することはできません"
- if Location is not {Location1.%{number}%}:
- if Location is not {Location2.%{number}%}:
- set {Location3.%{number}%} to Location
- set {block3.%{number}%} to block
- send "%{Location1.%{number}%}%のドロッパーを完成品[%{number}%]として登録しました"
- command /dwb <text> <num>:
- permission: op
- trigger:
- if arg 1 = "p":
- set {mode::%player%} to arg 1
- send "&eプレイヤーモードに切り替えました"
- if arg 1 = "e":
- set {mode::%player%} to arg 1
- send "&e編集モードに切り替えました"
- set {number} to arg 2
- send "&1登録番号%arg 2%を設定します"
- send "&a作業台として登録-作業台にしたいドロッパーを木の棒をもって右クリック"
- send "&a素材を登録-素材をチェックするドロッパーをブレイズロッドをもってシフトしながら左クリック"
- send "&a完成品を登録-完成品を入れるドロッパーをブレイズロッドをもって右クリック"
- if arg 1 is not "e" or "p":
- send "&c正しいモードではありません"
- send "&b[p]-プレイヤーモード:ドロッパー作業台の設定ができなくなります"
- send "&b[e]-エディットモード:ドロッパー作業台の設定ができるようになります"
- command /dwbset:
- permission: op
- trigger:
- set the block {Location1.%{number}%} to {block3.%{number}%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement