PLEASE HELP: how would I make block break if the block under it isn't a specific block

Started by modbroz on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
PLEASE HELP: how would I make block break if the block under it isn't a specific block

How would I make block break if the block under it isn't a specific block

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Someone please help mee
Sat, 11/08/2025 - 21:11

Someone please help mee

Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Some features such as this…
Sun, 11/09/2025 - 04:05

Some features such as this can be done with block procedures.
Tags may be needed if you're using multiple different blocks under it.

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
use this return true when…
Sun, 11/09/2025 - 10:16

use this

return true when it can be placed, and false when not

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
but how would I make the…
Sun, 11/09/2025 - 13:10

but how would I make the procedure for if a block isn't under a grass block it can't be placed there

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if you actually meant the…
Sun, 11/09/2025 - 22:14

if you actually meant the block being under the grass it'd be this,