Effect that auto places blocks under the players feet

Started by AliTheBreadLemon on

Topic category: Help with modding (Java Edition)

Last seen on 15:21, 17. Apr 2022
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Effect that auto places blocks under the players feet

I want to make a status effect (enchantment if effects like this aren't possible) that automatically places blocks under the player's feet unless there is already a block under the player. How do I do this?

Last seen on 15:19, 30. Dec 2022
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
See pictures below: Create a…
Fri, 05/14/2021 - 16:59

See pictures below: Create a procedure that checks for air block underneath player, and if so creates a block. Then make "on potion tick active" select that procedure.

P.S. You might want want to add cave air too, a simple or function would work there
(if air OR cave air below, create diamond block below)

12