An API or Utility Methods to speed up development /make it easier?
Quirkylee opened this issue ยท 8 comments
I was attempting to wrap my head around adding of stuff to the mod. I noticed that it takes a lot of work and repetitive coding so I thought to ask if you wouldn't mind if I attempt to make like an registerItem() or registerEntity() method to simplify the process? Not sure of any other features but it could have potential to modularize adding stuff into the mod. if we did it with an abstract class approach to it. maybe the abstract class will handle events as well.
I am using an API its forge. It has register item methods and register entity methods.
not sure what another layer would add other than complexity.
just thought instead of added stuff in multiple places it will just be one line of code to do all that.
Thanks for getting back to me on this idea.
but it really needs to be in different places. Example you register an item then later on the client only ( not the server) you need to register the render for that item.
if they were both added into a single method then we'd have no way of ensuring that its called at the proper time & on the proper side. (client , server or both)
I'd say its worth it. If you haven't sorted it out by the time i'm streaming again next. just let me know and i'll show it to you. & try to walk you thru setting it up
I might catch you later as I am about to go to work. I will be home around 9pm if I don't stay longer to catch up the sales floor. I usually don't need to so that though.
Oh and thanks for telling me what mylyn is ... eclipse has an addon you can get that adds a github mylyn connector so you can see the issues inside eclipse :D as a task list. I've been using it today and it seems like a nice to have.. it popped up on my screen that there was new comments on this issue :)