Place block when right clicked with item?

Started by Aksumite on Thu, 06/04/2020 - 02:57

Topic category: Help with modding (Java Edition)

Last seen on 01:21, 23. Aug 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Place block when right clicked with item?
Thu, 06/04/2020 - 02:57

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?

Last seen on 04:35, 17. Jan 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 01:21, 23. Aug 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 04:35, 17. Jan 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 01:21, 23. Aug 2020
Joined May 2020
Points:

User statistics:

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

Alright, thanks :D