Topic category: Help with Minecraft modding (Java Edition)
help! this is how the bounding box is generated, but it gives an error, what is the problem.
return
new AxisAlignedBB(0, 0.375, 0.5, 1, 0.5, 1)
new AxisAlignedBB(0.6875, 0, 0.875, 0.8125, 0.375, 1)
new AxisAlignedBB(0.1875, 0, 0.875, 0.3125, 0.375, 1)
new AxisAlignedBB(0.6875, 0.375, 0.375, 0.8125, 0.875, 0.5)
new AxisAlignedBB(0.1875, 0.375, 0.375, 0.3125, 0.875, 0.5)
new AxisAlignedBB(0, 0.875, 0, 1, 1, 0.5)
;
case NORTH:
return
new AxisAlignedBB(0, 0.375, 0, 1, 0.5, 0.5)
new AxisAlignedBB(0.1875, 0, 0, 0.3125, 0.375, 0.125)
new AxisAlignedBB(0.6875, 0, 0, 0.8125, 0.375, 0.125)
new AxisAlignedBB(0.1875, 0.375, 0.5, 0.3125, 0.875, 0.625)
new AxisAlignedBB(0.6875, 0.375, 0.5, 0.8125, 0.875, 0.625)
new AxisAlignedBB(0, 0.875, 0.5, 1, 1, 1)
;
case EAST:
return
new AxisAlignedBB(0.5, 0.375, 0, 1, 0.5, 1)
new AxisAlignedBB(0.875, 0, 0.1875, 1, 0.375, 0.3125)
new AxisAlignedBB(0.875, 0, 0.6875, 1, 0.375, 0.8125)
new AxisAlignedBB(0.375, 0.375, 0.1875, 0.5, 0.875, 0.3125)
new AxisAlignedBB(0.375, 0.375, 0.6875, 0.5, 0.875, 0.8125)
new AxisAlignedBB(0, 0.875, 0, 0.5, 1, 1)
;
case WEST:
return
new AxisAlignedBB(0, 0.375, 0, 0.5, 0.5, 1)
new AxisAlignedBB(0, 0, 0.6875, 0.125, 0.375, 0.8125)
new AxisAlignedBB(0, 0, 0.1875, 0.125, 0.375, 0.3125)
new AxisAlignedBB(0.5, 0.375, 0.6875, 0.625, 0.875, 0.8125)
new AxisAlignedBB(0.5, 0.375, 0.1875, 0.625, 0.875, 0.3125)
new AxisAlignedBB(0.5, 0.875, 0, 1, 1, 1)
;
I use version 2021.1 forge 1.12.2