[Feature Request] Sit animation
kodytubegaming opened this issue · 7 comments
i'd like to have my NPCs sit on chairs for those who have mods like MCFM/MR Crayfish's Furniture Mod
Also this is off topic but how do I add custom sounds to my NPCs? I have a Minecraft skin of the principal of the thing from Baldi’s basics and I want to add some of his voice lines into the game
Thanks for the feedback! This is definitely doable for the default NPCs, but it's a bit more challenging for custom NPCs.
Do you have any suggestions on how this should work?
For example, would it make sense to use an extra item to make the NPC sit, or maybe a command like /easy_npc sit <NPC UUID> <position>
?
I'd love to hear your thoughts!
If you have any furniture mods like Mrcrayfish’s furniture mods or something they’d sit in a chair because the old version of custom NPCs would allow you to do it and even custom skins work with it because I used to watch little lizard gaming and they would do a Minecraft school role playing series and they had NPCs sit on chairs and such if you look at code on the old customnpcs mod you might find it
Technically, you can already use the Pose Editor to manually make NPCs sit, like this:
Which results in something like this:
However, simply suggesting to look into another mod's code won't work here, because the two mods function fundamentally differently. I can’t just copy and paste code from Custom NPCs and expect it to work.
Instead, I need to carefully examine what solutions are compatible between versions 1.18.2 and 1.21.1, as there have been significant changes between these versions. Once I identify the best approach, I can implement the feature.
On a related note, I'm currently working on a user-friendly way to define and use custom sounds.
If you need them now, you can define the sounds via a custom resource pack and use the /playsound
command. This allows you to trigger the sound during various interactions, such as when opening a dialog, pressing a dialog button, or simply interacting with the NPC.
This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 3 days.