premium banner
Adds new event handlers for a few key events.

Description

Expanded Events

Expanded Events adds a number of new event handlers to Minecraft. This mod is for developers who want to access these methods without needing to write mixins every time.

New Events

  • BaubleAttributeModifierEvent: (Requires Baubles) Expands equipment slot attributes to baubles, allowing the addition and removal of bauble attribute modifiers.
  • ItemAttributeModifierEvent: A backport of Forge 1.13+ ItemAttributeModifierEvent, allowing addition and removal of item attribute modifiers.
  • LivingBlockDamageEvent: Fired whenever a living entity blocks damage with a shield. Can be used to modify shield behavior.
  • LivingSprintStartEvent: Fired whenever a living entity starts sprinting. Can be cancelled.
  • LivingSprintStopEvent: Fired whenever a living entity stops sprinting. Can be cancelled.
  • PlayerShieldDisabledEvent: Fired whenever a player's shield is about to be disabled by damage. Can be cancelled.
  • UpdateFoodStatsEvent: Fired whenever the player's food stats are updated. Can be used to cancel natural healing or reduce passive saturation drain.

Features