
Jump Sounds
This compact mod implements in Minecraft Java Edition the jump and landing sound system similar to the one used in the Bedrock version of the game. The implementation is fully compatible with custom blocks and works correctly with all types of surfaces.
Configuring Sounds for Different Blocks
For jumps and landings, standard fall sound events corresponding to each block type are used. This approach ensures maximum compatibility and natural sound. If you want to add custom sounds for specific blocks, it's enough to create a resource pack that modifies the "fall" sound event for the required blocks. By default, the system will use standard step sounds.
Adding General Jump and Landing Sounds
To configure general sounds for all jumps and landings, create a sounds.json file in the assets/jump_sounds
directory. In this file, define sound events for "entity.player.jump"
(jump) and "entity.player.land"
(landing), specifying paths to your sound files.
Example sounds.json file structure:
{
"entity.player.jump": {
"sounds": [
"jump_sounds:jump/jump1",
"jump_sounds:jump/jump2",
"jump_sounds:jump/jump3",
"jump_sounds:jump/jump4"
]
},
"entity.player.land": {
"sounds": [
"jump_sounds:land/land1",
"jump_sounds:land/land2",
"jump_sounds:land/land3",
"jump_sounds:land/land4"
]
}
}