Help me with block collision

Started by reeves on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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
Joined Jan 2020
Points:

User statistics:

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

Joined Aug 2020
Points:

User statistics:

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

Thx