Skip to content

CoreLib Actions

When EmakiForge is enabled, it adds forge item refresh actions to the CoreLib action registry. Use them in action chains to rebuild a held forge layer, refresh one player's inventory, or refresh forged items for all online players after configuration changes.

This page documents only CoreLib actions registered by EmakiForge. CoreLib built-in actions are documented in CoreLib Actions. Current action IDs use only the canonical names below; historical aliases are no longer registered.

Action IDs

Action IDPurposeRequires player context
emakiforge_refresh_heldRefreshes the current player's main-hand forged item.Yes
emakiforge_refresh_playerRefreshes forged items in the current player's inventory.Yes
emakiforge_refresh_allRefreshes forged items for all online players.No

Parameters

These actions do not read additional parameters.

Examples

yaml
actions:
  - 'emakiforge_refresh_held'
  - 'emakiforge_refresh_player'
  - 'emakiforge_refresh_all'

Notes

  • emakiforge_refresh_held only processes the main-hand item. If the player is not holding an item, the action is skipped.
  • emakiforge_refresh_player requires a player context and refreshes that player's inventory through the EmakiForge refresh service.
  • emakiforge_refresh_all does not require a player context and is suitable for admin action templates or bulk refreshes after configuration changes.