84: Villager dialogue [Minecraft Map Making]

Subscribers:
4,230
Published on ● Video Link: https://www.youtube.com/watch?v=omPCJzYfdU4



Minecraft
Game:
Minecraft (2011)
Category:
Vlog
Duration: 20:32
336 views
19


Ep84: One way to do some simple villager dialogue.

Originally for Udemy, but uploaded here.
Commands, builds and ideas for people making their own Minecraft maps.

Check out my collabs on Coppit's channel: https://www.youtube.com/c/CoppitJ

Join the server I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord: https://discord.gg/KNSmPWdnfG

Udemy notes. YouTube formatting may make some of these wrong. :)

Commands used:
scoreboard objectives add talkTracker minecraft.custom:minecraft.talked_to_villager
scoreboard objectives add vtBob dummy
scoreboard players set @p vtBob 5
summon villager -60 56 48 {CustomNameVisible:1b,PersistenceRequired:1b,CustomName:'{"text":"Bob"}',VillagerData:{level:99,profession:"minecraft:librarian",type:"minecraft:jungle"}}

execute as @a at @s if entity @e[name=Bob,distance=0..3] run tag @s add nearBob
execute as @a at @s unless entity @e[name=Bob,distance=0..3] run tag @s remove nearBob

execute as @a[scores={talkTracker=1..}, tag=nearBob] run scoreboard players add @s vtBob 1

execute as @a[scores={talkTracker=1..,vtBob=1}, tag=nearBob] run say hi
execute as @a[scores={talkTracker=1..,vtBob=2}, tag=nearBob] run say How are you?
execute as @a[scores={talkTracker=1..,vtBob=3}, tag=nearBob] run say The secret base is North.
execute as @a[scores={talkTracker=1..,vtBob=4}, tag=nearBob] run say Goodluck finding it.
execute as @a[scores={vtBob=4}] run scoreboard players set @s vtBob 2

execute as @a[scores={talkTracker=1..,vtBob=6}, tag=nearBob] run say Wow, you found it. Well done!
execute as @a[scores={talkTracker=1..,vtBob=7}, tag=nearBob] run say See you around, take care!
execute as @a[scores={vtBob=7}] run scoreboard players set @s vtBob 6

scoreboard players reset @a[scores={talkTracker=1..},tag=nearBob] talkTracker







Tags:
minecraft
adventure map
map making
commands
command blocks
1.16
1.17
1.18
custom commands
redstone
map ideas
map suggesstions
custom maps



Other Statistics

Minecraft Statistics For Infernal Device

At present, Infernal Device has 184,447 views spread across 877 videos for Minecraft, accounting for over 10 days of watchable video on his channel. This is 94.82% of the total watchable video for Minecraft on Infernal Device's YouTube channel.