319: Villager processing. Bones in, villagers out. [Minecraft Map Making]

Опубликовано: 27 Март 2026
на канале: Infernal Device
405
13

Ep319: Being a bit silly and making a machine that turns bones into skeletons and then covers them in skin to make villagers. It's not as cool as it sounds. :)

Version: 1.19

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" with the appropriate angled bracket. Ascii code: 62

Commands used:

Setup:
IUN: scoreboard objectives add timer dummy
CUA: scoreboard objectives add bone_count dummy

Give Egg - Skeleton Spawn:
IUN: give @p cod_spawn_egg{display:{Name:'{"text":"Marker: Skeleton Spawn"}'}, EntityTag:{id:"minecraft:marker", Tags:["my_marker", "spawn_skeleton"]}}

Give Egg - Conveyor Start:
IUN: give @p slime_spawn_egg{display:{Name:'{"text":"Marker: Conveyor Start"}'}, EntityTag:{id:"minecraft:marker", Tags:["my_marker", "conveyor_start"]}}

Give Egg - Conveyor Middle:
IUN: give @p frog_spawn_egg{display:{Name:'{"text":"Marker: Conveyor Middle"}'}, EntityTag:{id:"minecraft:marker", Tags:["my_marker", "conveyor_middle"]}}

Give Egg - Conveyor End:
IUN: give @p strider_spawn_egg{display:{Name:'{"text":"Marker: Conveyor End"}'}, EntityTag:{id:"minecraft:marker", Tags:["my_marker", "conveyor_end"]}}

Spawn using timer:
RUA: scoreboard players add #skeleton timer 1
CUA: execute if score #skeleton timer matches 40.. run scoreboard players reset #skeleton timer
CCA: execute at @e[type=marker, tag=spawn_skeleton] run summon skeleton ~ ~ ~ {Tags:["my_mob", "skeleton"], Rotation:[90f, 0f], ArmorItems:[{},{},{},{id:"oak_button", Count:1b}]}
CCA [OPTIONAL]: execute as @e[tag=skeleton, tag=!walk] at @s run tp @s ~ ~ ~ facing entity @e[tag=conveyor_middle, limit=1, sort=nearest]

Spawn using button:
IUN: execute as @p store result score @s bone_count run clear @s bone 0
CCA: execute as @p if score @s bone_count matches 10.. run clear @s bone 10
CCA: execute at @e[type=marker, tag=spawn_skeleton] run summon skeleton ~ ~ ~ {Tags:["my_mob", "skeleton"], Rotation:[90f, 0f], ArmorItems:[{},{},{},{id:"oak_button", Count:1b}]}

Spawn using sign:
IUN: give @p oak_sign{BlockEntityTag:{
Text1:'{"text":"Spawn","clickEvent":{"action":"run_command","value":"execute store result score @s bone_count run clear @s bone 0"}}',
Text2:'{"text":"Skeleton","clickEvent":{"action":"run_command","value":"clear @s[scores={bone_count=10..}] bone 10"}}',
Text3:'{"text":"","clickEvent":{"action":"run_command","value":"execute if score @s bone_count matches 10.. at @e[type=marker, tag=spawn_skeleton] run summon skeleton ~ ~ ~ {Tags:[\\"my_mob\\", \\"skeleton\\"], Rotation:[90f, 0f], ArmorItems:[{},{},{},{id:\\"oak_button\\", Count:1b}]}"}}',
Text4:'{"text":"","clickEvent":{"action":"run_command","value":"title @s[scores={bone_count=..9}] actionbar {\\"text\\":\\"Not enough bones!\\",\\"color\\":\\"red\\"}"}}'
}}

Controller - Main:
RUA: execute at @e[tag=conveyor_start] as @e[tag=skeleton, distance=0..0.1] run tag @s add walk
CUA: execute at @e[tag=conveyor_start] as @e[tag=skeleton, distance=0..0.1] run data merge entity @s {NoAI:true}
CUA: execute as @e[tag=walk] at @s run tp @s ^ ^ ^0.1 facing entity @e[tag=conveyor_end, sort=nearest, limit=1]
CUA: execute at @e[tag=conveyor_middle] as @e[tag=skeleton, distance=0..0.1] run particle poof ~ ~1 ~ 0.2 0.5 0.2 0 100
CCA: execute at @e[tag=conveyor_middle] as @e[tag=skeleton, distance=0..0.1] at @s run tp @s ~ -2112 ~
CCA: execute at @e[tag=conveyor_middle] run playsound entity.blaze.shoot master @a ~ ~ ~ 0.5 0.5 0
CCA: execute at @e[tag=conveyor_middle] run summon villager ~ ~ ~ {Tags:["my_mob", "villager", "walk"], Rotation:[90f,0f], NoAI:true}
CUA: execute at @e[tag=conveyor_end] as @e[tag=my_mob, distance=0..0.1] at @s run tp @s ~ -2112 ~