Posted February 25, 20169 yr In my mod I have a TileEntity which doesn't really need to be ticked. On that TE I am just setting a boolean from another TE's code to change the texture on the corresponding block. The TE also has to save this boolean to NBT. Can I just return false in canUpdate, would it break the NBT things and the texture update or does this not have reasonable impact on performance if the TE isn't doing anything on it's own?
February 25, 20169 yr I know that it can't be changed dynamically but would returning false have an impact on the wanted behaviour? Would it have any benefits in performance, even if the TE is not doing anything on it's own?
February 25, 20169 yr Why do you need a TE if all it is for is to change the block's metadata? 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.
February 26, 20169 yr @Draco18s The mentioned block is one of 15 metadata based subblocks, I can't use metadata to change the texture. The method getTexture checks a boolean in the TE and the method to set the boolean calls markBlockForUpdate. The texture change works properly.
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.