Bounding box mechanics

Started by DimaFsn on Fri, 07/09/2021 - 09:59

Topic category: Help with modding (Java Edition)

Last seen on 12:33, 11. Sep 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Bounding box mechanics
Fri, 07/09/2021 - 10:04 (edited)

MCreator Version: 2021.1

I am using the plugin to add Minecraft 1.12.2.

Incomprehensible mechanics of bounding box: default on max. coord 16, but if you start editing it - 1 block equals the number 1. In the game itself, by default, 1 block is 16 pixels. I want the bounding box to be 1 pixel high and 1 pixel less on all sides. Logically I did everything, but the bottom and right sides of the bounding box did not decrease by 1 pixel. Either I don't understand something, or the plugin is unfinished. Or maybe this is a global jamb of the program itself.

Bounding box settings: https://i.imgur.com/dKjKAHN.png

Result: https://i.imgur.com/IR1S3po.png


P.S. I don't know English, so I use a translator. Sorry for mistakes or incomprehensible words.

 
Edited by DimaFsn on Fri, 07/09/2021 - 10:04
Last seen on 12:33, 11. Sep 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
After some experimentation,…
Fri, 07/09/2021 - 12:23

After some experimentation, I realized that the problem was in the min. coordinates. They seem to have some kind of binding: put any number below the number 1, it will still be at position 0 in the game. And if 1+, then it stops working at all.

Last seen on 12:33, 11. Sep 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I made the decision to…
Sat, 07/10/2021 - 06:17

I made the decision to switch from this unfinished plugin to 1.16.5. Fortunately, everything is fine there and works without questions.