Block flying upwards (Antigravity)?

Started by Yusufhum3 on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 15:54, 6. Jun 2023
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Block flying upwards (Antigravity)?

Is there a way to make a block have gravity but not fall down if theres air underneath him but float upwards when theres air above him?

Last seen on 21:01, 7. Aug 2023
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could do check block…
Thu, 01/23/2020 - 21:47

You could do check block above if air remove block at x y and z and place block at x 1, y and z or you could make a block model and make it an entity with the levitation effect and when it hits a block despawn entity and place block at x y and z.

Last seen on 15:54, 6. Jun 2023
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok thx ill try this with…
Sat, 01/25/2020 - 06:37

ok thx ill try this with Entity but do you know how to make the Entity like static so it cant be knockbacked by Player or explosions or simply stay on its own y coordinate without changing x,z?

Last seen on 21:01, 7. Aug 2023
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The best you could do is…
Mon, 02/03/2020 - 17:32

The best you could do is disable hitbox and make it immune to most forms of damage but i dont know any ways around explosion damage.

Last seen on 16:31, 21. Feb 2020
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can give it resictans 255
Mon, 02/03/2020 - 17:42

you can give it resictans 255