MT Path Speed

MT Path Speed

Mod

Changing player speed relative to the block the player is standing on

Client and server AdventureGame MechanicsManagementTransportationUtility

254 downloads
2 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

MT Path Speed 1.0.1_1.21-1.21.1

Changelog

Changelog

  • Initial implementation of MovementSpeedHandler to adjust player movement speed based on block types.
  • Integration with ServerTickEvents for periodic updates.

Fixed

  • Corrected the use of EntityAttributeModifier constructor:
    • Replaced UUID with Identifier for speed modifier ID to align with the expected constructor parameters.
    • Updated SPEED_MODIFIER_UUID to SPEED_MODIFIER_ID as an Identifier.
  • Resolved type mismatch in .getModifier method by using Identifier instead of UUID.

Changed

  • Refactored adjustPlayerSpeed method:
    • Applied the correct constructor for EntityAttributeModifier.
    • Added error handling for missing EntityAttributeInstance.
  • Updated resetPlayerSpeed method to use Identifier for retrieving and removing speed modifiers.

Full Changelog: https://github.com/MEGATREX4/pathspeed/compare/1.21_1.0.0...1.0.1_1.21-1.21.1

Dependencies

Files

pathspeed-1.0.1_1.21-1.21.1.jar(16.97 KiB) Primary Download

Project members

MEGATREX4

Member

Details

Licensed CC0-1.0
Published 5 months ago
Updated 2 months ago