Posted May 20, 201312 yr I've made a block with a custom model that's bigger than 16x16x16 but the bounding boxes are larger than 16c16x16? How can i extend the bounding boxes? And i also would like to now how to make a icon for the block when its in your inventory. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
May 20, 201312 yr If the model is bigger than 16x16x16 you should probably use a tile entity. As for the icon, you'll need to specify how to do item rendering. There's a function for it, but I don't recall what it's name is. 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.
May 20, 201312 yr Author I have a TileEntity class and if i use the this.setBlockBounds() method in the constructor the bounding lines are drawed but you can go trough it. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
May 20, 201312 yr On 5/20/2013 at 2:15 PM, larsgerrits said: I have a TileEntity class and if i use the this.setBlockBounds() method in the constructor the bounding lines are drawed but you can go trough it. BoundingBox != CollisionBox getCollisionBoundingBoxFromPool is the function you need to prevent the player from walking through it. 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.
May 20, 201312 yr Author On 5/20/2013 at 2:33 PM, Draco18s said: Quote I have a TileEntity class and if i use the this.setBlockBounds() method in the constructor the bounding lines are drawed but you can go trough it. BoundingBox != CollisionBox getCollisionBoundingBoxFromPool is the function you need to prevent the player from walking through it. And how would i use the getCollisionBoundingBoxFromPool method? And do you know anything about a icon for if the block is in your inventory? Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
May 20, 201312 yr On 5/20/2013 at 2:42 PM, larsgerrits said: And how would i use the getCollisionBoundingBoxFromPool method? And do you know anything about a icon for if the block is in your inventory? Look up blocks like the fence. As for the icon, I know it's handled by the render ID. Which means if you're using a custom renderer, there's probably a function you need in there. There's also setBlockBoundsForItemRender, which is used for blocks which have their bounds set by metadata so that when its in the inventory, it uses a fixed value (rather than the last metadata used in the world) 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.
May 21, 201312 yr Author I never used blocks that where larger then 16x16x16. Can you give me the method that i can use or some more detailed information on the method? Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
May 21, 201312 yr On 5/21/2013 at 3:40 PM, larsgerrits said: I never used blocks that where larger then 16x16x16. Can you give me the method that i can use or some more detailed information on the method? Think of a vanilla block that's larger than one block, peek at its class code. 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.
May 22, 201312 yr Author On 5/21/2013 at 8:36 PM, Draco18s said: Quote I never used blocks that where larger then 16x16x16. Can you give me the method that i can use or some more detailed information on the method? Think of a vanilla block that's larger than one block, peek at its class code. Are there any vanilla blocks that are larger than one block? If so, which? Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
May 23, 201312 yr Author Anyone? Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
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.