DunerOne Posted April 15 Share Posted April 15 random roll 1..20 эта комманда выдает случайное число. Можно ли написать execute чтобы если выпало число 3, чтото произошло? Link to comment Share on other sites More sharing options...
NecRoZ Posted April 15 Share Posted April 15 2 часа назад, DunerOne сказал: random roll 1..20 эта комманда выдает случайное число. Можно ли написать execute чтобы если выпало число 3, чтото произошло? используй датапак, и там сделай это в 2 строчки в функции, это в принципе удобней командный блоков, гайдов по созданию на ютубе полно Link to comment Share on other sites More sharing options...
DunerOne Posted April 16 Author Share Posted April 16 9 часов назад, NecRoZ сказал: используй датапак, и там сделай это в 2 строчки в функции, это в принципе удобней командный блоков, гайдов по созданию на ютубе полно я не могу использовать датапак... И гайдов я не нашел Link to comment Share on other sites More sharing options...
PhoenixTechu Posted April 16 Share Posted April 16 /scoreboard objectives add rand dummy execute store result score count rand run random value 1..20 execute if score count rand matches 3 run (команда) Link to comment Share on other sites More sharing options...
NecRoZ Posted April 16 Share Posted April 16 8 часов назад, DunerOne сказал: я не могу использовать датапак... И гайдов я не нашел почему ты не можешь использовать датапак? как ты искал что не смог найти? Link to comment Share on other sites More sharing options...
DunerOne Posted April 16 Author Share Posted April 16 3 часа назад, NecRoZ сказал: почему ты не можешь использовать датапак? как ты искал что не смог найти? ... Link to comment Share on other sites More sharing options...
DunerOne Posted April 16 Author Share Posted April 16 7 часов назад, PhoenixTechu сказал: /scoreboard objectives add rand dummy execute store result score count rand run random 1..20 execute if score count rand matches 3 run (команда) а как сделать чтоб не уведомлял о том, что игроку выпало что-то? И как сделать чтоб выпавшее значение ресетнулось? Link to comment Share on other sites More sharing options...
PhoenixTechu Posted Wednesday at 11:20 PM Share Posted Wednesday at 11:20 PM 7 часов назад, DunerOne сказал: а как сделать чтоб не уведомлял /gamerule commandBlockOutput false /gamerule sendCommandFeedback false 7 часов назад, DunerOne сказал: выпавшее значение ресетнулось? /scoreboard players reset count rand DunerOne 1 Link to comment Share on other sites More sharing options...
DunerOne Posted Thursday at 01:49 PM Author Share Posted Thursday at 01:49 PM 14 часов назад, PhoenixTechu сказал: /gamerule commandBlockOutput false /gamerule sendCommandFeedback false /scoreboard players reset count rand Спасибо Link to comment Share on other sites More sharing options...
DunerOne Posted Thursday at 04:19 PM Author Share Posted Thursday at 04:19 PM 17 часов назад, PhoenixTechu сказал: /gamerule commandBlockOutput false /gamerule sendCommandFeedback false /scoreboard players reset count rand уведомления все равно есть... А как сделать чтоб можно было сделать несколько значений? почему-то лишь только одно число из рандома работает?(уже пофиксил вроде как) Link to comment Share on other sites More sharing options...
PhoenixTechu Posted Thursday at 06:45 PM Share Posted Thursday at 06:45 PM 2 часа назад, DunerOne сказал: почему-то лишь только одно число из рандома работает? потому что ты сам так попросил 2 часа назад, DunerOne сказал: А как сделать чтоб можно было сделать несколько значений? по-моему очевидно execute if score count rand matches (значение) run (команда) Link to comment Share on other sites More sharing options...
DunerOne Posted Friday at 04:22 AM Author Share Posted Friday at 04:22 AM 9 часов назад, PhoenixTechu сказал: потому что ты сам так попросил по-моему очевидно execute if score count rand matches (значение) run (команда) Да просто я тогда запутался изза кб. А как уведомления вырубить? При random roll пишет в чат. комманды не помогают Link to comment Share on other sites More sharing options...
PhoenixTechu Posted Friday at 07:13 AM Share Posted Friday at 07:13 AM 2 часа назад, DunerOne сказал: Да просто я тогда запутался изза кб. А как уведомления вырубить? При random roll пишет в чат. комманды не помогают в чат пишет тому, кто вводит, используй кб Link to comment Share on other sites More sharing options...
GhostoFBU Posted Friday at 03:03 PM Share Posted Friday at 03:03 PM 22 часа назад, DunerOne сказал: уведомления все равно есть Ты используешь /random roll, а нужно /random value Link to comment Share on other sites More sharing options...
DunerOne Posted Friday at 06:55 PM Author Share Posted Friday at 06:55 PM 3 часа назад, GhostoFBU сказал: Ты используешь /random roll, а нужно /random value Спс Link to comment Share on other sites More sharing options...
Recommended Posts
15 posts in this topic
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now