BlueCommander
  • 𝐇𝐨𝐦𝐞
  • 𝐂𝐨𝐦𝐦𝐚𝐧𝐝𝐬 𝐚𝐧𝐝 𝐃𝐚𝐭𝐚 𝐏𝐚𝐜𝐤𝐬
    • 𝐌𝐚𝐢𝐧 𝐒𝐞𝐥𝐞𝐜𝐭𝐢𝐨𝐧 1 >
      • Chest Transportation
      • Damage Icons
      • Bonsai Pots
      • Christmas Animals
      • Blood Magic
      • Be a Villager
      • Vein Miner
      • Tree Capitator
      • Guns
      • More TNT
      • More Enchantments
      • Player Head Tricks
      • Christmas Food
      • Entity Cloning
      • Army Builder
      • Be a Magma Cube
    • 𝐌𝐚𝐢𝐧 𝐒𝐞𝐥𝐞𝐜𝐭𝐢𝐨𝐧 2 >
      • World Loader
      • Gravity on any block
      • Drinks
      • Outside World
      • Halloween Weapons
      • Health Tags
      • Mazes
      • MC Improvements
      • Temmie Boss
      • More Plants
      • More Swords
      • Bedwars Items
      • Laser Beams
      • Jade Ore
      • Paintball Gun
      • Halloween Survival
    • 𝐁𝐥𝐢𝐧𝐠𝐄𝐝𝐢𝐭 𝐏𝐥𝐮𝐠𝐢𝐧𝐬 >
      • Top Soil
      • Forester
      • Water Flood
      • Patterns
      • Region Info
      • BlingEdit Commands
    • 𝐍𝐨𝐭 𝐎𝐧 𝐘𝐨𝐮𝐭𝐮𝐛𝐞 >
      • Crates
      • More Structures
      • Advanced UHC
      • Deco Sandwitches
      • Be Herobrine
      • Morphing >
        • Creeper Addon
      • Flamethrower
      • Arrow Effects
      • Block Pets
      • BlueFun
      • Seismic Axe
  • 𝐑𝐞𝐬𝐨𝐮𝐫𝐜𝐞𝐬
    • Introduction to Resources
    • ​
    • 𝐁𝐞𝐠𝐢𝐧𝐧𝐞𝐫𝐬
    • Command Block Basics >
      • Introduction
      • How Commands Work
      • Conditional Commands
      • Coordinates
      • Selectors
      • Tab Completion
      • Data Tags
    • Command Usages >
      • Introduction
      • /tell
      • /kill
      • /tp
      • /teleport
      • /replaceitem
      • /summon
      • /effect
      • /data
      • /setblock
      • /give
      • /particle
      • /playsound
      • /execute
      • /clone
      • /fill
      • /tag
      • /team
      • /scoreboard
    • ​
    • 𝐁𝐚𝐬𝐢𝐜
    • Command Creations >
      • Introduction
      • Arrow Particles
      • Lock Chests
      • Grappling Hook
      • Blocks/Items On Head
      • Custom Pets
      • Custom Portals
      • Lava + Water Swapped
    • ​
    • 𝐀𝐝𝐯𝐚𝐧𝐜𝐞𝐝
    • Command Creations >
      • Introduction
      • Chairs
      • Randomly Spawning Structures
      • RPG Villagers
      • Block Durability
      • Pathfinding AI
  • 𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐨𝐫𝐬
    • Hypixel Skyblock
    • Kits Maker
    • Custom Blocks Generator
    • Floor Crafting Generator
    • Minecraft Heads
  • Hypixel Skyblock Remake
  • 𝐎𝐭𝐡𝐞𝐫 𝐌𝐚𝐩𝐬
    • Don't Dig Straight Down
    • Levitation Parkour
    • 1v1 Pvp
  • 𝐂𝐨𝐦𝐦𝐢𝐬𝐬𝐢𝐨𝐧𝐬
Previous
For 1.13-1.16 Minecraft Java Edition

Custom Pets

In this tutorial, I will be custom pets using slimes and custom skulls. If you are here for the commands rather than learning they are all at the bottom of the page.

