Hello All,
I am currently writing my new mod, and to help me in the build process I would like to know how I can link the revision build number (Major.Minor.Revision) automatically in my mod's Jar file, and if possible the Java files for the mod deceleration version as well.
Thanks for all help in advanced,
Thomas
Are you a content creator on YouTube/Twitch/Hitbox etc? Would you like one place to have you streaming community and play modded minecraft? Look no further than TT Gaming.
We have a teamspeak server where you can have your own Room (Channel) where your stream staff/followers/subscribers or people you are filming with on the server can go, a dedicated server only for the whitelist (and a few other invited people).
We operate on a dedicated server for the optimum lag free experience.
I will happily answer questions.
- Thomas (Co Founder, TT Gaming)
Sign up here: http://goo.gl/forms/l6Dh96VFDx
Hello Everyone!
What I want to do is register a certain set of crafting recipes based on what the Gamemode of the world is (Harder crafting recipes for Hardcore, and the normal set for survival/creative). All I have done so far is declared a boolean which I plan to set to 'true' if the world in in hardcore mode, and 'false' if it isn't. But now I don't know what to do!
Thanks in advanced
- Thomas
I just started a build of my mod, as no errors were being displayed in intelij, but when the build starts, after around 16 seconds, I get a build failure. The build output into cmd can be found here:
http://pastebin.com/dQAbRaXa
If you need any more information, I will be happy to provide it.
Thanks
- Thomas
I am currently using a Jenkins build system, and I am following the wiki tutorial for how to set it up. The problem I have is that my source code is stored in one folder, and mcp is in another folder (like pahimar's system). I therefore don't know what to change to setup the build process.
Any help would be appreciated
- Thomas
I am currently trying to setup a build system with github and travis-ci.org . I don't know how to handle the building though. If someone could help, it would be great!
Thanks
- Thomas
Check out ChestGenHooks.
//Example code:
ChestGenHooks.getInfo(ChestGenHooks.VILLAGE_BLACKSMITH).addItem(new WeightedRandomChestContent(new ItemStack(yourItem),1,4,20));
ChestGenHooks.getInfo(ChestGenHooks.DUNGEON_CHEST).addItem(new WeightedRandomChestContent(new ItemStack(yourItem),1,3,5));
// Last three params: numMin, numMax, and chance to appear in chest (golden apple 1, bread 100)
Thank you