Posted June 23, 201510 yr Hi, since the subject completely changed from my first thread (http://www.minecraftforge.net/forum/index.php/topic,31184.0.html), I decided to make a new one. I followed the SmartblcokModel example from TheGreyGhost (https://github.com/TheGreyGhost/MinecraftByExample/tree/master/src/main/java/minecraftbyexample/mbe05_block_smartblockmodel2) but at first, I couldn't get it to work. I had fixed all error messages, but my block was still missing the texture; since I had no error messages anymore, I was helpless. The next day, I just started up eclipse, and added a console print somewhere, to find errors, and when I started up the game, my texture was there! I don't know why, but it suddenly worked. Problem is now, I have 8 model files, and a different one should load depending on where you click. However, it always loads the same one. Worse, it loads it from somewhere I don't know, because I even removed all the model files from my resources folder, but in the game the texture still loads. How is that possible? This probably explains why it wasn't working yesterday, and now, without a change, it does. Is there something that has to be refreshed after changing model files, before starting up the game? My first Mod: http://www.curse.com/mc-mods/minecraft/231302-adamantium-mod-better-than-diamonds#
June 23, 201510 yr You probably had to refresh your project in Eclipse to make Eclipse aware of the changes and actually make MC aware not to load the assets. 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/
June 23, 201510 yr Author Thanks, that was it! I didn't know you had to do this... now I've probably wasted hours and hours while it was working the whole time Another quick question, what are the differences between: (in the Block class) setBlockBounds() getSelectedBoundingBox() addCollisionBoxesToList() getCollisionBoundingBox() setBlockBoundsBasedOnState() And maybe other similar methods? What I need is a method to set the blocks hitbox, but depending on its state, which is an extendedState. Thanks in advance! My first Mod: http://www.curse.com/mc-mods/minecraft/231302-adamantium-mod-better-than-diamonds#
June 23, 201510 yr Author Yeah, I kind of meant the bounding box and the collision box at the same time, because for my block they should be the same. Thanks My first Mod: http://www.curse.com/mc-mods/minecraft/231302-adamantium-mod-better-than-diamonds#
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.