The commands I will be using to achieve this are:

• Summon
• Execute
• Teleport
• Particle
• Playsound

Method / Explanation:
To begin, we need to know how this works and what we are trying to achieve. The small slimes follow the player as they are aggressive however the smallest ones do not do any damage. We can use this to create a pet. However for it to be new we need it to look different. For this we use custom skulls as they are about the same size as the slimes so their hitboxes would make sense.
Custom skulls are player heads that look like a specific players ign, This could be yours, a friends etc. We get them with the give command.
/give @p minecraft:player_head{SkullOwner:"Subscribe"} 1
But with custom heads, mojang also have a collection is usernames you can put in for a specific look. For example a cake. We call these MHF heads as they all begin with 'MHF_'
A full list of these can we found here.
Once you have decided what head you want we can continue
/give @p minecraft:player_head{SkullOwner:"MHF_TNT"} 1

Next we need to create our slime summon command and an invisible armor stand with our custom skull on it's head. To create summon commands with lots of data tags the easiest way is not doing it by hand but instead with McStacker. On this website you put in the mob and all the data tags you want and it gives you the summon command for you!
Check out McStacker!
You should end up with two commands like these. Just paste each one into a command block and leave them for now.
Picture
Picture

/summon slime ~ ~1 ~ {Silent:1b,Size:0,CustomName:"{\"text\":\"Slime1\"}",ActiveEffects:[{Id:14b,Amplifier:1b,Duration:20000000,ShowParticles:0b}]}


/summon armor_stand ~ ~1 ~ {NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems:[{},{},{},{id:"minecraft:player_head",Count:1b,tag:{SkullOwner:{Name:"MHF_TNT2"}}}],CustomName:"{\"text\":\"Skull1\"}"}
Picture
These are the two elements we need to make our pet. Now we need to work on making the armor stand constantly follow the slime so they are like one mob. For this we will execute at our slime which I called Slime1 and then make the Armor Stand I named Skull1 to it.
/execute as @e[name=Slime1] at @s run teleport @e[name=Skull1] ~ ~-1.4 ~

The reason I have given them numbers is because for every different one with this system they will need different names and tp commands for each one so it doesn't confuse the system. We could fix this with scoreboards but at the moment the best way forward would to just to add a new teleport command and names for each one. So if you have a second it would be:
/execute as @e[name=Slime2] at @s run teleport @e[name=Skull2] ~ ~-1.4 ~
Or whatever you named them. For this we are not caring about head rotation so teleport or tp would work it doesn't really matter but teleport is generally a better command so I would use /teleport to get yourself into a habit of using it.

Now we have it teleporting it is essentially working! Now we can add some particles and/or playsounds. Both of these commands are commands that I recommend just using tab completion to work out what you need to put but here is my two commands.
/execute at @e[name=Slime1] run particle minecraft:witch ~ ~ ~ 0.1 0.1 0.1 0.01 10 force
/execute at @e[name=Slime1] run playsound minecraft:entity.creeper.hurt voice @a[distance=..3] ~ ~ ~
Click here for a particle list
Click here for a playsound list
However after doing this I decided the playsound was annoying as it didn't stop so I made it when it wasn't on ground. I did this with the {OnGround:0b} data tag as 0 being false, 1 being true and also OnGround because?

Yes that's right! It isn't an arrow so it is OnGround not inGround! Glad you remembered ;)

So I added a nbt parameter in the selector
/execute at @e[name=Slime1,nbt={OnGround:0b}] run playsound minecraft:entity.creeper.hurt voice @a[distance=..3] ~ ~ ~ 1 1 1

Now we are done! I hope you learned something! ~Blue

Your commands should look like this:
Picture

/execute at @e[name=Slime1,nbt={OnGround:0b}] run playsound minecraft:entity.creeper.hurt voice @a[distance=..3] ~ ~ ~ 1 1 1
Picture

/execute as @e[name=Slime1] at @s run teleport @e[name=Skull1] ~ ~-1.4 ~


Picture

