Place block when right clicked with item?

Started by Aksumite on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined May 2020
Points:
740

User statistics:

  • Modifications: 0
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 42
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?

Active 4 years ago
Joined Sep 2019
Points:
975

User statistics:

  • Modifications: 1
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 507
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.

Active 4 years ago
Joined May 2020
Points:
740

User statistics:

  • Modifications: 0
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 42
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

Active 4 years ago
Joined Sep 2019
Points:
975

User statistics:

  • Modifications: 1
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 507
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.

Active 4 years ago
Joined May 2020
Points:
740

User statistics:

  • Modifications: 0
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 42
Alright, thanks :D
Thu, 06/04/2020 - 21:44

Alright, thanks :D