Started by
FireWorks_CreepeR
on
Topic category: Help with Minecraft modding (Java Edition)
Hi! If you are making a mob which has a custom model you are having probably the same error as me! If you open the mod element and change the bounding box dimensions they get back to normal (0,6x1,8). There's a easy way to fix that! To make a custom bounding box you just need to do 4 easy steps:
1. Select your mob and click the "Edit code" button.
2. Lock the code and open it.
3. In the line "setSize(0.6f, 1.8f);" write your custom dimensions instead of 0.6 and 1.8 (they're width and height respectively).
4. Save the code and build.
Done! Now you'll have the bounding box dimensions you wanted to have!
This bug will be fixed in 1.9.1, but a nice workaround.
Yeah, that was pretty easy to fix and I decided to make a forum topic in the case if any user will need it (I guess it wont happen XD)
Step one and I'm already confused (Wow I suck).
How do you get to the "Edit Code" button?
Ok so I figured out how to lock and edit the code, but the 0.6f and 1.8f were what I wanted. I saved and tested it but it was still small, so I went back and unlocked it and it was 0.6f and 1.8f again!