373: NPC dialogue idea. [Minecraft Map Making]
Ep373: Just an idea for displaying NPC dialogue.
00:00 Intro
01:30 Setup
01:50 Summon
03:30 Controller
14:45 Give item
15:35 Throw item
Version: 1.19
Requested by: Alexandru Chiriac
Misode Generators: https://misode.github.io/
Commands, builds and ideas for people making their own Minecraft maps.
Check out my collabs on Coppit's channel: / coppitj
Join the CoppitCraft server that I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord: / discord
The following commands are prefixed with three letters which represent the settings of the command block. E.g IUN: = Impulse Unconditional Needs_Redstone. These prefixes need to be removed if copying the commands.
Since angled brackets are not allowed in YouTube descriptions you will have to replace "greater than" and "less than" with the appropriate angled bracket.
Commands used:
Setup:
IUN: scoreboard objectives add timer dummy
Summon:
IUN: summon villager ~ ~-0.5 ~4 {Tags:["Bob"], NoAI:true}
Team:
IUN: team add no_name
CUA: team modify no_name nametagVisibility never
Controller:
RUA: scoreboard players add #chat timer 1
CUA: execute if score #chat timer matches 20 run data merge entity @e[tag=Bob, limit=1] {CustomNameVisible:true, CustomName:'{"text":"Hello!","color":"green","bold":true}'}
CCA: team leave @e[tag=Bob]
CCA: execute at @e[tag=Bob] run playsound entity.villager.celebrate master @a ~ ~ ~ 1 1 0
CUA: execute if score #chat timer matches 80 run data merge entity @e[tag=Bob, limit=1] {CustomNameVisible:true, CustomName:'{"text":"I am so happy to meet you!","color":"green","bold":true}'}
CCA: execute at @e[tag=Bob] run playsound entity.villager.celebrate master @a ~ ~ ~ 1 1 0
CUA: execute if score #chat timer matches 140 run team join no_name @e[tag=Bob]
CUA: execute if score #chat timer matches 160 at @e[tag=Bob] run particle heart ~ ~2.2 ~ 0.1 0.1 0.1 1 1
CUA: execute if score #chat timer matches 170 as @e[tag=Bob] at @s run tp @s ~ ~ ~ ~ ~20
CUA: execute if score #chat timer matches 180 as @e[tag=Bob] at @s run tp @s ~ ~ ~ ~ ~-20
CCA: setblock 17 56 386 white_wool
CCA: scoreboard players reset #chat timer
Give item:
IUN: item replace entity @e[tag=Bob] weapon.mainhand with stone
Throw item:
IUN: item replace entity @e[tag=Bob] weapon.mainhand with air
CUA: execute as @e[tag=Bob] at @s run summon item ~ ~1 ~ {Motion:[0.0,0.1,0.1],Item:{id:"stone",Count:1b}}
Other Videos By Infernal Device
Other Statistics
Minecraft Statistics For Infernal Device
At present, Infernal Device has 181,722 views spread across 860 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.