Как сделать таймер в Майнкрафте? Таймер в Вашем мире очень полезный предмет, и  создать его можно за несколько шагов.

Создание таймера

Как сделать таймер справа на экране [scoreboard]

Шаг 1 — Подготовка

  • Активировать команду /gamerule commandBlockOutput false;
  • Активировать команду /scoreboard objectives add Timer dummy;
  • Активировать команду /scoreboard objectives setdisplay sidebar Timer.

Шаг 2 — Кнопка запуска таймера

  • Первый [Импульсный] [Нужен сигнал] командный блок устанавливает нужное время:
    /scoreboard players set @a Timer 100;
  • Второй [Цепной] [Всегда активен] командный блок ставит редстоун блок и запускает механизм обратного отсчета;
  • Третий [Цепной] [Всегда активен] командный блок открывает проход в конце паркура (для примера).

Шаг 3 — Механизм таймера

  1. Ставим два [Цикличный] [Нужен сигнал] командных блока по бокам редстоун блока, который ставиться при нажатии на кнопку.
  2. В один из командных блоков вставить команду, которая отнимает время:
  • /scoreboard players remove @a Timer 1.
  1. Во второй командный блок вставить команду, которая ждёт окончания времени и отключает механизм:
  • /execute if entity @a[scores={Timer=..0}] run setblock 8 5 11 minecraft:air
  1. К второму командному блоку подключить еще один командный блок с настройками [Цепной] [Всегда активен].
    Вставить команду, которая закрывает дверь в конце паркура (для примера).

Разбор команды

  • 100 — Количество времени → (100 = 5 секунд);
  • setblock 8 5 11 minecraft:air — убирает красный блок, чтобы отключить механизм.
Комментарии
Загрузка комментариев
Поиск по сайту
Последние комментарии
Sarma Testing Course (1.16.5) Ahmad Rempel Ahmad Rempel вчера в 13:01

of course like your website but you have to check the spelling on several of your posts A number of them are rife with spelling issues and I in finding it very troublesome to inform the reality on the other hand I will certainly come back again

Totem Of Blindness (1.18.2) Alessandro Kshlerin Alessandro Kshlerin вчера в 12:58

What i dont understood is in reality how youre now not really a lot more smartlyfavored than you might be now Youre very intelligent You understand therefore significantly in terms of this topic produced me personally believe it from a lot of numerous angles Its like women and men are not interested except it is one thing to accomplish with Woman gaga Your own stuffs outstanding Always care for it up

Двухэтажный деревенский дом (1.17.1) Zetta Towne Zetta Towne вчера в 12:57

What i do not realize is in fact how you are no longer actually much more wellfavored than you might be right now Youre very intelligent You recognize thus considerably in relation to this topic made me in my view believe it from numerous numerous angles Its like men and women are not fascinated until it is one thing to do with Lady gaga Your own stuffs excellent All the time handle it up

Tower Defense Simulator-TDS (1.18.2) Violette Konopelski Violette Konopelski 6 ноября в 21:01

Your blog has become an indispensable resource for me. I’m always excited to see what new insights you have to offer. Thank you for consistently delivering top-notch content!

Двухэтажный деревенский дом (1.17.1) Sadie3646 Sadie3646 29 октября в 6:50

https://shorturl.fm/rQsgt