Jump to content

Tedstar

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Tedstar

  1. This is like one of three mods that I've made, the other two having been spread out for the past two years (for like one day each) so I'm still really new to modding; sorry if it's terrible or follows bad tutorials. The 'dev' packages are the mod I'm using to test stuff, the 'lib' packages are internal, and the 'mgt' packages are the usable library (although not usable yet because I've hardly written any of it haha). Alright cool, that's what I've done so far. I'm so excited for Java 9!
  2. So I'm creating a kind of API or library to make GUI creation easier.. and I'd like some advice for my package setup. The thing is, I have internal classes that relate the library classes to the basic Minecraft ones. I want them to be strongly discouraged/inaccessible to mods which use my library. Right now my setup is to have a separate package with a different naming scheme that contains all internal components. The nice part about this is that it differentiates the classes when imported. I will know if an import is internal and it would also be more apparent to modders because of the package name. The problem, however, is that since they are in a separate package from the API classes, these transformation classes need to be public. The other alternative, which I thought of to fix this problem, is to include the transformation classes in the same package as the API implementation. That way I could make them package private and therefore inaccessible to other mods. But I didn't want them to be mixed in with the API. Any thoughts on what would be a better setup, or is there a way which I haven't considered? Thanks for any input.
  3. Basically, I was going to add a new section to the server list GUI, which would contain its own buttons. It would also involve the listed servers changing depending on which button was clicked (but I probably won't do that until after I get other stuff working). If you want a basic layout of the panes I would be adding, I created this mark-up in Paint. Those are the resulting additions I was planning on making. The buttons would be listed inside of those. (And yes those are the pre-tiled textures) On a side note: Is there any way to use a mod to bump up the default resolution with which the client launches? In order for the servers to fit, it needs to launch with a slightly bigger resolution (960 x 540).
  4. This is my first post on the Forge website! Please note that I have absolutely 0 experience with Forge, but I do know Java. I was curious if anybody knows any good tutorials, or can explain to me, how to change and add to menu GUIs. I was mainly thinking of the singleplayer and multiplayer menus that list worlds/servers.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.