Перейти к содержанию

Как сделать рывок вперёд в майнкрафте? (1.16.5)


Рекомендуемые сообщения

В теме 5 сообщений

Создай задачу:
scoreboard objectives add dash minecraft.dropped:minecraft.feather

Цикл:

  1. execute as @a[scores={dash=1..}] at @s rotated ~ 0 positioned ^ ^ ^1 if block ~ ~ ~ minecraft:air rotated as @s run tp ~ ~ ~
  2. execute as @a[scores={dash=1..}] at @s rotated ~ 0 positioned ^ ^ ^2 if block ~ ~ ~ minecraft:air rotated as @s run tp ~ ~ ~
  3. execute as @a[scores={dash=1..}] at @s rotated ~ 0 positioned ^ ^ ^3 if block ~ ~ ~ minecraft:air rotated as @s run tp ~ ~ ~
  4. execute if entity @a[scores={dash=1..}] run kill @e[type=minecraft:item,nbt={Item:{id:"minecraft:feather"}}]
  5. scoreboard players reset @a[scores={dash=1..}] dash
Ссылка на комментарий
Поделиться на другие сайты

51 минуту назад, GhostoFBU сказал:

Создай задачу:
scoreboard objectives add dash minecraft.dropped:minecraft.feather

Цикл:

  1. execute as @a[scores={dash=1..}] at @s rotated ~ 0 positioned ^ ^ ^1 if block ~ ~ ~ minecraft:air rotated as @s run tp ~ ~ ~
  2. execute as @a[scores={dash=1..}] at @s rotated ~ 0 positioned ^ ^ ^2 if block ~ ~ ~ minecraft:air rotated as @s run tp ~ ~ ~
  3. execute as @a[scores={dash=1..}] at @s rotated ~ 0 positioned ^ ^ ^3 if block ~ ~ ~ minecraft:air rotated as @s run tp ~ ~ ~
  4. execute if entity @a[scores={dash=1..}] run kill @e[type=minecraft:item,nbt={Item:{id:"minecraft:feather"}}]
  5. scoreboard players reset @a[scores={dash=1..}] dash

Можно ли его сделать более плавным?

Ссылка на комментарий
Поделиться на другие сайты

да

scoreboard objectives add dash minecraft.dropped:minecraft.feather

 

execute as @a[scores={dash=1..}] at @s rotated ~ 0 positioned ^ ^ ^0.5 if block ~ ~ ~ minecraft:air rotated as @s run tp ~ ~ ~

execute as @a[scores={dash=1..}] at @s rotated ~ 0 positioned ^ ^ ^1 if block ~ ~ ~ minecraft:air rotated as @s run tp ~ ~ ~

execute as @a[scores={dash=1..}] at @s rotated ~ 0 positioned ^ ^ ^1.5 if block ~ ~ ~ minecraft:air rotated as @s run tp ~ ~ ~

execute as @a[scores={dash=1..}] at @s rotated ~ 0 positioned ^ ^ ^2 if block ~ ~ ~ minecraft:air rotated as @s run tp ~ ~ ~

execute as @a[scores={dash=1..}] at @s rotated ~ 0 positioned ^ ^ ^2.5 if block ~ ~ ~ minecraft:air rotated as @s run tp ~ ~ ~

execute as @a[scores={dash=1..}] at @s rotated ~ 0 positioned ^ ^ ^3 if block ~ ~ ~ minecraft:air rotated as @s run tp ~ ~ ~

execute if entity @a[scores={dash=1..}] run kill @e[type=minecraft:item,nbt={Item:{id:"minecraft:feather"}}]

scoreboard players reset @a[scores={dash=1..}] dash

готово!

 

Ссылка на комментарий
Поделиться на другие сайты

Для публикации сообщений создайте учётную запись или авторизуйтесь

Вы должны быть пользователем, чтобы оставить комментарий

Создать учетную запись

Зарегистрируйте новую учётную запись в нашем сообществе. Это очень просто!

Регистрация нового пользователя

Войти

Уже есть аккаунт? Войти в систему.

Войти
  • Последние посетители   0 пользователей онлайн

    • Ни одного зарегистрированного пользователя не просматривает данную страницу
×
×
  • Создать...