Create Fabric

Create Fabric

11M Downloads

[1.20.1] Contraptions do not produce footsteps

Sollace opened this issue ยท 5 comments

commented

Describe the Bug

Some backstory:
I was working on implementing a proper solution to generating footsteps when walking on contraptions with Presence Footsteps, but I was unable to get any sounds to play at all.

I had some success with adding a mapping to the blockmap.json to use the existing function, and removing the part that blocks sounds from coming over the network, but for some reason it only worked for other players in multiplayer and only sometimes for yourself, and wouldn't produce steps appropriate to the blocks in the contraption.

I also noticed that footsteps would also not play when PF itself was turned off, so I left it.

Then today I was looking at it again, and after working out a proper solution that integrates with Create directly... It still wouldn't play.

So I decided to just remove PF completely from the environment and test it like that.

Turns out Create's contraptions don't produce footsteps at all even with the mod loaded on its own with nothing besides Create, Mod Menu, and Quilted Fabric API.

Reproduction Steps

The setup I used looks like this:

image

Without really knowing very much, I use a motor, axel, and bearing to rotate some blocks and stomped around on them in creative.

Footsteps work when walking on regular blocks, but nothing plays when walking on the rotated blocks.

Expected Result

Self explanatory

Screenshots and Videos

image

Crash Report or Log

No response

Operating System

Linux

Mod Version

0.5.1d

Minecraft Version

1.20.1

Other Mods

No response

Additional Context

No response

commented

Yeah, this has been an issue since 1.19.
Interestingly, Valkyrien Skies had the exact same thing happen at the same time, a loss of footstep sounds when transitioning to Minecraft 1.19.
My suspicion is that something changed with how Minecraft handles them, and the mods never updated to deal with it.

commented

A PR should be made to the forge repo adding footsteps to contraptions. Or a issue if you don't wanna make a PR

commented

I am pretty sure they used to make sound, which prompted my original issue about compat. Did you check if it's actually broken on forge too?

commented

I am pretty sure they used to make sound, which prompted my original issue about compat. Did you check if it's actually broken on forge too?

Yes its broken on forge aswell, they dont make sounds

commented

Upstream reported at Creators-of-Create#6118