3D Block that's bigger than boundary?

Started by Molonko on

Topic category: Help with modding (Java Edition)

Last seen on 19:08, 3. Jun 2024
Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
3D Block that's bigger than boundary?

I'm trying to import a model of a block from blockbench, that has parts that slightly exceed the size of a block. How can I do this without having it be an entity? So far, trying with .json and .obj models either shows only a part of it with .obj or just the purple, black pattern with .json model.

Last seen on 16:01, 16. Jun 2024
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Did you click generate…
Thu, 05/23/2024 - 22:25

Did you click generate bounding boxes from model?
I've experimented with larger than 16 custom blocks, they show up ok in game but the problem is Minecraft doesn't think there is a block outside of its bounding box, so it will be able to be placed blocks inside of it which causes glitchy rendering.
You can either make 2 blocks about the size of a 16 and piece them together with directional procedures when block is placed, and also when destroyed to destroy the neighbor block(better way to do it). Or you can place a barrier block block where the other section sticks out also directionally. (But then in creative mode you can break that barrier block and you cant trigger procedures for that block specifically I don't think) 

Hope this helps.