Help me with block collision

Started by reeves on Mon, 08/10/2020 - 19:26

Topic category: Help with modding (Java Edition)

Last seen on 07:53, 26. Dec 2020
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Help me with block collision
Mon, 08/10/2020 - 19:26 (edited)

Hello guys, i need your help!

I created a custom block (1x2) with hitbox (1x2x1) and when i added it, second block doesn't have collision and I can pass through it. What can I do?

Edited by reeves on Mon, 08/10/2020 - 19:26
Last seen on 22:49, 17. Mar 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Block bounding boxes can't…
Thu, 08/13/2020 - 13:46

Block bounding boxes can't be bigger than one block in any direction. You'd need two blocks, one for the bottom and one for the top (this is how Minecraft does stuff like beds and doors).

Last seen on 07:53, 26. Dec 2020
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thx
Fri, 08/14/2020 - 12:31

Thx