401: Undress the player. [Minecraft Map Making]

Опубликовано: 29 Март 2026
на канале: Infernal Device
329
16

Membership:    / @infernaldevice  
Ep401: Making a player drop all their armour on the floor.

00:00 Intro
01:55 Controller
03:00 Remove helmet
12:05 Remove boots and instant pickup
15:00 Waffling

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:

Helmet:
IUN: execute as @a[tag=undress_me] at @s if items entity @s armor.head * run summon item ^ ^1.7 ^1 {PickupDelay:32767, Item:{id:"leather_helmet"}, Motion:[0.05,0.2,0.0], Tags:["temp_helmet"]}
CUA: execute as @a[tag=undress_me] at @s run data modify entity @e[type=item, tag=temp_helmet, limit=1, sort=nearest] Item set from entity @s Inventory.[{Slot:103b}]
CUA: data merge entity @e[type=item, tag=temp_helmet, limit=1] {PickupDelay:30}
CUA: item replace entity @a[tag=undress_me] armor.head with air

Chestplate:
IUN: execute as @a[tag=undress_me] at @s if items entity @s armor.chest * run summon item ^ ^1.7 ^1 {PickupDelay:32767, Item:{id:"leather_chestplate"}, Motion:[-0.05,0.2,0.0], Tags:["temp_chestplate"]}
CUA: execute as @a[tag=undress_me] at @s run data modify entity @e[type=item, tag=temp_chestplate, limit=1, sort=nearest] Item set from entity @s Inventory.[{Slot:102b}]
CUA: data merge entity @e[type=item, tag=temp_chestplate, limit=1] {PickupDelay:30}
CUA: item replace entity @a[tag=undress_me] armor.chest with air

Leggings:
IUN: execute as @a[tag=undress_me] at @s if items entity @s armor.legs * run summon item ^ ^1.7 ^1 {PickupDelay:32767, Item:{id:"leather_chestplate"}, Motion:[0.0,0.2,0.05], Tags:["temp_legs"]}
CUA: execute as @a[tag=undress_me] at @s run data modify entity @e[type=item, tag=temp_legs, limit=1, sort=nearest] Item set from entity @s Inventory.[{Slot:101b}]
CUA: data merge entity @e[type=item, tag=temp_legs, limit=1] {PickupDelay:30}
CUA: item replace entity @a[tag=undress_me] armor.legs with air

Boots:
IUN: execute as @a[tag=undress_me] at @s if items entity @s armor.feet * run summon item ^ ^1.7 ^1 {PickupDelay:32767, Item:{id:"leather_chestplate"}, Motion:[0.0,0.2,-0.05], Tags:["temp_boots"]}
CUA: execute as @a[tag=undress_me] at @s run data modify entity @e[type=item, tag=temp_boots, limit=1, sort=nearest] Item set from entity @s Inventory.[{Slot:100b}]
CUA: data merge entity @e[type=item, tag=temp_boots, limit=1] {PickupDelay:30}
CUA: item replace entity @a[tag=undress_me] armor.feet with air
CUA: tag @a[tag=undress_me] remove undress_me

Controller:
RUA: execute if entity @a[tag=undress_me] run setblock x y z redstone_block


If you want the items to go in inventory then:
Remove the Motion when summoning.
Set PickupDelay to 0 in command 3.