Make a non gravity projectile on 2021.2

Started by a guy called l… on

Topic category: User side tutorials

Last seen on 23:35, 30. Oct 2023
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a non gravity projectile on 2021.2

I think it will be hard, but is realy easy

click CONTROL + F on the code of the proyectile, search entityarrow.setKnockbackStrength(knockback) and click ENTER to go

Below entityarrow.setKnockbackStrength(knockback) just write entityarrow.setNoGravity(true); and you proyectile will no have gravity

For evade lag, I put on

"proyectile tick update"

wait XX ticks on server side

Despawn immediate source entity target

 

Last seen on 18:26, 16. May 2022
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This worked like a charm!…
Wed, 03/16/2022 - 05:14

This worked like a charm! but when a mob fires it it still has gravity, so im guessing i have to tell something else to not have gravity too....

Last seen on 23:35, 30. Oct 2023
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you wanna the mob using…
Wed, 03/16/2022 - 13:19

If you wanna the mob using it without gravity, make it shot via procedures and not ranged attack, at least I make it work like that, mainly doing a bullet hell boss

Last seen on 05:05, 19. Apr 2024
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
set no-gravity of entity to …
Thu, 08/31/2023 - 11:43

set no-gravity of entity to [true]

can be found in the entity management section