Hi all
I have created a TileEntity with a TESR, similar to an Aura node from Thaumcraft, but with the big difference being it has no need for meta or NBT data. At the moment it has a small 15 frame animation rendered onto a facing quad, and this is where the problem comes in. All of them render the same frame at the same time, and I would like to offset their animations somehow. Is there some sort of unique/per-TE ID I can use? If so, how do I access it?
First related question: I would also like some input on how heavily TE's with TESRs might impact performance. This TE does no processing, contains no data, its basically just a decorative block, however I would expect several thousand to be spawned or places throughout a server. Would this be a problem? Assuming, of course, that my rendering code is not the code equivalent of a dumpster fire.
Second related question, in the Block class for the above-mentioned TileEntity, I setAir to true, as I do not want my entities interfering with any multiblocks or other things I havent thought of yet. However when I setAir to true, I am no longer able to break them. How do I deal with this?
Third question, also in the above mentioned block class, I have isOpaqueBlock returning false, I did this because leaving it as true creates 'windows' through which you can see 'into' the world. However the function is deprecated, and I am having a hard time figuring out what it should be replaced with?
Fourth question, much like the previous one, getBoundingBox is also deprecated, what should THAT be replaced with?
Thanks for your help