Compatibility
Minecraft: Java Edition
Platforms
Creators
Details
Are you a datapack dev looking for a new way to make interesting entities?
Then look no further because Here comes Better mannequins A way for you to give the New Mannequin Entity a little spark of life for your project!
This is currently the first version of the datapack, but for it we have a brand new feature that you can use for all your datapack needs!
In this version you can summon a Better Mannequin by using this command:
"/function mannequin_controls:summon_mannequin {type:(Type is an Identifier for what this entity is used for), name:(The name for your mannequin), profile:(If you don't have a profile to use just put '{}' but if you do it's the same as the normal mannequins profile), speed:(This is speed at which your mannequin can move)}"
Or, without all the explanations it should look a little something like this:
"/function mannequin_controls:summon_mannequin {type:"", name:"", profile:{}, speed:0}"
When you summon it, it will be doing almost nothing, so to actually control the mannequin you need to use the "/function mannequin_controls:step" command and when this happens you should see that the mannequin will take its very first steps. If you want to it move to a specific spot you need to rotate it using the "/rotate", command and point it towards its destination
Now that you know how the mannequin works and how it moves you can start developing your own NPC's, enemies, effects, and plenty of other things.
If you want a preview of what a mannequin can do then summon the already implemented Robot!
to summon the robot use this command:
"/function utils:summon_robot"
This entity will look towards the nearest player and start running towards them, and when it gets too close it will damage them, so make sure to keep your distance!
Quick Tips!
-
Make sure that when you are using the step function, you are running it AS THE MANNEQUIN otherwise it won't work
-
If the mannequin isn't going where you want it to double check if you're rotating it the right way
-
In my opinion, it is best to have the speed set to a value of 15
Extra Notes
It is perfectly okay for you to use this in your data pack and upload it to Moderinth, but if you are using this in the datapack, I would heavily appreciate it if you could credit me in your datapack description and leave a link!