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

GhostoFBU

Пользователи
  • Постов

    555
  • Зарегистрирован

  • Посещение

  • Победитель дней

    25

Весь контент GhostoFBU

  1. Это не сто процентный способ, так как не все условия прописаны
  2. Создаём задачи: scoreboard objectives add sneak minecraft.custom:minecraft.sneak_time scoreboard objectives add walk minecraft.custom:minecraft.walk_one_cm scoreboard objectives add sprint minecraft.custom:minecraft.sprint_one_cm scoreboard objectives add jump minecraft.custom:minecraft.jump scoreboard objectives add climb minecraft.custom:minecraft.climb_one_cm scoreboard objectives add walking dummy В цикл: execute as @a run scoreboard players operation @s walking += @s sneak execute as @a run scoreboard players operation @s walking += @s walk execute as @a run scoreboard players operation @s walking += @s sprint execute as @a run scoreboard players operation @s walking += @s jump execute as @a run scoreboard players operation @s walking += @s climb execute as @a if score @s walking matches 0 run say not walking scoreboard players reset @a sneak scoreboard players reset @a walk scoreboard players reset @a sprint scoreboard players reset @a[nbt={OnGround:1b}] jump scoreboard players reset @a climb scoreboard players reset @a walking
  3. Один раз выполнить команду: scoreboard objectives add global dummy В цикл: execute store result score #online global if entity @a execute if score #online global matches 3 run say зашло 3 игрока
  4. execute as @a if data entity @s Inventory[{Slot:100b}] run say есть ботинки execute as @a if data entity @s Inventory[{Slot:101b}] run say есть поножи execute as @a if data entity @s Inventory[{Slot:102b}] run say есть нагрудник execute as @a if data entity @s Inventory[{Slot:103b}] run say есть шлем execute as @a if data entity @s Inventory[{Slot:100b}] if data entity @s Inventory[{Slot:101b}] if data entity @s Inventory[{Slot:102b}] if data entity @s Inventory[{Slot:103b}] run say есть вся броня effect give @a[nbt={Inventory:[{Slot:100b,id:"minecraft:iron_boots"},{Slot:101b,id:"minecraft:iron_leggings"},{Slot:102b,id:"minecraft:iron_chestplate"},{Slot:103b,id:"minecraft:iron_helmet"}]}] minecraft:glowing
  5. Первым делом установите точку возрождения мира вместо нажимной плиты: setworldspawn x y z угол_поворота gamerule spawnRadius 0 Выключите сообщение операторам о выполнении команды командным блоком: gamerule commandBlockOutput false Выключите спавн мобов: gamerule doMobSpawning false Рекомендую к прочтению: https://minecraft.fandom.com/ru/wiki/Команды_консоли/gamerule Лобби перегружено надписями. Ещё можно добавить спавнпоинт на паркуре и мгновенное убийство при попадании в лаву (execute as @a at @s if block ~ ~ ~ minecraft:lava run kill). Также сделаете цепные командные блоки безусловными. Удачи в следующих картах
  6. Используй достижения, вот пример: https://misode.github.io/advancement/?share=afc077f4-7547-4b44-ab52-54f9c7894d5c
  7. Большие буквы нельзя использовать в названии функции
  8. # Создаёшь скорборд scoreboard objectives add deathCount deathCount # В цикл execute if entity @a[scores={deathCount=1},limit=1] run scoreboard players add .count deathCount 1 gamemode spectator @a[gamemode=survival,scores={deathCount=1}] scoreboard players reset @a[scores={deathCount=1},limit=1] deathCount #Если число смертей достигло 2, то выполняются следующие команды execute if score .count deathCount matches 2 run gamemode creative @a[gamemode=survival] execute if score .count deathCount matches 2 run scoreboard players reset .count deathCount
  9. tp x y z advancement revoke @s from <достижение>
  10. Можно сделать через достижение { "criteria": { "requirement": { "trigger": "minecraft:entity_hurt_player", "conditions": { "damage": { "source_entity": { "type": "minecraft:player", "equipment": { "mainhand": { "items": [ "minecraft:stick" ], "nbt": "{super_stick:1b}" } } } } } } }, "rewards": { "function": "<функция>" } }
  11. scoreboard objectives add kill.zombie minecraft.killed:minecraft.zombie В цикл: give @a[scores={kill.zombie=1..}] minecraft:apple scoreboard players remove @a[scores={kill.zombie=1..}] kill.zombie 1
  12. summon minecraft:wither_skeleton ~ ~1 ~ {Invulnerable:1b,ActiveEffects:[{Id:1,Amplifier:2,Duration:2147483647,ShowParticles:0b},{Id:5,Amplifier:254,Duration:2147483647,ShowParticles:0b}]}
  13. Это для 1.13+ https://mcstacker.net/1.12.php попробуй здесь найти
  14. Чтобы записать туда количество предметов
  15. Я проверил, UUID не присваивается. Придётся делать через систему ID https://youtu.be/wQ5P7Wxm2I0 https://youtu.be/685vs5hNQmk
  16. summon minecraft:armor_stand ~ ~ ~ {Tags:["UUID","new"]} data modify entity @e[type=minecraft:armor_stand,tag=UUID,tag=new,limit=1] UUID set from entity @s UUID tag @e[type=minecraft:armor_stand,tag=UUID,tag=new,limit=1] remove new
  17. Это всё в цикл: scoreboard players add .timer cutScene 1 # Игрок должен быть в режиме наблюдателя execute as @a run spectate @e[type=minecraft:armor_stand,tag=cutScene,limit=1] execute if score .timer cutScene matches 1..100 as @e[type=minecraft:armor_stand,tag=cutScene,limit=1] at @s run tp @s ~ ~0.05 ~ ~1 ~1 execute if score .timer cutScene matches 101..110 as @e[type=minecraft:armor_stand,tag=cutScene,limit=1] at @s run tp @s ~0.1 ~ ~ ~-10 ~-5 Эти команды для примера, если ты их опробуешь, то примерно поймешь как это работает. Перед повторением кат-сцены не забудь обнулить таймер (scoreboard players set .timer cutScene 0) и вернуть стойку для брони в исходное положение и его взгляд
  18. Проверяй условия на использование предмета
  19. Вариант получше: tag @a[nbt={Inventory:[{id:"minecraft:warped_fungus_on_a_stick",tag:{Tags:["свой тег"]}}]}] add Inv - выдаёт тег игроку у которого в инвентаре имеется этот предмет execute as @a[tag=Inv] unless entity @s[nbt={Inventory:[{id:"minecraft:warped_fungus_on_a_stick",tag:{Tags:["свой тег"]}}]}] run tag @s remove Inv - удаляет тег у игрока которого нет этого предмета
  20. execute as @a at @s positioned ~10 ~-5 ~10 unless block ~ ~ ~ minecraft:air unless block ~ ~ ~ minecraft:cave_air unless block ~ ~ ~ minecraft:void_air positioned as @s rotated ~ 0 anchored eyes positioned ^ ^ ^1 run setblock ~ ~ ~ minecraft:barrier
×
×
  • Создать...