Posted April 29, 20169 yr My Setblockbounds didin't work i need help too quickly!!!! My SetblockBounds Code: public void setBlockBoundsBasedOnState(IBlockAccess blockAccess, BlockPos pos) { setBlockBoundsBasedOnState(0.0F, 0.0F, 0.0F, 1.0F, 0.001F, 1.0F); } Developing Kodev Minecraft Hardcore Mod! If You're Wondering, My Mod Page. http://minecraft.curseforge.com/projects/minecraft-hardcore-mod
April 29, 20169 yr Create a static final AxisAlignedBB field with the block's bounds and override Block#getBoundingBox to return it. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
April 29, 20169 yr Author I don't understand sorry how to do, you explain pls ? Developing Kodev Minecraft Hardcore Mod! If You're Wondering, My Mod Page. http://minecraft.curseforge.com/projects/minecraft-hardcore-mod
April 29, 20169 yr Look at how BlockSapling or BlockDaylightDetector override Block#getBoundingBox . Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
April 29, 20169 yr Author Thank You Sooooooooo Much.... I fix it Developing Kodev Minecraft Hardcore Mod! If You're Wondering, My Mod Page. http://minecraft.curseforge.com/projects/minecraft-hardcore-mod
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.