Topic category: User side tutorials
I got tired of calculating the wrong cords and decided to make a chart for my self I thought I would share it so the community could have the same tools like me. Below is a chart for calculating the hitbox or Block dimensions settings you need to offset to reach a particular pixel. You can find the information that I have based this chart off of on the official Minecraft Wiki page here
How to use
To offset the sides of a block so that they are exactly 2 blocks in from the full block or (12x16x12) what you want to do is look at the chart below and search for the pixel number you want to offset on one side then use the MCreator values, the Minecraft values show the full measurement what the actual pixel is, however, MCreator only uses up to three decimals so use the MCreator value instead.
By the way, the offset for 12x16x12 is below.
Min X = 0.062
Min Y = 0.0
Min Z = 0.062
Max X = 0.875
Max Y = 1.0
Max Z = 0.875
Sizes for Minimum Coordinates
Pixels | MCreator | Minecraft |
---|---|---|
1 | 0.062 | 0.0625 |
2 | 0.125 | 0.125 |
3 | 0.187 | 0.1875 |
4 | 0.25 | 0.25 |
5 | 0.312 | 0.3125 |
6 | 0.375 | 0.375 |
7 | 0.437 | 0.4375 |
8 | 0.5 | 0.5 |
9 | 0.562 | 0.5625 |
10 | 0.625 | 0.625 |
11 | 0.687 | 0.6875 |
12 | 0.75 | 0.75 |
13 | 0.812 | 0.8125 |
14 | 0.875 | 0.875 |
15 | 0.937 | 0.9375 |
16 | 1.0 | 1.0 |
Sizes for Maximum Coordinates
Pixels | MCreator | Minecraft |
---|---|---|
1 | 0.937 | 0.9375 |
2 | 0.875 | 0.875 |
3 | 0.812 | 0.8125 |
4 | 0.75 | 0.75 |
5 | 0.687 | 0.6875 |
6 | 0.625 | 0.625 |
7 | 0.562 | 0.5625 |
8 | 0.5 | 0.5 |
9 | 0.437 | 0.4375 |
10 | 0.375 | 0.375 |
11 | 0.312 | 0.3125 |
12 | 0.25 | 0.25 |
13 | 0.187 | 0.1875 |
14 | 0.125 | 0.125 |
15 | 0.062 | 0.0625 |
16 | 0.0 | 0.0 |
Nice and useful topic. As a wiki contributor, you can make a wiki page for this too if you have time :)
I will work on that :)
The page is made. If you would like to look it over the page is here https://mcreator.net/wiki/block-dimensions-and-bonding-box
Thank you very much! I have added a link from block creation page too.
Glad I could help a few more people :)
I link to this wiki page quite a lot recently :D