Posted August 11, 201411 yr I have a 1.7.10 mod in the works that is getting kind of complicated so I wanted to add an instruction book. I was looking at Tinkers Construct and saw that they used mantle. Am I allowed to use mantle and if so do I need permission? Also how do I produce my mod with it and do I just put the jar in my development environment and rebuild the environment? Any Help is appreciated!
August 12, 201411 yr Author Also will this help me complete my main goal? (Making an instruction book)
August 12, 201411 yr Are you talking about the Mantle mod stuff here: https://github.com/SlimeKnights/Mantle In that code they do it in a way that might be a bit complex for novice programmer. They created their own custom event called ManualOpen. Then they post that event to the event bus when certain items are right clicked, and they create the document from XML resource files using document builder tools that they post into custom GUI. Sounds really cool, but again it depends on your coding level. The simplest way is to actually create the document in some other tool (like Word or Google Docs) and then print the pages to images (need PNG format). Then you can make a custom GUI where it shows the pages (you can even show two pages like a real book) and then all you have to do is write code to flip the pages when the user clicks or presses arrow keys. I think that is simplest way to make a complicated document appear in your program. Check out my tutorials here: http://jabelarminecraft.blogspot.com/
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.