How to place and item as if it were a block?

Started by victorscott on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to place and item as if it were a block?

There are technically two things but... 

1. I have an item model of a cabinet. 
How could I place this as if it were a block. So right click, place in cardinal direction. 
I have tried [when right click > if/do > has event target in inventory >place (X) at x,y+1,z > remove 1 (x) from event/target main inventory. I cannot get my custom item to show up in the "place (X) at..." module.

2. Or, how can I make the initial block itself, be larger than the constraints of the block properties and textures. 
I have sen it done in various mods with workbenches and such, but I am unsure how to achieve this with the given options. 

Looking for anything that could steer me in the right direction, please & thank you. 

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Update for anyone who runs…
Mon, 02/10/2025 - 14:17

Update for anyone who runs into this issue:
Items can't be placed like that, as well blocks cannot override the initial constraints of the block. The items would have to be split into separate blocks that are called and placed when the first block is placed.