/execute at @e[name=Slime1] run particle minecraft:witch ~ ~ ~ 0.1 0.1 0.1 0.01 10 force
Next
Powered by Create your own unique website with customizable templates.
  • 𝐇𝐨𝐦𝐞
  • 𝐂𝐨𝐦𝐦𝐚𝐧𝐝𝐬 𝐚𝐧𝐝 𝐃𝐚𝐭𝐚 𝐏𝐚𝐜𝐤𝐬
    • 𝐌𝐚𝐢𝐧 𝐒𝐞𝐥𝐞𝐜𝐭𝐢𝐨𝐧 1 >
      • Chest Transportation
      • Damage Icons
      • Bonsai Pots
      • Christmas Animals
      • Blood Magic
      • Be a Villager
      • Vein Miner
      • Tree Capitator
      • Guns
      • More TNT
      • More Enchantments
      • Player Head Tricks
      • Christmas Food
      • Entity Cloning
      • Army Builder
      • Be a Magma Cube
    • 𝐌𝐚𝐢𝐧 𝐒𝐞𝐥𝐞𝐜𝐭𝐢𝐨𝐧 2 >
      • World Loader
      • Gravity on any block
      • Drinks
      • Outside World
      • Halloween Weapons
      • Health Tags
      • Mazes
      • MC Improvements
      • Temmie Boss
      • More Plants
      • More Swords
      • Bedwars Items
      • Laser Beams
      • Jade Ore
      • Paintball Gun
      • Halloween Survival
    • 𝐁𝐥𝐢𝐧𝐠𝐄𝐝𝐢𝐭 𝐏𝐥𝐮𝐠𝐢𝐧𝐬 >
      • Top Soil
      • Forester
      • Water Flood
      • Patterns
      • Region Info
      • BlingEdit Commands
    • 𝐍𝐨𝐭 𝐎𝐧 𝐘𝐨𝐮𝐭𝐮𝐛𝐞 >
      • Crates
      • More Structures
      • Advanced UHC
      • Deco Sandwitches
      • Be Herobrine
      • Morphing >
        • Creeper Addon
      • Flamethrower
      • Arrow Effects
      • Block Pets
      • BlueFun
      • Seismic Axe
  • 𝐑𝐞𝐬𝐨𝐮𝐫𝐜𝐞𝐬
    • Introduction to Resources
    • ​
    • 𝐁𝐞𝐠𝐢𝐧𝐧𝐞𝐫𝐬
    • Command Block Basics >
      • Introduction
      • How Commands Work
      • Conditional Commands
      • Coordinates
      • Selectors
      • Tab Completion
      • Data Tags
    • Command Usages >
      • Introduction
      • /tell
      • /kill
      • /tp
      • /teleport
      • /replaceitem
      • /summon
      • /effect
      • /data
      • /setblock
      • /give
      • /particle
      • /playsound
      • /execute
      • /clone
      • /fill
      • /tag
      • /team
      • /scoreboard
    • ​
    • 𝐁𝐚𝐬𝐢𝐜
    • Command Creations >
      • Introduction
      • Arrow Particles
      • Lock Chests
      • Grappling Hook
      • Blocks/Items On Head
      • Custom Pets
      • Custom Portals
      • Lava + Water Swapped
    • ​
    • 𝐀𝐝𝐯𝐚𝐧𝐜𝐞𝐝
    • Command Creations >
      • Introduction
      • Chairs
      • Randomly Spawning Structures
      • RPG Villagers
      • Block Durability
      • Pathfinding AI
  • 𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐨𝐫𝐬
    • Hypixel Skyblock
    • Kits Maker
    • Custom Blocks Generator
    • Floor Crafting Generator
    • Minecraft Heads
  • Hypixel Skyblock Remake
  • 𝐎𝐭𝐡𝐞𝐫 𝐌𝐚𝐩𝐬
    • Don't Dig Straight Down
    • Levitation Parkour
    • 1v1 Pvp
  • 𝐂𝐨𝐦𝐦𝐢𝐬𝐬𝐢𝐨𝐧𝐬