Posted February 8, 201312 yr I recently made a new block that takes up a 3x3x3 block area and was wondering if anyone could help me change the collision and bounding boxes of it. It uses a custom model that is in a unique shape. https://dl.dropbox.com/u/87762025/2013-02-07_20.38.36.png[/img]
February 8, 201312 yr private void setBounds() { this.setBlockBounds(float, float, float, float, float, float); } Edit:Almost forgot in your block call the method Creator of Jobo's ModLoader If I helped you could you please click the thank you button and applaud my karma.
February 8, 201312 yr i dont know exactly how it works but for a 3x3x3 cube this should suffice this.setBlockBounds(0F, 0F, 0F, 3.0F, 3.0F, 3.0F); Creator of Jobo's ModLoader If I helped you could you please click the thank you button and applaud my karma.
February 8, 201312 yr Author thanks. that helped. but I still need to set up the collision boundaries and maybe make the black outline appear when your looking at any part of the model, and not just the block itself.
January 2, 201411 yr hi, i'm trying to do exactly the same (3x3x3 cube that shows bounding box and has collision) so if anyone can help this would also help me
January 2, 201411 yr Just FYI: Minecraft does not like bounding boxes and collision hulls that are larger than 1 full cube. You'll find very strange quirks when you do set things up that way Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.