Dynamic Surroundings

Dynamic Surroundings

51M Downloads

[All Versions Possibly] Wrong footstep sound for block

Shivaxi opened this issue ยท 2 comments

commented

Tested on 1.12.2 Minecraft with version 3.6.1.0 and 3.6.2.1 Dynamic Surroundings

This is such a bizarre one and has probably gone undiscovered due to how rare it is, I only discovered it by accident when testing out a respawn mechanic.

But anyway, easiest way to re-create this is as follows. place a bed in say a desert, set as spawn point, then break the sand blocks around your bed and replace the blocks with a material that should have a different footstep sound, and isn't a material or block that is currently nearby, like wood. Do NOT walk on the wood after you place them, just do /kill, let yourself respawn on the wood blocks, and walk around on the wood...the wood will sound like sand, because that is where the sand was. If there were other blocks in the same chunk or nearby, like stone, you can replace those stone blocks now with the wood blocks, and walking on them too will sound like stone instead of wood. Place the wood blocks in the air and walking on them will make no sound, as walking on air doesnt have a sound of course. This fixes if you go about 2 chunks away and come back.

Like I said, absolutely astronomically strange bug that I found by pure chance lol. Possible this exists in all versions but haven't tested.

commented

Hmmm. Try setting "enableClientChunkCaching" to false in the config. For 1.12.2 there is a caching layer to help speed up performance of blockstate scanning. When disabled DS will always to go the client side chunk cache. The clue here is moving some chunks away and then back. That process causes those chunks to be unloaded by the cache. Versions subsequent to 1.12.2 do not have this cache.

commented

Sorry for the lateness on this, but yes that fixes the issue. However at the sacrifice of performance of course, so...I'll probably be leaving this on just due to how insanely rare this bug is to crop up. Thought I should let you know the results though!