IAxPresenceFootsteps
This plugin provides integration between the Presence Footsteps modification and ItemsAdder, automatically creating the necessary configuration files for playing footstep sounds on custom blocks.
Main Function
The plugin automatically generates the blockmap.json file required by the Presence Footsteps modification to configure footstep sounds on custom blocks created through ItemsAdder.
Usage Instructions
Important Note:
Before using this plugin, be sure to execute the /iazip command at least once, as the operation requires the presence of the real_blocks_note_ids_cache.yml file.
To configure footstep sounds, open any ItemsAdder YAML file containing blocks with the block property set. Add the pf_sound parameter to the configuration of the desired block.
Example configuration for ruby ore in the file /ItemsAdder/data/items_packs/itemsadder/blocks.yml:
items:
ruby_ore:
display_name: display-name-ruby_ore
permission: ruby_ore
resource:
material: PAPER
generate: true
textures:
- block/ruby_ore.png
specific_properties:
block:
hardness: 3
placed_model:
type: REAL_NOTE
break_particles_material: REDSTONE_BLOCK
cancel_drops: true
break_tools_blacklist:
- WOODEN_PICKAXE
- STONE_PICKAXE
break_tools_whitelist:
- PICKAXE
- pickaxe
- _hammer
pf_sound: 'ore'
After saving the files, execute the /pfcreate command to create the blockmap.json file.
Warning: If the file already exists, use the --override argument to overwrite it.