Bug Closed · Resolved

negative gravity for projectile stopped working

#5974 opened by Unknown 1 year ago

Unknownreported this bug

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

Unknowncommented

Hi, I have also encountered this problem. When gravity is set to a negative value, it does not work. I’ve noticed this issue in the latest versions, and as a result, all skills with negative gravity values are broken. As the creator of the post mentioned, gravity works fine when set to 0 or a positive value, but it fails with negative values. Could you please fix this issue?

Sign in to join the discussion.