Status update (Nov. 10, 2014): Please read the message I have written on my other mod.
This mod is meant to allow you to create your own mods in-game, with absolutely no knowledge of coding required. Any additions you make to your mod come into effect right away (no reloading your game) and in all worlds, and your mod is saved in a file that you can share or read.
Inspiration
A while ago, I made a Renewable Resources Mod, which was meant to allow one to obtain infinite amounts of a resource without exploring infinite chunks, while mainting the difficulty in obtaining them. However, I was not able to think of a way to make every single item and block from every single mod renewable, until I thought of something new: the Recipe Adder block. However, to stay true to the purpose of the mod, I placed many restrictions on it to prevent exploitation. I realized that this block had much potential, but it seemed like a waste to create a mod just to add a less restrictive version of a feature I already made. Then, I came up with the idea of making a mod that not only lets you create your recipes, but lets you create your own mods.
Recipe Adder 2
The recipe adder 2 (I already used the name "recipe adder" in my Renewable Resources Mod) lets you create your own recipes, whether it is shaped or shapeless. Right-clicking the block opens this GUI:
To add a recipe, first place your desired recipe into the slots above the inventory, like this:
The stack size of the items in the recipe area (not the result slot) does not matter. The stack size of the result, however, does matter; it determines how many items you get from one crafting.
To add the recipe, simply click the "Add Recipe" button. (For obvious reasons, you cannot use a recipe shape that is already used in a different recipe.) You should then be able to craft it with a crafting table:
You probably noticed a third button in the GUI, with a picture of a crafting table. Click on the button to change to icon to an anvil; you can now make shapeless recipes.
If you want to make a shaped recipe again, click on the anvil button to change the picture back to a crafting table.
If you want to delete a recipe, simply place the recipe's shape into the recipe area, then click on "Delete Recipe." You cannot delete recipes that are in vanilla Minecraft.
Furnace Adder
(I apologize if the artwork seems quite horrible.)
The furnace adder lets you create your own smelting recipes and fuels. You can also choose how much exp you get from the smelting, or how long the fuel lasts.
Right-clicking the block opens this GUI:
As with the recipe adder, you can place items into the furnace slots to add a smelting recipe or fuel. However, there are additional things you can do. Clicking on the text box labeled "Fuel Time" changes the GUI to this:
A number pad is provided for you so that you can input your own numbers. The arrow button is for backspace. If you don't like clicking many buttons, you also have the option of typing in the number from your keyboard. Any "invalid" key typed (a character without a button in the GUI or one whose button is inactive) will be ignored, so typos and errors are less likely. Finally, there are three buttons on the bottom that set the number to preset fuel times equivalent to that of the item in the button. Wooden plank sets the number to 300, coal to 1600, and blaze rod to 2400. It takes 200 to cook one item. To return to the add/delete recipe screen, click on the "Done" button.
Clicking on the "Experience" textbox opens the GUI:
It's pretty much same as the previous GUI, except that the preset buttons are different, and you can place a decimal point. The stone button sets the number to .1, iron ingot to .7, and gold ingot to 1.
You cannot add a smelting recipe if the cooked item is already in a different recipe. You cannot add fuel that is already a fuel. The cooked items ignore metadata, while the fuel and result are meta-data specific. Smelting recipes and fuels are saved separately. Click on the "Add Smelting" button to add the cooked item --> result item with the given experience, or the "Add Fuel" button to add the fuel with the given time. To delete a smelting recipe, place the item to be cooked in the appropriate slot, then click on the "Delete Smelting" button... I'm pretty sure you know how to delete fuel by now. You cannot delete anything that is in the vanilla version of Minecraft.
Here are the recipes in the example in action:
Block Adder
To create a block, click on the create block button, choose your block type, then type stuff into the text fields. The block ID text field must be a number between 0 and 256, and must not be the ID of a block that already exists. The texture text field can accept the name of a file in the textures/blocks/ folder in the minecraft.jar file for a vanilla texture, or you can type the name of your own 16 x 16 png image, which you must place in the images folder included in the custom mod folder. The name text field... is the name of your block. The material is pretty useless for now, but I will add a use later.
You can also create animations for block textures, the same way you would do so for vanilla. Just remember to include the animation text file in the images folder.
Using the delete block button will only delete the block from your custom mod. To delete the block from Minecraft itself, you will have to close then re-open Minecraft.
Currently, the only way to obtain a block immediately after you have made is to use the /give command. However, once you do that, you can use it in the recipe adder or furnace adder to make a recipe for it.
I will change this to a more user-friendly tutorial when I actually finish the block adder.
Adder Blocks in General + Compatibility Notes
Ever adder block is available in the decorations tab of the creative inventory. In addition, every adder block emits a light level of 7, because they are magical.
The recipe adder 2 has an ID of 163.
The furnace adder has an ID of 164.
The block adder has an ID of 165.
This mod uses ModLoader, but is somewhat compatible with Forge. This mod edits the following base classes:
SlotFurnace (so furnace recipe exp values of more than 1 will work properly)
TextureMap and TexturePackDefault (so you can place textures in the custom mod's images folder)
Reading and Sharing Your Mod
Let's say you forget exactly what you've added to your mod. Or you want to share it with your friends. Don't worry; this mod has you covered! In the .minecraft folder, this mod should create a folder called "custom mod". If you want to share with your friends, it is this folder that you copy.
Inside this folder, there are two files: "custom mod.dat" and "mod features.txt". Do NOT do anything with the .dat file; it is what the game reads when it is loading to add your mod's features. Do open the .txt files to read the features you have added.
The top item (portion of the file separated from others by empty lines) is a shaped crafting recipe. The array of numbers is the shape of the recipe; "0" is an empty space, while other numbers are defined in the legend below. Directly underneath the recipe shape is the result item, including how many are produced in one crafting. Every item is followed by its ID and its metadata / damage value.
The second item is a shapeless recipe. It is pretty self-explanatory; the first items are the items you place into the crafting grid, and the last item (the one that follows "gives") is the result and how many. As usual, each item is followed by its ID and metadata / damage value.
The third item in this file is a smelting recipe. You should be able to tell what it is just by looking at it. However, there is one thing different; because the item to be cooked is not dependent on metadata, only its ID, and not its metadata, is given in this file.
The last item is fuel you've added. Pretty self-explanatory.
Videos
Made by XxGamingTownxX:
What I Hope to Add in the Full Version
Forge-compatible version
Block Adder, with many custom properties for blocks
-Ability to make "crop" blocks that you can farm
-Ability to add plant blocks (similar to sugarcane, sapling, tall grass, etc.)
-Ability to add pane blocks
-Ability to add/edit many properties, such as drops, tool, slipperiness, light, etc.
Item Adder
-Ability to add food
-Ability to add tool sets
-Ability to add armor sets
Dungeon Loot Adder
Custom Ore Generation
Custom Plant Generation
Achievement Adder
Biome Adder (maybe)
Mob Adder (maybe) (will only imitate other mobs)
Structure Adder (maybe)
Support for Multiple Mods
Mulitplayer support
All additions you make to your mod in upcoming features should take effect without having to reload the game. However, block deletions require a reload of the game.
Why Don't You Add X Feature?
Notice that this mod is called the Simple Mod Maker. Most things I have not added or listed are likely too complicated or will make this mod itself too complicated.
However, once I release the full version, I might add more features when I actually learn about them. I might even change the name of the mod if I add enough stuff.
Download Link Removed
Installation Instructions:
1. If you haven't already done so, install ModLoader or Forge for 1.5.1. Use 7zip or any other program that lets you modify jar files to open the minecraft.jar file.
2. If you haven't already done so, delete the META-INF folder.
3. Drag all the contents of the folder except the "Forge" and "Free Images" folders to your jar file.
4. If you are using Forge, drag the contents of the "Forge" folder to your jar file.
5. Enjoy! Tell me if there are any bugs, and remember this is still a WIP.
This mod uses ModLoader, but it is also compatible with Forge. However, some features (custom fuels and custom blocks) will not work on Forge.
Announcement: Unfortunately, due to my intense workload from school, I probably won't be able to update this mod to the most recent version until winter break, in late December. In the meantime, enjoy this picture:
Terms and Conditions
TERMS AND CONDITIONS
0. USED TERMS
MOD - modification, plugin, a piece of software that interfaces with the Minecraft client to extend, add, change or remove original capabilities.
MOJANG - Mojang AB
OWNER - , Original author(s) of the MOD. Under the copyright terms accepted when purchasing Minecraft (http://www.minecraft.net/copyright.jsp) the OWNER has full rights over their MOD despite use of MOJANG code.
USER - End user of the mod, person installing the mod.
1. LIABILITY
THIS MOD IS PROVIDED 'AS IS' WITH NO WARRANTIES, IMPLIED OR OTHERWISE. THE OWNER OF THIS MOD TAKES NO RESPONSIBILITY FOR ANY DAMAGES INCURRED FROM THE USE OF THIS MOD. THIS MOD ALTERS FUNDAMENTAL PARTS OF THE MINECRAFT GAME, PARTS OF MINECRAFT MAY NOT WORK WITH THIS MOD INSTALLED. ALL DAMAGES CAUSED FROM THE USE OR MISUSE OF THIS MOD FALL ON THE USER.
2. USE
Use of this MOD to be installed, manually or automatically, is given to the USER without restriction.
3. REDISTRIBUTION
This MOD may only be distributed where uploaded, mirrored, or otherwise linked to by the OWNER solely. All mirrors of this mod must have advance written permission from the OWNER. ANY attempts to make money off of this MOD (selling, selling modified versions, adfly, sharecash, etc.) are STRICTLY FORBIDDEN, and the OWNER may claim damages or take other action to rectify the situation.
4. DERIVATIVE WORKS/MODIFICATION
This mod is provided freely and may be decompiled and modified for private use, either with a decompiler or a bytecode editor. Public distribution of modified versions of this MOD require advance written permission of the OWNER and may be subject to certain terms.
Terms and Conditions made by Rotten194.
Version History
v0.1.4
-Updated to 1.5.1.
--Also added support for animated textures for custom blocks.
-Added the ability to make custom blocks that are affected by gravity (like sand and gravel).
-Changed the way the recipe adder checks for duplicate recipes for maximum compatibility and fewer bugs.
--As a result, this mod is now compatible with Forge!
BUG: Because Forge is weird, custom fuels and custom blocks do not work if you are using Forge. However, custom recipes and custom furnace recipes still work on Forge.
v0.1.3_1
-Made installation much easier.
--Made optional bug fixes less optional in order to help simplify installation.
v0.1.3
-Updated to 1.4.6/1.4.7.
-Fixed a TON of bugs and crashes related to custom blocks.
-Added the ability to create and delete custom blocks. However, you cannot edit them yet, so they are only good for decoration for now.
-Added an optional bug fix (edits a base class) to fix furnace recipes giving too little experience if you make the recipe give more than one point.
-Fixed the bug where clicking buttons on a GUI would register too fast.
-Bug: Custom blocks that use your own images have the wrong particle colors. The particle colors come from index 0 of terrain.png.
-Bug: Custom blocks in the inventory are not shaded (they don't look as 3D as they're supposed to).
v0.1.2
-Updated to 1.4.4.
-Added support for custom blocks
-Added the block adder block, which does nothing yet.
-Fixed the bug where furnace recipes could output more than one item.
Bug: version still displays as v0.1.1
Note: Also compatible with Minecraft 1.4.5.
v0.1.1
-Fixed the division by 0 crash with the recipe adder 2
-Some code in preparation for v0.2
v0.1
-Recipe Adder 2
-Furnace Adder
Statistics
v0.1.4 - 1,861 downloads! (I have no idea why people are downloading it when it's very outdated...)
v0.1.3_1 - 597 downloads
v0.1.3 - 618 downloads!
v0.1.2 - 215 downloads!
v0.1.1 - 146 downloads!
v0.1 - 76 downloads! (15 within first 24 hours)
If you have any comments, tell me what you think about this mod.
Just something of a suggestion, you could add a mob maker. It could have a button that says import skin, you could import any skin that you have download it and set it to be a mob, you would then select which mob the select skin would mimic(Mobs that already exist to make it easy) Just a suggestion.
Just something of a suggestion, you could add a mob maker. It could have a button that says import skin, you could import any skin that you have download it and set it to be a mob, you would then select which mob the select skin would mimic(Mobs that already exist to make it easy) Just a suggestion.
I'm not entirely sure how mobs work (the only reason they're not on the list of things to add), but I suppose your imitation suggestion could work. And when I think about it, it could also help to make more biome-specific mobs. I'll add it to my list of things to do.
Nope im stuck someone give me it their minecraft.jar file and make sure its done!
What seems to be the problem? I don't think we're allowed to distribute the jar file. Are you sure you remembered to install ModLoader and delete the META-INF folder? Or is it just that you can't open the jar file?
I done them all and when i play the game wut do i do?
You installed it? In creative mode, you can find the adder blocks in the decorations tab of the creative menu, as I said in the OP. In survival mode, you can craft the adder blocks using the recipes I put in the OP. Anything you make will be for all worlds.
Good mod, but maybe it's a good idea to say in the main post that the recipes are for all worlds, because I wasn't sure until I read the replys.
EDIT
Maybe an idea for the future block adder: the ability to change the drops from a block.
Ok, I'll add that right now. I thought the word "mod" implied that, but I guess that people are getting confused by the recipe adder in my Renewable Resources mod.
For your idea, I've already considered that. I'll try to give the block adder as many features as possible. But if you mean editing the drops of a block in vanilla, I don't think I'll add that.
Just a problem I've encountered when I placed my Bonemeal in the Result slot, the recipe I was trying to make was
10 Sapling is 1
02 Bonemeal is 2
The Error Report is below.
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem; Unexpected error
This error has been saved to C:\Users\Martin\AppData\Roaming\.minecraft\crash-reports\crash-2012-09-30_15.08.25-client.txt for your convenience. Please include a copy of this file if you report this crash to anyone.
--- BEGIN ERROR REPORT 4379a3f5 --------
Generated 9/30/12 3:08 PM
- Minecraft Version: 1.3.2
- Operating System: Windows 7 (x86) version 6.1
- Java Version: 1.7.0_06, Oracle Corporation
- Java VM Version: Java HotSpot™ Client VM (mixed mode, sharing), Oracle Corporation
- Memory: 36314184 bytes (34 MB) / 138301440 bytes (131 MB) up to 259522560 bytes (247 MB)
- JVM Flags: 0 total;
- ModLoader: Mods loaded: 2
ModLoader 1.3.2
Simple Mod Maker v0.1
java.lang.ArithmeticException: / by zero
at RecipeCustom2.recipeEquals(RecipeCustom2.java:287)
at RecipeCustom2.isValid(RecipeCustom2.java:399)
at ContainerRecipeAdder2.update(ContainerRecipeAdder2.java:63)
at SlotRecipeAdder2.e(SlotRecipeAdder2.java:15)
at pr.d(SourceFile:77)
at ov.a(SourceFile:141)
at atc.a(SourceFile:272)
at aqh.a(SourceFile:297)
at aqh.a(SourceFile:277)
at apn.d(SourceFile:112)
at apn.m(SourceFile:100)
at net.minecraft.client.Minecraft.l(SourceFile:1077)
at net.minecraft.client.Minecraft.J(SourceFile:583)
at net.minecraft.client.Minecraft.run(SourceFile:535)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 49e493b6 ----------
Just a problem I've encountered when I placed my Bonemeal in the Result slot, the recipe I was trying to make was
10 Sapling is 1
02 Bonemeal is 2
The Error Report is below.
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem; Unexpected error
This error has been saved to C:\Users\Martin\AppData\Roaming\.minecraft\crash-reports\crash-2012-09-30_15.08.25-client.txt for your convenience. Please include a copy of this file if you report this crash to anyone.
--- BEGIN ERROR REPORT 4379a3f5 --------
Generated 9/30/12 3:08 PM
- Minecraft Version: 1.3.2
- Operating System: Windows 7 (x86) version 6.1
- Java Version: 1.7.0_06, Oracle Corporation
- Java VM Version: Java HotSpot™ Client VM (mixed mode, sharing), Oracle Corporation
- Memory: 36314184 bytes (34 MB) / 138301440 bytes (131 MB) up to 259522560 bytes (247 MB)
- JVM Flags: 0 total;
- ModLoader: Mods loaded: 2
ModLoader 1.3.2
Simple Mod Maker v0.1
java.lang.ArithmeticException: / by zero
at RecipeCustom2.recipeEquals(RecipeCustom2.java:287)
at RecipeCustom2.isValid(RecipeCustom2.java:399)
at ContainerRecipeAdder2.update(ContainerRecipeAdder2.java:63)
at SlotRecipeAdder2.e(SlotRecipeAdder2.java:15)
at pr.d(SourceFile:77)
at ov.a(SourceFile:141)
at atc.a(SourceFile:272)
at aqh.a(SourceFile:297)
at aqh.a(SourceFile:277)
at apn.d(SourceFile:112)
at apn.m(SourceFile:100)
at net.minecraft.client.Minecraft.l(SourceFile:1077)
at net.minecraft.client.Minecraft.J(SourceFile:583)
at net.minecraft.client.Minecraft.run(SourceFile:535)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 49e493b6 ----------
My first reaction: What? Division by 0?!
But now the bug is fixed, and I even have a download up for the bug fix. It seems that the bug was caused by how the obfuscation changes the names of stuff in the source code. Let me know if the problem persists, though, because that would mean my theory is wrong.
v0.1.1 update notes
-Fixed the division by 0 bug with the recipe adder 2
-Some code in preparation for v0.2
Hi you seem like a awesome coder/modder. So could you please give me a video tutorial for complex mod making. There's a few things I would like to try in a mod
Well, I just finished support for custom blocks last weekend, although it is untested (very likely has bugs) and there is no way to add them (unless you decompile the code to see how I save them and then write your own program to make custom mod files). On top of that, I've been incredibly busy with schoolwork (the IB program takes up so much time). Yesterday, someone on the server I play on suggested another type of block (pane blocks), so I'll probably spend more time working on the custom block. I probably won't be able to release it by 1.4, but hopefully the current version will be compatible with 1.4 so I don't have to make a v0.1.2.
This mod is meant to allow you to create your own mods in-game, with absolutely no knowledge of coding required. Any additions you make to your mod come into effect right away (no reloading your game) and in all worlds, and your mod is saved in a file that you can share or read.
Inspiration
Recipe Adder 2
The recipe adder 2 (I already used the name "recipe adder" in my Renewable Resources Mod) lets you create your own recipes, whether it is shaped or shapeless. Right-clicking the block opens this GUI:
To add a recipe, first place your desired recipe into the slots above the inventory, like this:
The stack size of the items in the recipe area (not the result slot) does not matter. The stack size of the result, however, does matter; it determines how many items you get from one crafting.
To add the recipe, simply click the "Add Recipe" button. (For obvious reasons, you cannot use a recipe shape that is already used in a different recipe.) You should then be able to craft it with a crafting table:
You probably noticed a third button in the GUI, with a picture of a crafting table. Click on the button to change to icon to an anvil; you can now make shapeless recipes.
If you want to make a shaped recipe again, click on the anvil button to change the picture back to a crafting table.
If you want to delete a recipe, simply place the recipe's shape into the recipe area, then click on "Delete Recipe." You cannot delete recipes that are in vanilla Minecraft.
Furnace Adder
The furnace adder lets you create your own smelting recipes and fuels. You can also choose how much exp you get from the smelting, or how long the fuel lasts.
Right-clicking the block opens this GUI:
As with the recipe adder, you can place items into the furnace slots to add a smelting recipe or fuel. However, there are additional things you can do. Clicking on the text box labeled "Fuel Time" changes the GUI to this:
A number pad is provided for you so that you can input your own numbers. The arrow button is for backspace. If you don't like clicking many buttons, you also have the option of typing in the number from your keyboard. Any "invalid" key typed (a character without a button in the GUI or one whose button is inactive) will be ignored, so typos and errors are less likely. Finally, there are three buttons on the bottom that set the number to preset fuel times equivalent to that of the item in the button. Wooden plank sets the number to 300, coal to 1600, and blaze rod to 2400. It takes 200 to cook one item. To return to the add/delete recipe screen, click on the "Done" button.
Clicking on the "Experience" textbox opens the GUI:
It's pretty much same as the previous GUI, except that the preset buttons are different, and you can place a decimal point. The stone button sets the number to .1, iron ingot to .7, and gold ingot to 1.
You cannot add a smelting recipe if the cooked item is already in a different recipe. You cannot add fuel that is already a fuel. The cooked items ignore metadata, while the fuel and result are meta-data specific. Smelting recipes and fuels are saved separately. Click on the "Add Smelting" button to add the cooked item --> result item with the given experience, or the "Add Fuel" button to add the fuel with the given time. To delete a smelting recipe, place the item to be cooked in the appropriate slot, then click on the "Delete Smelting" button... I'm pretty sure you know how to delete fuel by now. You cannot delete anything that is in the vanilla version of Minecraft.
Here are the recipes in the example in action:
Block Adder
You can also create animations for block textures, the same way you would do so for vanilla. Just remember to include the animation text file in the images folder.
Using the delete block button will only delete the block from your custom mod. To delete the block from Minecraft itself, you will have to close then re-open Minecraft.
Currently, the only way to obtain a block immediately after you have made is to use the /give command. However, once you do that, you can use it in the recipe adder or furnace adder to make a recipe for it.
I will change this to a more user-friendly tutorial when I actually finish the block adder.
Adder Blocks in General + Compatibility Notes
The recipe adder 2 has an ID of 163.
The furnace adder has an ID of 164.
The block adder has an ID of 165.
This mod uses ModLoader, but is somewhat compatible with Forge. This mod edits the following base classes:
SlotFurnace (so furnace recipe exp values of more than 1 will work properly)
TextureMap and TexturePackDefault (so you can place textures in the custom mod's images folder)
Reading and Sharing Your Mod
Inside this folder, there are two files: "custom mod.dat" and "mod features.txt". Do NOT do anything with the .dat file; it is what the game reads when it is loading to add your mod's features. Do open the .txt files to read the features you have added.
The top item (portion of the file separated from others by empty lines) is a shaped crafting recipe. The array of numbers is the shape of the recipe; "0" is an empty space, while other numbers are defined in the legend below. Directly underneath the recipe shape is the result item, including how many are produced in one crafting. Every item is followed by its ID and its metadata / damage value.
The second item is a shapeless recipe. It is pretty self-explanatory; the first items are the items you place into the crafting grid, and the last item (the one that follows "gives") is the result and how many. As usual, each item is followed by its ID and metadata / damage value.
The third item in this file is a smelting recipe. You should be able to tell what it is just by looking at it. However, there is one thing different; because the item to be cooked is not dependent on metadata, only its ID, and not its metadata, is given in this file.
The last item is fuel you've added. Pretty self-explanatory.
Videos
Made by XxGamingTownxX:
What I Hope to Add in the Full Version
Block Adder, with many custom properties for blocks
-Ability to make "crop" blocks that you can farm
-Ability to add plant blocks (similar to sugarcane, sapling, tall grass, etc.)
-Ability to add pane blocks
-Ability to add/edit many properties, such as drops, tool, slipperiness, light, etc.
Item Adder
-Ability to add food
-Ability to add tool sets
-Ability to add armor sets
Dungeon Loot Adder
Custom Ore Generation
Custom Plant Generation
Achievement Adder
Biome Adder (maybe)
Mob Adder (maybe) (will only imitate other mobs)
Structure Adder (maybe)
Support for Multiple Mods
Mulitplayer support
All additions you make to your mod in upcoming features should take effect without having to reload the game. However, block deletions require a reload of the game.
Why Don't You Add X Feature?
However, once I release the full version, I might add more features when I actually learn about them. I might even change the name of the mod if I add enough stuff.
Download
Link Removed
Installation Instructions:
2. If you haven't already done so, delete the META-INF folder.
3. Drag all the contents of the folder except the "Forge" and "Free Images" folders to your jar file.
4. If you are using Forge, drag the contents of the "Forge" folder to your jar file.
5. Enjoy! Tell me if there are any bugs, and remember this is still a WIP.
Announcement: Unfortunately, due to my intense workload from school, I probably won't be able to update this mod to the most recent version until winter break, in late December. In the meantime, enjoy this picture:
Terms and Conditions
0. USED TERMS
MOD - modification, plugin, a piece of software that interfaces with the Minecraft client to extend, add, change or remove original capabilities.
MOJANG - Mojang AB
OWNER - , Original author(s) of the MOD. Under the copyright terms accepted when purchasing Minecraft (http://www.minecraft.net/copyright.jsp) the OWNER has full rights over their MOD despite use of MOJANG code.
USER - End user of the mod, person installing the mod.
1. LIABILITY
THIS MOD IS PROVIDED 'AS IS' WITH NO WARRANTIES, IMPLIED OR OTHERWISE. THE OWNER OF THIS MOD TAKES NO RESPONSIBILITY FOR ANY DAMAGES INCURRED FROM THE USE OF THIS MOD. THIS MOD ALTERS FUNDAMENTAL PARTS OF THE MINECRAFT GAME, PARTS OF MINECRAFT MAY NOT WORK WITH THIS MOD INSTALLED. ALL DAMAGES CAUSED FROM THE USE OR MISUSE OF THIS MOD FALL ON THE USER.
2. USE
Use of this MOD to be installed, manually or automatically, is given to the USER without restriction.
3. REDISTRIBUTION
This MOD may only be distributed where uploaded, mirrored, or otherwise linked to by the OWNER solely. All mirrors of this mod must have advance written permission from the OWNER. ANY attempts to make money off of this MOD (selling, selling modified versions, adfly, sharecash, etc.) are STRICTLY FORBIDDEN, and the OWNER may claim damages or take other action to rectify the situation.
4. DERIVATIVE WORKS/MODIFICATION
This mod is provided freely and may be decompiled and modified for private use, either with a decompiler or a bytecode editor. Public distribution of modified versions of this MOD require advance written permission of the OWNER and may be subject to certain terms.
Version History
-Updated to 1.5.1.
--Also added support for animated textures for custom blocks.
-Added the ability to make custom blocks that are affected by gravity (like sand and gravel).
-Changed the way the recipe adder checks for duplicate recipes for maximum compatibility and fewer bugs.
--As a result, this mod is now compatible with Forge!
BUG: Because Forge is weird, custom fuels and custom blocks do not work if you are using Forge. However, custom recipes and custom furnace recipes still work on Forge.
v0.1.3_1
-Made installation much easier.
--Made optional bug fixes less optional in order to help simplify installation.
v0.1.3
-Updated to 1.4.6/1.4.7.
-Fixed a TON of bugs and crashes related to custom blocks.
-Added the ability to create and delete custom blocks. However, you cannot edit them yet, so they are only good for decoration for now.
-Added an optional bug fix (edits a base class) to fix furnace recipes giving too little experience if you make the recipe give more than one point.
-Fixed the bug where clicking buttons on a GUI would register too fast.
-Bug: Custom blocks that use your own images have the wrong particle colors. The particle colors come from index 0 of terrain.png.
-Bug: Custom blocks in the inventory are not shaded (they don't look as 3D as they're supposed to).
v0.1.2
-Updated to 1.4.4.
-Added support for custom blocks
-Added the block adder block, which does nothing yet.
-Fixed the bug where furnace recipes could output more than one item.
Bug: version still displays as v0.1.1
Note: Also compatible with Minecraft 1.4.5.
v0.1.1
-Fixed the division by 0 crash with the recipe adder 2
-Some code in preparation for v0.2
v0.1
-Recipe Adder 2
-Furnace Adder
Statistics
v0.1.3_1 - 597 downloads
v0.1.3 - 618 downloads!
v0.1.2 - 215 downloads!
v0.1.1 - 146 downloads!
v0.1 - 76 downloads! (15 within first 24 hours)
If you have any comments, tell me what you think about this mod.
Thanks...
~Subby
It should work for the mac. Tell me if it doesn't, though.
I'm not entirely sure how mobs work (the only reason they're not on the list of things to add), but I suppose your imitation suggestion could work. And when I think about it, it could also help to make more biome-specific mobs. I'll add it to my list of things to do.
What seems to be the problem? I don't think we're allowed to distribute the jar file. Are you sure you remembered to install ModLoader and delete the META-INF folder? Or is it just that you can't open the jar file?
That would be illegal.
No, We can't give you our minecraft.jar, You could be a pirate.
You installed it? In creative mode, you can find the adder blocks in the decorations tab of the creative menu, as I said in the OP. In survival mode, you can craft the adder blocks using the recipes I put in the OP. Anything you make will be for all worlds.
Ok, I'll add that right now. I thought the word "mod" implied that, but I guess that people are getting confused by the recipe adder in my Renewable Resources mod.
For your idea, I've already considered that. I'll try to give the block adder as many features as possible. But if you mean editing the drops of a block in vanilla, I don't think I'll add that.
10 Sapling is 1
02 Bonemeal is 2
The Error Report is below.
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem; Unexpected error
This error has been saved to C:\Users\Martin\AppData\Roaming\.minecraft\crash-reports\crash-2012-09-30_15.08.25-client.txt for your convenience. Please include a copy of this file if you report this crash to anyone.
--- BEGIN ERROR REPORT 4379a3f5 --------
Generated 9/30/12 3:08 PM
- Minecraft Version: 1.3.2
- Operating System: Windows 7 (x86) version 6.1
- Java Version: 1.7.0_06, Oracle Corporation
- Java VM Version: Java HotSpot™ Client VM (mixed mode, sharing), Oracle Corporation
- Memory: 36314184 bytes (34 MB) / 138301440 bytes (131 MB) up to 259522560 bytes (247 MB)
- JVM Flags: 0 total;
- ModLoader: Mods loaded: 2
ModLoader 1.3.2
Simple Mod Maker v0.1
- LWJGL: 2.4.2
- OpenGL: AMD Radeon™ HD 6480G GL version 4.1.11156 Compatibility Profile Context, ATI Technologies Inc.
- Is Modded: Very likely
- Type: Client
- Texture Pack: Default
- Profiler Position: N/A (disabled)
- World MpServer Entities: 33 total; [atg['SlyN3rd'/31, l='MpServer', x=115.50, y=5.62, z=-812.50], ny['Slime'/3920, l='MpServer', x=70.01, y=4.00, z=-767.12], ny['Slime'/5509, l='MpServer', x=98.05, y=4.69, z=-804.31], ny['Slime'/10362, l='MpServer', x=179.77, y=4.32, z=-868.29], ny['Slime'/10463, l='MpServer', x=142.91, y=4.00, z=-870.91], ny['Slime'/15426, l='MpServer', x=103.34, y=4.00, z=-817.22], ny['Slime'/44485, l='MpServer', x=153.58, y=4.00, z=-810.37], ny['Slime'/47706, l='MpServer', x=95.62, y=4.00, z=-851.25], ny['Slime'/51419, l='MpServer', x=89.66, y=4.24, z=-840.80], ny['Slime'/61268, l='MpServer', x=154.44, y=4.00, z=-865.60], ny['Slime'/65778, l='MpServer', x=164.34, y=4.00, z=-871.90], ny['Slime'/66019, l='MpServer', x=155.72, y=4.52, z=-804.82], mo['Chicken'/68289, l='MpServer', x=179.20, y=4.00, z=-888.58], mo['Chicken'/68290, l='MpServer', x=178.50, y=4.00, z=-882.50], mo['Chicken'/68291, l='MpServer', x=177.50, y=4.00, z=-884.50], mo['Chicken'/68292, l='MpServer', x=179.41, y=4.00, z=-883.47], mu['Sheep'/68307, l='MpServer', x=92.50, y=4.00, z=-791.50], mu['Sheep'/68308, l='MpServer', x=91.50, y=4.00, z=-794.50], mo['Chicken'/68309, l='MpServer', x=97.50, y=4.00, z=-790.50], mo['Chicken'/68310, l='MpServer', x=94.50, y=4.00, z=-787.50], mt['Pig'/68327, l='MpServer', x=112.50, y=4.00, z=-740.50], mt['Pig'/68328, l='MpServer', x=112.50, y=4.00, z=-742.50], mt['Pig'/68329, l='MpServer', x=111.50, y=4.00, z=-744.50], mt['Pig'/68330, l='MpServer', x=115.50, y=4.00, z=-746.50], mt['Pig'/68331, l='MpServer', x=191.94, y=4.00, z=-741.86], mt['Pig'/68332, l='MpServer', x=187.12, y=4.00, z=-754.84], mt['Pig'/68333, l='MpServer', x=186.41, y=4.00, z=-747.66], mt['Pig'/68334, l='MpServer', x=181.50, y=4.00, z=-747.50], ny['Slime'/70254, l='MpServer', x=157.00, y=4.99, z=-854.90], ny['Slime'/70258, l='MpServer', x=159.91, y=4.47, z=-855.86], ny['Slime'/73292, l='MpServer', x=93.22, y=4.00, z=-775.00], ny['Slime'/82264, l='MpServer', x=154.96, y=5.01, z=-877.36], ny['Slime'/28391, l='MpServer', x=169.29, y=3.38, z=-734.40]]
- World MpServer Players: 1 total; [atg['SlyN3rd'/31, l='MpServer', x=115.50, y=5.62, z=-812.50]]
- World MpServer Chunk Stats: MultiplayerChunkCache: 441
- Forced Entities: 33 total; [ny['Slime'/47706, l='MpServer', x=95.62, y=4.00, z=-851.25], mt['Pig'/68330, l='MpServer', x=115.50, y=4.00, z=-746.50], mt['Pig'/68331, l='MpServer', x=191.94, y=4.00, z=-741.86], ny['Slime'/10463, l='MpServer', x=142.91, y=4.00, z=-870.91], mt['Pig'/68328, l='MpServer', x=112.50, y=4.00, z=-742.50], mt['Pig'/68329, l='MpServer', x=111.50, y=4.00, z=-744.50], ny['Slime'/73292, l='MpServer', x=93.22, y=4.00, z=-775.00], mt['Pig'/68334, l='MpServer', x=181.50, y=4.00, z=-747.50], mt['Pig'/68332, l='MpServer', x=187.12, y=4.00, z=-754.84], mt['Pig'/68333, l='MpServer', x=186.41, y=4.00, z=-747.66], ny['Slime'/44485, l='MpServer', x=153.58, y=4.00, z=-810.37], ny['Slime'/51419, l='MpServer', x=89.66, y=4.24, z=-840.80], mt['Pig'/68327, l='MpServer', x=112.50, y=4.00, z=-740.50], ny['Slime'/28391, l='MpServer', x=169.29, y=3.38, z=-734.40], atg['SlyN3rd'/31, l='MpServer', x=115.50, y=5.62, z=-812.50], ny['Slime'/82264, l='MpServer', x=154.96, y=5.01, z=-877.36], ny['Slime'/70258, l='MpServer', x=159.91, y=4.47, z=-855.86], mo['Chicken'/68289, l='MpServer', x=179.20, y=4.00, z=-888.58], mo['Chicken'/68290, l='MpServer', x=178.50, y=4.00, z=-882.50], mo['Chicken'/68291, l='MpServer', x=177.50, y=4.00, z=-884.50], mo['Chicken'/68292, l='MpServer', x=179.41, y=4.00, z=-883.47], ny['Slime'/65778, l='MpServer', x=164.34, y=4.00, z=-871.90], ny['Slime'/66019, l='MpServer', x=155.72, y=4.52, z=-804.82], ny['Slime'/10362, l='MpServer', x=179.77, y=4.32, z=-868.29], ny['Slime'/61268, l='MpServer', x=154.44, y=4.00, z=-865.60], ny['Slime'/5509, l='MpServer', x=98.05, y=4.69, z=-804.31], mu['Sheep'/68307, l='MpServer', x=92.50, y=4.00, z=-791.50], ny['Slime'/3920, l='MpServer', x=70.01, y=4.00, z=-767.12], ny['Slime'/70254, l='MpServer', x=157.00, y=4.99, z=-854.90], mo['Chicken'/68309, l='MpServer', x=97.50, y=4.00, z=-790.50], ny['Slime'/15426, l='MpServer', x=103.34, y=4.00, z=-817.22], mu['Sheep'/68308, l='MpServer', x=91.50, y=4.00, z=-794.50], mo['Chicken'/68310, l='MpServer', x=94.50, y=4.00, z=-787.50]]
- Retry Entities: 0 total; []
java.lang.ArithmeticException: / by zero
at RecipeCustom2.recipeEquals(RecipeCustom2.java:287)
at RecipeCustom2.isValid(RecipeCustom2.java:399)
at ContainerRecipeAdder2.update(ContainerRecipeAdder2.java:63)
at SlotRecipeAdder2.e(SlotRecipeAdder2.java:15)
at pr.d(SourceFile:77)
at ov.a(SourceFile:141)
at atc.a(SourceFile:272)
at aqh.a(SourceFile:297)
at aqh.a(SourceFile:277)
at apn.d(SourceFile:112)
at apn.m(SourceFile:100)
at net.minecraft.client.Minecraft.l(SourceFile:1077)
at net.minecraft.client.Minecraft.J(SourceFile:583)
at net.minecraft.client.Minecraft.run(SourceFile:535)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 49e493b6 ----------
My first reaction: What? Division by 0?!
But now the bug is fixed, and I even have a download up for the bug fix. It seems that the bug was caused by how the obfuscation changes the names of stuff in the source code. Let me know if the problem persists, though, because that would mean my theory is wrong.
v0.1.1 update notes
-Fixed the division by 0 bug with the recipe adder 2
-Some code in preparation for v0.2
Well, I just finished support for custom blocks last weekend, although it is untested (very likely has bugs) and there is no way to add them (unless you decompile the code to see how I save them and then write your own program to make custom mod files). On top of that, I've been incredibly busy with schoolwork (the IB program takes up so much time). Yesterday, someone on the server I play on suggested another type of block (pane blocks), so I'll probably spend more time working on the custom block. I probably won't be able to release it by 1.4, but hopefully the current version will be compatible with 1.4 so I don't have to make a v0.1.2.