Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # SimpleClock バージョン1.1
- # 作成者 iku55
- # 時計を持つだけで時刻を確認できます。あんなわかりにくい時計とはお別れだ。
- on right click with clock:
- if time of player's world is between 6:00 and 12:00:
- set {_color} to "&a&l"
- else if time of player's world is between 12:00 and 13:00:
- set {_color} to "&b&l"
- else if time of player's world is between 13:00 and 19:00:
- set {_color} to "&6&l"
- else if time of player's world is between 19:00 and 22:00:
- set {_color} to "&1&l"
- else:
- set {_color} to "&0&l"
- message "&a現在の時刻: %{_color}%%time of player's world%"
- every 1 seconds:
- loop all players:
- if loop-player's held item is clock:
- if time of loop-player's world is between 6:00 and 12:00:
- set {_color} to "&a&l"
- else if time of loop-player's world is between 12:00 and 13:00:
- set {_color} to "&b&l"
- else if time of loop-player's world is between 13:00 and 19:00:
- set {_color} to "&6&l"
- else if time of loop-player's world is between 19:00 and 22:00:
- set {_color} to "&1&l"
- else:
- set {_color} to "&0&l"
- send action bar "&8&l[&a現在の時刻: %{_color}%%time of loop-player's world%&8&l]" to loop-player
- # ↓ちらちら出てくる宣伝(?)がムカつくのであれば消してください。
- on tool change:
- event-player's held item is clock
- send action bar "&8&l[&aSimpleClockが有効です。アクションバーに時刻が表示されます。&8&l]" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement