How to make previously Unplaceable blocks placeable?

Started by Xx_Develater24_xX on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make previously Unplaceable blocks placeable?

So I've recently been working on a mod that lets you obtain and break illegal blocks in Survival such as: Command Blocks, Structure Blocks, etc. And I was stumped. I made the way to obtain the blocks, but now I need help knowing how to make unbreakable and unplaceable blocks placeable and breakable. Do you have any tips, suggestions, or even ways to do this?

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It is possible if you make…
Mon, 07/21/2025 - 18:49

It is possible if you make and item that when you right click with it on a block pos, it will place the illegal block. The illegal blocks have no item form, because they are some really weird like Piston Head that don't have a purpose, but they are funny and cool. 

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I recently remembered that…
Mon, 07/21/2025 - 19:16

I recently remembered that there is even easy way to do it. Just make a block with the texture of the illegal block you want to make like a real block, then go in Procedures -> When block placed and click Add new procedure. In the procedure drag the block - Replace block with {block} and replace the block with example; Portal Block.