Posted December 28, 201311 yr I have created a mod that adds a drill to Minecraft, it drills a ore when it is placed under it but if there are two or more drills in view and one of them has the ore under it then they all run the animation or just the drill head spins, I want them to do it individually only when they have the ore under them so if some one can look at my code and point me in the right direction that would be great I have put it on github for convenience(my code is quite clunky and I know I haven't done things the best way but it works). https://github.com/Bantasaurusrex/DrillMod I made a video showing my problem. This might help you understand what I am saying. http://www.youtube.com/watch?v=XcL-i7G8axw&feature=youtu.be
December 28, 201311 yr Mmm~ Static properties. <3 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.
December 28, 201311 yr He's telling you that the TileEntitySpecialRenderer is static, so all your TileEntitySpecialRenderers are the same. 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/
December 28, 201311 yr He's telling you that the TileEntitySpecialRenderer is static, so all your TileEntitySpecialRenderers are the same. Specifically the TESR's model is static. He's creating a new TESR every time, as expected, and each time it's created it creates a new model, as expected, but the variable holding that reference is static. 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.
December 29, 201311 yr Author I tried making it non-static but they still do the same thing even though one has the block under it, I haven't had this problem before and I don't know where I have gone wrong.
December 29, 201311 yr Can't help you without seeing the new 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.
December 30, 201311 yr Author Ok I have updated the git, I changed the model reference in my renderer to non-static I think that is what you meant right?
December 30, 201311 yr That should work. 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.
December 30, 201311 yr Author I still have the problem, I made a video on what happens don't know if you have looked at it or it will help you? but when I place the second block it resets the first drill and then takes on it render state.
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.