How do you make a block only placeable on certain blocks?

Started by rotten2thec0re on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do you make a block only placeable on certain blocks?

How do I make blocks only placeable on certain other blocks? There are 2 things I am trying to make via procedures: 1. the block can only be placed on mycelium and podzol, 2. the block can only be placed on full blocks and will drop if the block below it is broken