Custom Poses - Bored-Face/pose-data GitHub Wiki
NOTE: To make things easier, this instruction uses the mod Axiom for creating and exporting your custom pose.
To add a custom player statue to the P.O.S.E. smartphone data pack, follow these steps:
-
Create a file for your pose
Navigate to the
data/bored-face.pose/function/players/
directory.In there, create a new text file. Replace its whole name with the ID of your pose +
.mcfunction
at the end.(The ID is the name of your pose in all lowercase letters and no spaces)
Example:
New Text Document.txt
→my_pose.mcfunction
NOTE: Minecraft only allows lowercase letters (
a-z
), numbers (0-9
), and unterscores (_
) in these filenames. -
Prepare your pose base
Start by summoning an existing pose from your Smartphone.
NOTE: To prevent problems with grouping later, we recommend you stay at least 2 block away from all other display entites or P.O.S.E. staues.
Next, you'll need to ungroup that pose by interacting (by default Rightclick (RMB)) with the white node in the middle of the statue and select
Grouping
→Ungroup Children
-
Create your pose
Now you can move, rotate, and scale all parts of the pose as you like. (✨Be Creative✨)
You can even add or remove display entites to customize your pose even more.
When you're happy with your pose, you can group it back together. To do that interact the white node of the body and select
Grouping
→Group with nearby in range
. -
Export your pose
To copy the pose interact with the grouped node of your pose and select
Copy Summon Command
.Next, go back to the
.mcfunction
file you've created in step 1. and paste the copied summon command.HINT: To set an initial offset to your pose, add a number after the second
~
in the very beginning of the command Example: Change this...summon minecraft:item_display ~ ~ ~ { #...
... to that
summon minecraft:item_display ~ ~1.1185 ~ { #...
This whould result in an offset of 1.1185 Blocks higher.
-
Modifying the Smartphone
Back in Minecraft, first reload the data pack by running
/reload
or restarting your world/server.Once reloaded, just run a single
/function
command to add the pose.You'll need the pose's ID from step 1. (which goes into
id
) and the display name that will be shown in the smartphone (which goes intoname
). For example:function bored-face.pose:add/player {id: "my_pose", name: "My own pose"}
-
Done! That's it! Your custom pose is now integrated into the data pack and ready to use.
Your own Smartphone (in your inventory) automagically got updated. Keep in mind other players or other existing smartphones do have to be replaced manually again to include your new pose.