Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 132
    • Issues 132
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #615

Closed
Open
Created Nov 01, 2021 by Hivane@Hivane

Unable to edit the projectile's gravity through the 'modifyProjectile' mechanic

Summary Hi, I've been trying to use the modifyProjectile mechanic, and I noticed that it doesn't work if you set the Gravity as trait. I've been trying this projectile mechanic (It's basically the one from the wiki, but instead of VELOCITY, I've set GRAVITY): https://pastebin.com/EdrRT8bx I've tested it with both the 'mm test cast' command and with an item with the 'onUse' trigger

Those are the plugin's build version and MC version I used while testing the mechanic:

  • Current Mythicmobs build: 011c49ad (or build number 3843 from the website)
  • Using 1.17.1 MC version

Describe the bug encountered in detail.

The modifyProjectile mechanic doesn't currently work if you set the gravity as the trait to consider; This bug seem to involve the gravity only since the mechanic works if you want to modify the velocity of your projectile.

Steps to reproduce

Provide a full set of steps used to reproduce the bug, including links to SEPARATE Pastebin pastes for each relevant configuration file.

Current behavior

The modifyProjectile mechanic doesn't do anything if you want to modify the projectile's gravity

Intended correct behavior

The mechanic should work if you want to modify the projectile's gravity

Debug log snippet

Doesn't give any error upon casting the skill containing the mechanic (just in case, here is the debug log of the mechanic: https://pastebin.com/TEsGU0Y7 )

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking