Context
Welcome to the first ever AlphaVer Modathon! An event where many modders or even newbies have to make a visual, source-edited mod based off of Lilypad QA in 48 hours.
Rules
The rules are quite simple:
- You are given 48 hours to create a Lilypad QA mod with a set theme.
- You must follow the given theme, no strays. Or infinite dash mods v2.
- Everyone is set into random teams, if you dont pair up with who you want to, blame the randomizer.
- You cannot base your mod off of another mod such as Rosepad or even as Basic as LPUJ.
- VCS *must* be used
- You mustn't plagarise others work (as in directly stealing or copying other ideas without putting your own creative take on it).
- All entries must be submitted before the 48 hour deadline.
- Have fun i guess, if you dont then we will shoot you.
Modding Basics
Here are the basic tools required to mod Lilypad QA!
Tools
- RetroMCP for decompilation. (preferably, pre3)
- A java IDE such as Eclipse for coding the mod.
Recaf in order to change the name of a singular file (very cool).- A paint tool such as Paint.net for changing textures.
- Its not a tool or a requirement, but even a miniscule amount of programming experience.
Getting started
Now that you hopefully have these tools in hand, its time to start. But how?
First of all, open RetroMCP. if you are using pre3, these next steps should be simple to follow:
- Make a new folder in your computer and copy its address. Go to MCP > Change working directory and paste your folder path in.
- Now, go to the "Current Versions" Selectable on the right, scroll down untill you find "a1.1.0". Select this option and wait for RetroMCP to do its job, this shouldnt take long.
- You will now realize that the "Decompile" button has lit up, but dont click it yet! You need to install the Lilypad QA jar first.
- After installing Lilypad QA, fire up
Recaf and open the jar. Change the name of the fileBlockButton.java
toLilypadBlockButton.java
. Export these changes. - With your newly changed jar file. Open the folder in which you opened RetroMCP, find the jars folder, delete
minecraft.jar
, replace it with the Lilypad QA one and rename it back to minecraft.jar. You are now free to hitDecompile
in RetroMCP. Follow the steps it tells you such as deletingBlockMinecartTrack
Oh but. Whats this? RetroMCP has thrown us another error? This time for an IOException that has to be caught. Fairly simple solution. Go to ClassX.java
in the src folder. Go to line 75 and paste in a throws IOException
at the end of the function name. However, before you keep on going and press Build. One more thing needs to be done.
go to "\src\minecraft\net\minecraft\client" and open Minecraft.java. Go to line 140, the one right after the fullscreen line, write "InputHandler.mc = this". Your game will no longer crash after dashing or encountering a naturally spawning giant.
One more thing though. If you wish to modify or add your own textures to game, extract them from the jar file directly via the use of 7zip or other archiving software. Put the new textures in \src\minecraft
with their respective folder names. If you wish to edit terrain.png for example, you dont make a new folder and put it in there. But if you want to edit the items, you make a folder called gui and put it in there.
For Eclipse users!
In the folder where youve decompiled lilypad, you will find a "workspace" folder. Launch eclipse and open this folder. Dont make a new eclipse project or anything, as it will sort itself on its own. Once opened, you can press the green play button on the top to debug the game.
If you want to add new textures to the game, you have to build with RetroMCP
Important Files
- GuiIngame : Lets you alter anything seen ingame (more specifically, when playing on a world)
- GuiSelectWorld : Gui for world selection
- ChunkProviderGenerate : Lets you change any naturally generating block or flower and add your own
- NoiseGeneratorPerlin : Lets you mess with the worlds chunk generation
- GuiIngameMenu : The GUI for the esc menu
- GameSettings : Lets you change and add options.