how to make it so that the player can not place block in the air

Started by Werem on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to make it so that the player can not place block in the air
Sun, 02/20/2022 - 19:45 (edited)

Hello! I need help with my procedure, I need to make it so that the player cannot place block when he is in the air, but when he is on the ground, he can do it. Thanks for attention!

Edited by Werem on Sun, 02/20/2022 - 19:45
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When I try place a block on…
Sun, 02/20/2022 - 20:43

When I try place a block on the ground, it immediately disappears.

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe it's impossible?
Mon, 02/21/2022 - 15:42

Maybe it's impossible?

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
its posibble lol  
Mon, 02/21/2022 - 22:46

its posibble lol

 

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If it's possible then tell…
Tue, 02/22/2022 - 16:50

If it's possible then tell me how