October 23, 201312 yr I have been having some problems well trying out IExtendedProperties it seems like when i call my ExtendedPlayerProperties i crash. this is the code and error log. Error Log: http://paste.minecraftforge.net/view/42e0c4d5 ExtendedProperties: http://paste.minecraftforge.net/view/73fa6d1c EntityConstructingEvent: http://paste.minecraftforge.net/view/231a7164 SpiritBase: http://paste.minecraftforge.net/view/d114c1ba Creator of Jobo's ModLoader If I helped you could you please click the thank you button and applaud my karma.
October 23, 201312 yr Your SpiritBase class requires a fully initialized EntityPlayer, but you are trying to access it from within the IExtendedEntityProperties constructor which is called during Entity construction, got it? You can't do that. Also, what are you thinking trying to access your extended properties from within SpiritBase, which is needed to initialize your extended properties? Get rid of all of that stuff and come up with a better way to initialize your variables. IExtendedEntityProperties already has an entity, in this case an EntityPlayer, and you're in the class already, so why not initialize them there? At the very least, make your SpiritBase class not require an EntityPlayer (or entity of any sort) and just make it a class that stores and handles things to do with mana. http://i.imgur.com/NdrFdld.png[/img]
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.