В этом видео я покажу как сделать NPS с квестом Minecraft 1.16.5 - 1.20.1 без модов /gamerule commandBlockOutput false /gamerule sendCommandFeedback false /scoreboard objectives add say dummy /scoreboard objectives add Talk minecraft.custom:minecraft.talked_to_villager /summon minecraft:villager ~ ~ ~ {NoAI:1,Tags:["quest"]} /execute as @a[scores={Talk=1..}] at @s anchored eyes facing entity @e[sort=nearest,limit=1,tag=quest] eyes anchored feet positioned ^ ^ ^1 rotated as @s positioned ^ ^ ^-1 if entity @s[distance=..0.3] as @e[type=minecraft:villager,limit=1,sort=nearest] if entity @s[tag=quest] run fill -28 -60 -7 -28 -55 -7 minecraft:redstone_block /scoreboard players reset @a[scores={Talk=1..}] Talk /execute as @a[scores={say=0}] at @s run tellraw @a [{"text":"\n"},{"text":"Незнакомец","color":"gold"},{"text":": О,ты кто?","color":"green"}] /tellraw @a ["",{"text":"[Vichaz]","color":"dark_green","clickEvent":{"action":"run_command","value":"/setblock -25 -60 -15 redstone_block"}}] /tellraw @a [{"text":"\n"},{"text":"Незнакомец","color":"gold"},{"text":": Здравствуй Vichaz!","color":"green"}] /scoreboard players add Vichaz say 1 /setblock -25 -60 -15 air /fill -28 -60 -7 -28 -55 -7 air /execute as @a[scores={say=1}] at @s run tellraw @a [{"text":"\n"},{"text":"Незнакомец","color":"gold"},{"text":": Моя мотыга упала куда-то в эту пещеру.Поможешь найти?","color":"green"}] /tellraw @a ["",{"text":"[Да]","color":"dark_green","clickEvent":{"action":"run_command","value":"/setblock -25 -60 -11 redstone_block"}},{"text":" "},{"text":"[Нет]","color":"red","clickEvent":{"action":"run_command","value":"/setblock -25 -60 -13 redstone_block"}}] /tellraw @a [{"text":"\n"},{"text":"Незнакомец","color":"gold"},{"text":": Вот и хорошо, я буду ждать здесь.","color":"green"}] /scoreboard players set Vichaz say 3 /fill -28 -60 -7 -28 -55 -7 air /setblock -25 -60 -11 air /tellraw @a [{"text":"\n"},{"text":"Незнакомец","color":"gold"},{"text":": Хорошо, если передумаешь я буду ждать здесь.","color":"green"}] /scoreboard players set Vichaz say 2 /fill -28 -60 -7 -28 -55 -7 air /setblock -25 -60 -13 air /execute as @a[scores={say=2}] at @s run tellraw @a [{"text":"\n"},{"text":"Незнакомец","color":"gold"},{"text":": Ну что передумал?","color":"green"}] /tellraw @a ["",{"text":"[Да]","color":"dark_green","clickEvent":{"action":"run_command","value":"/setblock -25 -60 -11 redstone_block"}},{"text":" "},{"text":"[Нет]","color":"red","clickEvent":{"action":"run_command","value":"/setblock -25 -60 -13 redstone_block"}}] /execute as @a[scores={say=3},nbt=!{Inventory:[{id:"minecraft:iron_hoe"}]}] at @s run tellraw @a [{"text":"\n"},{"text":"Незнакомец","color":"gold"},{"text":": Я всё ещё жду!","color":"green"}] /fill -28 -60 -7 -28 -55 -7 air /execute as @a[scores={say=3},nbt={Inventory:[{id:"minecraft:iron_hoe"}]}] at @s run tellraw @a [{"text":"\n"},{"text":"Незнакомец","color":"gold"},{"text":": Ой спасибо, ты меня очень выручил!","color":"green"}] /clear Vichaz minecraft:iron_hoe 1 /scoreboard players add Vichaz say 1 Донат:
https://www.donationalerts.com/r/vichaz