Valid placement condition similar to pressure plate.

Started by Invader_Pickman on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Valid placement condition similar to pressure plate.
Thu, 08/03/2023 - 22:26 (edited)

Hi, I recently created a block for a minecraft mod in development. This block is a trilobite fossil. I need this block to mimic the placement behavior as a pressure plate with the intention that this decorative block can only be placed on a common solid block, it cannot be placed on a "Trilobite Fossil" itself. In addition to the fact that when the block on which it is placed breaks, the fossil will also break.

 

Edited by Invader_Pickman on Thu, 08/03/2023 - 22:26
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can do this with the …
Thu, 08/03/2023 - 22:31

You can do this with the "block valid placement condtion" located under the "advanced properties" tab.

 

Set up a condition like "if block at y-1 is solid - and block at y-1 not Trilobite Fossil" then return true, else return false