Posted January 30, 201510 yr Relevant code [1] [2] Evidence that the transformation was done successfully (playerData field) Basically how do I resolve this so that I can build again and/or my IDE stops throwing up warnings (I think I mind need to edit a local copy of one of the sources)
January 30, 201510 yr Author I figured out I could edit mc source distributed with forge however in doing so that will break travis.ci I am sure there has to be a proper way to do this, any ideas?
January 30, 201510 yr Author Oh god... what are you doing... IExtendedEntityProperties exists exactly for this purpose: it allows to "add fields" to any entity without base edits. IExtendedEntityProperties doesn't quite do what I want and besides this is just a proof of concept. Basically what I want to do is store a single field on: Players, All Entity's of a type, All Item's of a type and All Block's of a type. The Players field is already done and works really well outside of needing to edit the source.
January 30, 201510 yr Author I already have map's but I don't like how it works. This isn't really for 'shits n giggles' rather its to start me out on learning ASM as well as reworking existing code to something I am happy with.
January 30, 201510 yr Author While it works I really don't like having to lookup that information, especially when I know it can be stored within the object itself.
January 31, 201510 yr Author I suspect I need to shelve this for now, it doesn't look like this is possible without some reflection.
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.