How to make a pet with two command blocks! | Minecraft Java Edition

Опубликовано: 06 Октябрь 2024
на канале: GeoBlox JF
517
14

In this video, I will show you how to make a pet in minecraft. You can replace the head with whatever you want.

Commands:

Repeating command block:
/execute as @e[tag=pet1] at @p at @e[tag=pet1] unless entity @p[distance=..2] run tp @s ^ ^-0.1 ^0.2

Chain command block:
/execute as @e[tag=pet1] at @e[tag=pet1] facing entity @p feet run tp @s ~ ~ ~ ~ ~

Chat command:
/summon minecraft:armor_stand ~ ~ ~ {Invisible:1b,Invulnerable:1b,Tags:[pet1],ArmorItems:[{},{},{},{id:player_head,Count:1}],ArmorDropChances:[0f,0f,0f,0f]}

#minecraft #minecraftcommands