Started by
Yusufhum3
on
Topic category: Troubleshooting, bugs, and solutions
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?
Topic category: Troubleshooting, bugs, and solutions
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?
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.
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?
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.
you can give it resictans 255