409: Random special mobs. [Minecraft Map Making]

Опубликовано: 28 Март 2026
на канале: Infernal Device
283
25

Membership:    / @infernaldevice  
Ep409: Randomly selecting a mob and giving it extra features.

00:00 Intro
01:50 Setup team
02:35 Controller

Version: 1.21

Commands, builds, hacks 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: team add Glow
CUA: team modify Glow color green

Controller:
RUA: execute as @e[type=pig,tag=!checked] if predicate {"condition":"minecraft:random_chance","chance": 0.5} run tag @s add special
CUA: team join Glow @e[type=pig, tag=special]
CUA: effect give @e[type=pig, tag=special] glowing infinite 1 true
CUA: data merge entity @e[type=pig, tag=special, limit=1] {HandItems:[{id:"minecraft:gold_block",count:1},{}],HandDropChances:[1.000F,0.085F]}
CUA: data merge entity @e[type=pig, tag=special, limit=1] {DeathLootTable:"empty"}
CUA: attribute @e[type=pig, tag=special, limit=1] minecraft:generic.scale base set 2
CUA: tag @e[type=pig, tag=special] remove special
CUA: tag @e[type=pig, tag=!checked] add checked