Bounding box is problem.

Started by Genom99 on

Topic category: Help with Minecraft modding (Java Edition)

Active 7 months ago
Joined Feb 2018
Points:
719

User statistics:

  • Modifications: 0
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 10
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)
   ;

Active 7 months ago
Joined Feb 2018
Points:
719

User statistics:

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

I use version 2021.1 forge 1.12.2