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
  • #1775

Closed
Open
Created Nov 18, 2024 by xlsalvolx@xlsalvolx

negative gravity for projectile stopped working

Hello, it looks like negative gravity for projectiles stopped working in latest dev builds after the fixes dev builds that came out recently

here is an item to test this out

testsword:
  Id: netherite_sword
  Display: '&4&ltestsword'
  Lore: 
  - '&5&oTest bruh'
  - '&7&oRight click to cast a negative gravity projectile'
  Skills:
  - skill{s=gravityprojtest} ~onUse

gravityprojtest:
  Skills:
  - projectile{onTick=gravityprojtestTick;v=0;i=1;hR=1;vR=1;StopAtBlock=true;g=-0.4;vO=0;sfo=0;fo=true;maxDuration=90;type=METEOR;StartYOffset=0.1} @origin
  - effect:sound{s=item.flintandsteel.use;v=1;p=1.3} @self

gravityprojtestTick:
  Skills:
  - effect:particles{p=soul_fire_flame;a=1;y=0;speed=0;hs=0;vs=0} @origin

can you guys check on this? i tried every possible combination of velocity and gravity but looks like negative gravity is just gone which is a huge problem for many projectile skills... (weirdly enough, putting velocity on 0 and positive gravity works like a charm but negative? nope)

mm dev build 5231 crucible dev build 3922 minecraft 1.20.4

Edited Nov 18, 2024 by xlsalvolx
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking