Posted May 22, 201411 yr https://github.com/Parker8283/IguanaTweaks/blob/master/src/main/java/iguanaman/iguanatweaks/IguanaEventHook.java#L379-L438 It could just be my code, but the text added here flickers. I don't know why. It seems that it should just be added to the ArrayLists, unless I'm missing something. EDIT: As reference, here's a video:
May 22, 201411 yr Forgot how to fix it, I know there's a way though. What is happening is that it is resetting per tick. In other words, being removed then rendered again.
May 23, 201411 yr Author Hey, I didn't write this. I just updated it to 1.7 so that it didn't die. I'll definitely look into that Interface. I'm still getting acquainted with how all the code works. Does it have to do with my Tick Handler maybe?
May 23, 201411 yr Author Well, in 1.6.4 (when it was ITickHandler and not events), it had this: https://github.com/iguanaman/IguanaTweaks/blob/master/src/iguanaman/iguanatweaks/IguanaTickHandler.java#L83-L86 Which I assume means that this tick handler is for client side only(?) I guess I've got to being rewriting the entity data collection and storage using the interface you talked about earlier. However, does it do what I need it to do? I need it to store data about each individual entity in the world, and it appears that this needs to be attached to an entity class. Also, I needed RenderTickUpdate because I'm manipulating the tick rate with a config setting (https://github.com/Parker8283/IguanaTweaks/blob/master/src/main/java/iguanaman/iguanatweaks/IguanaTickHandler.java#L45)
May 23, 201411 yr Author Ok, so now I'm really confused. I need to manipulate the tick rate, so I would use RenderTickEvent, but that needs to manipulate the entityDataMap, so I would use what?... Also, so I just create a class that implements the IExtendedEntityProperties, add the function to the methods that I need, then attach them how in the EntityConstructing event?
May 23, 201411 yr Author Well, I hope that the IExtendedEntityProperties solves the need to figure out how to use the entityDataMap. What I meant was that I'm manipulating "How often the speed of entities are calculated (in ticks)."
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.