Bounding box is problem.

Started by Genom99 on

Topic category: Help with modding (Java Edition)

Last seen on 20:47, 4. Mar 2024
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Bounding box is problem.

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)
   ;

Last seen on 20:47, 4. Mar 2024
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I use version 2021.1 forge 1…
Wed, 01/11/2023 - 12:45

I use version 2021.1 forge 1.12.2