Block flying upwards (Antigravity)?

Started by Yusufhum3 on

Topic category: Troubleshooting, bugs, and solutions

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?

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.

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?

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.

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