Sollace / Presence-Footsteps

An overly complicated footstep sound enhancement mod for Minecraft
https://modrinth.com/mod/presence-footsteps
MIT License
107 stars 35 forks source link

request: origins mod integration #138

Open ChloeIsNobody opened 2 years ago

ChloeIsNobody commented 2 years ago

the origins mod for fabric has become very popular recently, and it allows players to use an origin with a slow falling ability and an origin with built-in elytra wings. I was wondering if it would be possible to automatically set the stance to avian when a player was using either the avian or elytrian origins. Ideally, it would be set automatically when the player has a power of the power type origins:modify_falling and fall damage set to false, or of the power type origins:elytra_flight and render_elytra set to true. However, I do not know how possible the latter option is. Or, if neither of those two things are feasible, can there be a command to set the player's stance? Either way, thank you, and have a nice day!

Sollace commented 2 years ago

Hi, Chloels. I am certainly open to adding integration for the Origins mod, like I have already done for Mine Little Pony.

Until then, though, you can set the stance manually through the mod's settings screen (check keybinds - or accessible through the Mod Menu mod)

Sollace commented 2 years ago

Looking at the origins mod, and since literally anyone can add a custom origin, it doesn't seem like there's any easy way for me to query the number of legs a specific origin has, or if it has wings, so unfortunately I don't think this is possible.

You'd have to just settle for setting your stance manually for now.

ChloeIsNobody commented 2 years ago

that is actually what my second paragraph was about, looking at the specific power types to determine if an origin should have a specific number of legs. However, I don't really know if that is a thing that would be feasible for you to do, so maybe you could try something like allowing a config to specify the default stance for each origin on a player-by-player basis?

StockiesLad commented 2 years ago

The best solution here is to contact the mod devs of origins to provide some fields that presence footsteps can use to determine what the sounds should be.