Перейти к содержимому
Mineforgian

IAxPresencefootsteps

A plugin that allows to add stepping-sounds for the Presence Footsteps mod to custom ItemsAdder Blocks.

Загрузки
474
Подписчики
3
Обновлён
11 июня 2026 г.
Лицензия
MIT

Опубликован 17 ноября 2022 г.

IAxPresenceFootsteps

IAxPresenceFootsteps is a simple plugin that allows you to quickly and easily create a blockmap.json file for the PresenceFootsteps mod, to support stepping sounds for ItemsAdder's Custom Blocks.

How it works

All you have to do, is add a pf_sound option to the specific_properties.block section of your custom item:

info:
  namespace: example

items:
  example_block:
    display_name: "Example"
    graphics:
      texture: block/example
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
        pf_sound: hardmetal # Add this!

After that, execute /iaxpf create to automatically create a new blockmap.json file.
This blockmap file will contain all the custom ItemsAdder Blocks, which contain the pf_sound option and store it in /plugins/ItemsAdder/contents/presencefootsteps/resourcepack/presencefootsteps/config/blockmap.json

All that is left to do, is executing /iazip and the blockmap will be included in the resource pack.

Commands

/iaxpf create [--verbose]

Creates the blockmap.json file. If one already exists will it be overridden.
Adding the --verbose flag will make the plugin provide a lot more info, such as what sounds it adds for what custom block (And vanilla blockstate), or what blocks got skipped and why.

Known Issues/Limitations

Blocks created from directional_mode aren't included

This issue is limited to versions before 4.0.17 of ItemsAdder.
Due to a lack of API in older versions can the plugin not obtain the actual config used for blocks generated from the directional_mode option.
Your best option is to update ItemsAdder to 4.0.17 or newer.

Ченджлог

2.0.0-b2Бета26.1, 26.1.1, 26.1.2 · 11 июня 2026 г.

This update adds a config.yml containing two config options:

  • createOnIazip: When set to true, will have the plugin automatically create the blockmap.json file whenever /iazip is being executed.
  • verboseEnabled: When set to true, will have verbose mode enabled by default, meaning /iaxpf create will be treated like /iaxpf create --verbose. Note that this also affect the automatic creation process, making it be verbose too.
2.0.0-b1Бета26.1, 26.1.1, 26.1.2 · 9 июня 2026 г.

This is a complete rework of the Plugin, removing old, overcomplicated code to support legacy IA content structures and using new API of ItemsAdder, where possible (With a fallback to old API methods).

It is recommended to use this plugin with ItemsAdder 4.0.17 or newer, as it provides new API the plugin can use to support special cases like blocks created from directional_mode.

The command has also changed and is now /iaxpf create [--verbose] Adding --verbose will have the plugin provide a lot more info such as:

  • Sounds added for what custom block and vanilla blockstate
  • Info on failed sound additions and why

One other notable change is, that the plugin now uses the CustomBlock registry for getting all blocks and obtains their blockstates through that, allowing to support more than REAL_NOTE blocks.

Please note that this is a beta, as I cannot test for any and all edge-cases. Report any issues you find on GitHub!

1.3.0-BETAБета1.19.2 · 28 ноября 2022 г.

This is a beta version. Make sure to create backups of your ItemsAdder files to avoid issues.

This update adds support for the new folder structure introduced in ItemsAdder 3.3.0 while preserving backwards compatability with older versions.

When you're now starting IAxPresenceFootsteps will it check for the contents folder followed by the data folder should the former not be found. If neither was found will the plugin disable itself.

With this update does this plugin also change where it stores the generated blockmap.json file:

  • On 3.3.0 and newer will it be found under plugins/ItemsAdder/contents/presencefootsteps/resourcepack/presencefootsteps/config/blockmap.json
  • On 3.2.5 and older will it be found under plugins/ItemsAdder/data/resource_pack/assets/presencefootsteps/config/blockmap.json
1.2.1Релиз1.19.2 · 17 ноября 2022 г.

Decided to release this plugin to Modrinth.
Below can you see the changelogs from initial release until latest.

v1.2.0: Fix Kyori Adventure error

There was a chance that an error would be thrown during the plugin's onLoad() phase due to the BukkitAudiences library trying to register events during it.

This has been fixed.

v1.2.0: Workaround for inconsistent plugin loading

There is an issue with plugin loading order where circular dependencies (plugins depending on each other) messes up stuff, resulting in plugins depending on others loading before them.

This update adds a workaround by making the entire startup procedure (checking for ItemsAdder, adding commands, etc.) run after the server is done loading.
This should hopefully fix issues such as #1 until Spigot and/or PaperMC implement a proper fix.

Read more here: PaperMC/Paper#5992

v1.1.0: Auto-trigger /iazip after /pfcreate when enabled

New Config and behaviour

This update adds a config.yml file containing a boolean option called auto-zip.
When set to true will IAxPresenceFootsteps automatically trigger /iazip after creating the blockmap.json file. The command will be executed as whoever triggered /pfcreate

New Command

Added a /pfreload command to reload the config.

Changed logging messages

Messages sent in the console are now coloured. Also, all messages now have a prefix set.

v1.0.0: First release

This is the very first release of IAxPresenceFootsteps.

The plugin allows you to create a blockmap.json file for the PresenceFootsteps mod

Комментарии

Загружаем…