Place block when right clicked with item?

Started by Aksumite on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Place block when right clicked with item?

I have had this problem multiple times, and it is really annoying. For example, if I am making a door, vanilla doors use item textures instead of a 3D model in the GUI. That means you have to make a separate item and block, and even then it still doesn't work completely. You can right click the side of the block and it will still place on top. Is there a better way to do this?

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That means you have to make…
Thu, 06/04/2020 - 14:21

That means you have to make a separate item and block, and even then it still doesn't work completely.

Why create a separate block and item. Blocks are used in conjunction with BlockItem. You can give BlockItem a different texture.

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I didn't know this was even…
Thu, 06/04/2020 - 21:39

I didn't know this was even possible! How do you do that, it sounds incredibly helpful

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When creating blocks, you…
Thu, 06/04/2020 - 21:43

When creating blocks, you create a block model and item model. Now by default in MCreator, I believe the item model is the block model. However, in the JSON you can change the item model to be of your texture.