Here is my blog, where I post stuff about my current mod progress and some other things, Be sure to check it out! -> SanAndreasP's tumblr blog
I have also other mods, maybe you like them, too: -> SanAndreasP's Mods
I'm also now on twitter! Follow me to have the newest development stats of my mods -> twitter profile
Do you lack out of cocoa beans or want more? Are you annoyed from the search for them in dungeons? Or do you want some more, chocolate based food? Then you should try this mod!
This mod adds cacao trees, cocoa seeds and optional 5 achievements, chocolate bars, choco milk and choco cake into Minecraft.
8 classes will be added. This Mod uses the data value 197 for the cacao tree, 198 for the choco cake block, from 6800 to 6804 for all items and from 1100 to 1104 for the achievements. All of it fully configurable!
This mod is for Minecraft ver. 1.2.3 (Server: 1.2.3). Do not use this mod besides 1.2.3 unless you use one of the older versions! But I won't give support when you use the older versions.
This mod needs some requirements to run properly:
Client
- Latest Version of Minecraft -> 1.2.3
- Latest Version of ModLoader from Risugami
- Latest MinecraftForge and it's requirements (ModLoaderMP[Client 1.2.3])
Server
- Latest Version of Minecraft Server -> 1.1.0
- Latest MinecraftForge (server version) and it's requirements (ModLoaderMP[Server 1.2.3])
Client
Easy install
Drop the zip file into the mods folder in your .minecraft directory, i.e. C:\Users\USERNAME\AppData\Roaming\.minecraft\mods
Play Minecraft.
Complicated install
Navigate to the bin folder of your .minecraft directory, i.e. C:\Users\USERNAME\AppData\Roaming\.minecraft\bin
MAKE A BACKUP OF YOUR MINECRAFT.JAR!
Open up the minecraft.jar with a decompression program, i.e. 7zip
Install ModLoader, ModLoaderMP and Minecraft Forge, if it's not happend yet.
Delete the META-INF folder! (if it's still there)
copy all files and directories from the zip into the minecraft.jar.
Save and close minecraft.jar
Now start Minecraft. Done.
Server
Navigate to the folder where your minecraft_server.jar is saved
MAKE A BACKUP OF YOUR MINECRAFT_SERVER.JAR!
Open up the minecraft_server.jar with a decompression program, i.e. 7zip
Install the ModLoaderMP and MCForge, if it's not happend yet.
DON'T (!) delete the META-INF folder!
copy all files and directories from the server version zip (CacaoTreeMod_v14_01_MP.zip) folder into the minecraft_server.jar
Save and close minecraft_server.jar
Now start the server. Done.
NOT AVAILABLE IN THE ACTUAL VERSION! WILL READD IT IN THE FUTURE!
You can now add alternate texture resolutions into your favorite texture pack, only if it have the supported resolutions! Supported resolutions are currently:
- 32x
More resolutions will come in the future! However, if you choose the right resolutions, follow these instructions:
If your texture pack is installed in the texturepacks folder (in your .minecraft directory):
a ) Open up the ZIP file of your texture pack, i.e. faithful32pack.zip, with a decompression program (i.e. 7zip)
b ) copy the �CocoaPlant� folder from �alternate_res\[WISHED RESOLUTION]� (i.e. �alternate_res\32x�) into the ZIP
c ) Save and close the ZIP file and start Minecraft with the edited texture pack. Done!
d ) Do you wish to uninstall the alternate resolution? Just delete the �CocoaPlant� folder in the ZIP of the texturepack
If your texture pack is installed in your minecraft.jar:
a ) Open up the minecraft.jar with a decompression program (i.e. 7zip)
b ) copy the �CocoaPlant� folder from �alternate_res\[WISHED RESOLUTION]� (i.e. �alternate_res\32x�) into the minecraft.jar
c ) Save and close the minecraft.jar and start Minecraft. Done!
d ) Do you wish to uninstall the alternate resolution? Just overwrite the �CocoaPlant� folder in the minecraft.jar with the �CocoaPlant� folder from the �Content in minecraft.jar� of the mod package.
The Cocoa Seeds:
These seeds are needed to plant the cacao trees. You have 2 ways to get these:
You can collect them by destroying tall grass. The chance that it will drop cocoa seeds is 1 (wheat seeds chance is 10).
You can craft them with one wheat seed and two cocoa beans (recipe is shapeless):
#o#, where # are cocoa beans and o are wheat seeds
The Cacao Trees:
The tree is the source of your cocoa bean addiction
However, they need the same conditions as wheat, dropping always one cocoa bean and 1-3 new cocoa seeds if they're fully grown (when the tree has brown dots). Just harvest them by destroying the trees. You can also fertilize them with bonemeal like wheat and they'll instantly grow.
The Chocolate Mass
Theses items are needed to craft chocolate bars and have other than that, no use. You can craft them with following recipe:
The Chocolate Bars
They taste delicious, but be careful! They may heal 1.5 hearts instantly but also reduce your hunger (a half hunger point, exactly)! Other than that, they are stackable up to 4 and are needed to craft choco milk. You get them by smelting chocolate mass in the furnace:
The Chocolate Milk
The chocolate milk is like a instant healing potion: You drink it and gain 1.5 hearts. It's not stackable and is crafted with a chocolate bar, a bucket of milk and a glass bottle to store all that stuff (you won't loose the bucket) like this:
The Chocolate Cake:
This cake acts the same like the normal cake, but there is one difference: If you eat one slice from this cake, you'll gain a half heart, so a full cake can heal you up to 3 hearts! (will be increased maybe). The chocolate cake is crafted with two choco milk bottles (you'll get the glass bottles back) one chocolate bar, two rose red (as a dye for the stuffing), one cocoa bean and 3 wheat:
How can you configure the mod? It's easy! The mod creates on the first start of minecraft with it a file names 'config.txt' in the ".minecraft/mods/CocoaPlants/" directory (for server: "[server_dir_with_minecraft_server.jar]/mods/CocoaPlants".
To configure the Mod, open up the config.txt with a text editor of your choice (I recommend Notepad++). The file should look like this:
Under [ Block IDs ] you can edit the IDs for the cacao tree and the choco cake block
Under [ Item IDs ] you can edit the IDs for the following Items: cocoa seeds, chocolate bar, chocolate mass, choco milk, choco cake item.
Under [ Achievement IDs ] you can edit the IDs for the 5 achievements.
Under [ Other Settings ] you can enable (true) or disable (false) the achievements (only Client), if you get conflicts with another achievements or just don't want them and you can enable (true) or disable (false) the additions from this mod.(chocolate mass, chocolate bar, choco milk, choco cake block and item).
If you disable this, the mod don't use the IDs for these!
Any conflicts with the Mod? Try these steps: Client
Make sure you deleted the META-INF folder!
Try a different data value, if you have other mods installed! More about this see above.
Try to reinstall the mod. Use your backup of the minecraft.jar.
Appears an error log? Post it in the forum. I'll try to help you! If you don't get an error log or it's gone too fast, run Minecraft in the console or post the ModLoader.txt in your .minecraft directory (if it crashes upon start).
If you don't get an error report and in the ModLoader.txt aren't any crash report either, use this:
http://dl.dropbox.co...raftConsole.zip - unpack anywhere, run the BAT, do what you did before so it will crash again, right mouse button -> select all, Ctrl + Enter to copy. Then, paste it on pastebin.com, and put a link to the paste in a post.
Server
Make sure you deleted the META-INF folder!
Try a different data value, if you have other mods installed! More about this see above.
Try to reinstall the mod. Use your backup of the minecraft.jar.
Appears an error log? Post it in the forum. I'll try to help you! If you don't get an error log, run the server without gui or post the ModLoader.txt from your server directory (if it crashes upon start).
v. 1.4_02
updated to MC 1.2.3
fixed bug in server, where you cannot start the server, because the mod tried to load itself twice
v. 1.4_01
updated to MC 1.1.0
v. 1.4
added MP support
added new items: choco milk and choco cake
added 2 new achievements
changed crafting recipe for cocoa seeds
cocoa seeds are collectible again by destroying tall grass
ported to MCForge
bugs:
Achievements don't work in multiplayer
older CL:
v. 1.3_03
Cacao trees dropping now correct (cocoa beans and cacao seeds)
edited texture (now brownish)
v. 1.3_02
updated to 1.0.0
removed: Using it's own terrain.png; This has messed up some things (I will readd this until MCForge is updated)
new config.txt
bugs/flaws:
reddish texture for chocolate bar, cocoa seeds and chocolate mass (since the new textures)
Cacao trees drops incorrect
v. 1.3_01
updated to 1.8.1
cocoa seeds are now craftable with wheat seeds and cocoa beans
no more editing original class files
v. 1.3
removed using terrain sprites. Mod uses now his own sprites.
bone meal support doesn't edit a class now! It's now integrated in the mod. Original km.class included in the package. Install it only if you installed an older version of this mod!
higher chance to earn cocoa seeds in rainforest biomes
bug fixed that after fertilizing with bone meal, the tree does only grow visible after a certain time (finally!). It instantly grows now!
bugs:
messed up achievement icon for achievement "Theobroma Cacao" - will be fixed in a moment fixed! This achievement uses now the icon of cocoa beans.
v. 1.2
added 2 new Items (chocolate bar and chocolate mass, removeable)
added 3 new achievements (disableable)
new crafting receipe (for the chocolate mass)
new config file config.txt with new configuration options, which loads the old config from the old config files BlockID.txt and ItemID.txt
bug fixed, that the mod uses a non-correct ID from the config for the cocoa seeds
v. 1.1:
Updated to 1.7.3
Added bone meal support
code optimization
bug fixed, that you changed the IDs in the BlockID.txt and/or ItemID.txt, the mod doesn't use them
bugs:
After fertilizing with bone meal, the tree does only grow visible after a certain time but harvesting works properly and directly after fertilizing.
Mod uses a non-correct ID from the config file ItemID.txt for the cocoa seeds (Config-ID + 256)
v. 1.0:
First release.
bugs:
When you change the IDs in the BlockID.txt and/or ItemID.txt, the mod doesn't use them
You can download the mod here:
Current download: Client - MC 1.2.3 - v. 1.4_02: Download Server - MC 1.2.3 - v. 1.4_02: Download
Old downloads:
Client - MC 1.1.0 - v. 1.4_01: Download Server - MC 1.1.0 - v. 1.4_01: Download Client - MC 1.0.0 - v. 1.4: Download Server - MC 1.0.1 - v. 1.4: Download
MC 1.0.0 - v. 1.3_02: Download
MC 1.0.0 - v. 1.3_02: Download
MC B1.8.1 - v. 1.3_01: Download
MC B1.7.3 - v. 1.3: Download
MC B1.7.3 - v. 1.2: Download
MC B1.7.3 - v. 1.1: Download
MC B1.6.6 - v. 1.0: Download
Do you want to see something from the mod? Here you can look at some screenshots from the Mod, made by me*:
Feel free to edit the current textures.
To edit the textures, open up the .png files in the Content in minecraft.jar/CocoaPlant directory with a image processing program of your choice, which can handle transparency, i.e. GIMP.
Save the edited files and add the whole directory to your minecraft.jar.
If you think your texture is better than mine, post it in the forum!
If you want to use my mod in your project, then use it, BUT credit me!
I really hope you enjoy this mod!
- [maybe] adding configuration variables for the achievement positions
- more alternate texture resolutions for the mod!
i REALLY like xie's farming mod... but its compatible with almost NOTHING.. honestly that mod uses and modifies so much crap.. its unbelievable.. maybe you can do a sort of lighter version of that mod.. becuase i've had to put it in file 13 due to the mass amount of class files it modifies..
plus with his mod all the things are way too easy to get.. maybe you could make this mod have stages... finding plants that spawn very rare in caves, or very high on mountains
and i don't want to farm vegetables... its minecraft! i wanna farm me some dragonninjaleafthingamobbobers! - don't make names too long but they shouldn't be.. real ya know..
i like apple trees.. but i've always thought you should be able to enchat them with a gold block (and when you plant it your tree has a 1/10 chance of giving you a golden apple - 1/10 becuase the golden apple crafting recipe requires 8 gold blocks this would just balance that out
crafting recipe would be:
goldbar = goldblock
redshroom = apple sapling
and i think farming should come in stages... ie when you start farming you can't get the best crops.. sometimes they die - you need to "enchant" your seedings with powers of great enchantment(ie if you mix bonemeal with a seedling it instantly gets a 50% higher chance of surviving)
-mixing a bonemeal seedling with a potiion of enchantment (made using ingrediants from plants and a vial) it will have a 100% chance of growing
-sometimes plants get diesies and you need a cure potion to make them grow (potions stack - and are all natural made from plant products)
-you can use pestisides to make sure your crops don't get deises (but nonorganic foods don't heal as much)
- maybe some seedlings need to be planted at high altitudes.. other deep underground
- maybe bonemeal doesn't make seedlings instantly grow, instead some may require up to 3 bonemeal depending on there current stage
That are good ideas my friend! I can make that plants have a chance to die while growing, but the enhancement surviving are actualy too complicated to modding for me. When I know how I mod this, then sure!
The apple plant are on my list of modding. I take your idea as-it-is and will credit you. Thx :smile.gif:
Also I (try to) make cocaine, which sets speed to 1.5 but health to 15 hearts. Thank you psidoughnym for your idea! I'll credit you too, when this mod are released.
But actually I haven't much time, so this takes time. When you have other ideas for other plants, just post it.
I cant install the mod.
I have allot of other mods installed,
Here's my modloader.txt
java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at ModLoader.addMod(ModLoader.java:215)
at ModLoader.readFromClassPath(ModLoader.java:1145)
at ModLoader.init(ModLoader.java:823)
at ModLoader.AddAllRenderers(ModLoader.java:124)
at tc.<init>(tc.java:60)
at tc.<clinit>(tc.java:9)
at net.minecraft.client.Minecraft.a(SourceFile:312)
at net.minecraft.client.Minecraft.run(SourceFile:683)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: Slot 187 is already occupied by ve@8b1a4f when adding BlockCocoaPlant@6c5482
at un.<init>(Unknown Source)
at vt.<init>(SourceFile:11)
at BlockCocoaPlant.<init>(Unknown Source)
at mod_CocoaPlant.<clinit>(Unknown Source)
... 15 more
Okay, then pls wait until the new version of this mod are up. There are a bug in the mod that does not set custom IDs from the BlockID.txt for the mod.
And I'll wait until a new version of MCP are up, because I've no time to edit the mappings in mcp.
Sorry for the DP, but does anybody knows a solution for this bug:
When I right-click with bone meal on a tree, then it doesn't change it's texture. After a while it changes the texture but when I harvest the tree directly after fertilizing, it drops like when it's fully grown.
I don't know where the problem is :/
If you want the source code of the modified part in the ItemDye.java, just ask per PM. The Source of the main mod are in the package.
(If I've ever made you depressed, saddened, humiliated, influenced to be suicidal, encouraged to murder, or vomit on old women from my posts, feel free to 1+ it.)
I'm also now on twitter! Follow me to have the newest development stats of my mods -> twitter profile
0. Informations
1. Requirements
2. Installation
3. Adding alternate texture resolutions into texture packs - NOT AVAILABLE ATM!
4. Ingame
5. Troubleshooting and Configuration
6. Changelog
7. Downloads
8. Screenshots
9. Video-Spotlight
10. Banner
11. Edit Textures
12. Additions
13. Planned Features
Do you lack out of cocoa beans or want more? Are you annoyed from the search for them in dungeons? Or do you want some more, chocolate based food? Then you should try this mod!
This mod adds cacao trees, cocoa seeds and optional 5 achievements, chocolate bars, choco milk and choco cake into Minecraft.
8 classes will be added. This Mod uses the data value 197 for the cacao tree, 198 for the choco cake block, from 6800 to 6804 for all items and from 1100 to 1104 for the achievements. All of it fully configurable!
This mod is for Minecraft ver. 1.2.3 (Server: 1.2.3). Do not use this mod besides 1.2.3 unless you use one of the older versions! But I won't give support when you use the older versions.
This mod needs some requirements to run properly:
Client
- Latest Version of Minecraft -> 1.2.3
- Latest Version of ModLoader from Risugami
- Latest MinecraftForge and it's requirements (ModLoaderMP[Client 1.2.3])
Server
- Latest Version of Minecraft Server -> 1.1.0
- Latest MinecraftForge (server version) and it's requirements (ModLoaderMP[Server 1.2.3])
Client
NOT AVAILABLE IN THE ACTUAL VERSION! WILL READD IT IN THE FUTURE!
-
32xMore resolutions will come in the future! However, if you choose the right resolutions, follow these instructions:
If your texture pack is installed in the texturepacks folder (in your .minecraft directory):
a ) Open up the ZIP file of your texture pack, i.e. faithful32pack.zip, with a decompression program (i.e. 7zip)
b ) copy the �CocoaPlant� folder from �alternate_res\[WISHED RESOLUTION]� (i.e. �alternate_res\32x�) into the ZIP
c ) Save and close the ZIP file and start Minecraft with the edited texture pack. Done!
d ) Do you wish to uninstall the alternate resolution? Just delete the �CocoaPlant� folder in the ZIP of the texturepack
If your texture pack is installed in your minecraft.jar:
a ) Open up the minecraft.jar with a decompression program (i.e. 7zip)
b ) copy the �CocoaPlant� folder from �alternate_res\[WISHED RESOLUTION]� (i.e. �alternate_res\32x�) into the minecraft.jar
c ) Save and close the minecraft.jar and start Minecraft. Done!
d ) Do you wish to uninstall the alternate resolution? Just overwrite the �CocoaPlant� folder in the minecraft.jar with the �CocoaPlant� folder from the �Content in minecraft.jar� of the mod package.
The Cocoa Seeds:
These seeds are needed to plant the cacao trees. You have 2 ways to get these:
The Cacao Trees:
The tree is the source of your cocoa bean addiction
However, they need the same conditions as wheat, dropping always one cocoa bean and 1-3 new cocoa seeds if they're fully grown (when the tree has brown dots). Just harvest them by destroying the trees. You can also fertilize them with bonemeal like wheat and they'll instantly grow.
The Chocolate Mass
Theses items are needed to craft chocolate bars and have other than that, no use. You can craft them with following recipe:
The Chocolate Bars
They taste delicious, but be careful! They may heal 1.5 hearts instantly but also reduce your hunger (a half hunger point, exactly)! Other than that, they are stackable up to 4 and are needed to craft choco milk. You get them by smelting chocolate mass in the furnace:
The Chocolate Milk
The chocolate milk is like a instant healing potion: You drink it and gain 1.5 hearts. It's not stackable and is crafted with a chocolate bar, a bucket of milk and a glass bottle to store all that stuff (you won't loose the bucket) like this:
The Chocolate Cake:
This cake acts the same like the normal cake, but there is one difference: If you eat one slice from this cake, you'll gain a half heart, so a full cake can heal you up to 3 hearts! (will be increased maybe). The chocolate cake is crafted with two choco milk bottles (you'll get the glass bottles back) one chocolate bar, two rose red (as a dye for the stuffing), one cocoa bean and 3 wheat:
How can you configure the mod? It's easy! The mod creates on the first start of minecraft with it a file names 'config.txt' in the ".minecraft/mods/CocoaPlants/" directory (for server: "[server_dir_with_minecraft_server.jar]/mods/CocoaPlants".
To configure the Mod, open up the config.txt with a text editor of your choice (I recommend Notepad++). The file should look like this:
Under [ Block IDs ] you can edit the IDs for the cacao tree and the choco cake block
Under [ Item IDs ] you can edit the IDs for the following Items: cocoa seeds, chocolate bar, chocolate mass, choco milk, choco cake item.
Under [ Achievement IDs ] you can edit the IDs for the 5 achievements.
Under [ Other Settings ] you can enable (true) or disable (false) the achievements (only Client), if you get conflicts with another achievements or just don't want them and you can enable (true) or disable (false) the additions from this mod.(chocolate mass, chocolate bar, choco milk, choco cake block and item).
If you disable this, the mod don't use the IDs for these!
Any conflicts with the Mod? Try these steps:
Client
Server
v. 1.4_02
v. 1.4_01
messed up achievement icon for achievement "Theobroma Cacao" - will be fixed in a momentfixed! This achievement uses now the icon of cocoa beans.v. 1.1:
v. 1.0:
You can download the mod here:
Current download:
Client - MC 1.2.3 - v. 1.4_02: Download
Server - MC 1.2.3 - v. 1.4_02: Download
Old downloads:
Server - MC 1.1.0 - v. 1.4_01: Download
Client - MC 1.0.0 - v. 1.4: Download
Server - MC 1.0.1 - v. 1.4: Download
MC 1.0.0 - v. 1.3_02: Download
MC 1.0.0 - v. 1.3_02: Download
MC B1.8.1 - v. 1.3_01: Download
MC B1.7.3 - v. 1.3: Download
MC B1.7.3 - v. 1.2: Download
MC B1.7.3 - v. 1.1: Download
MC B1.6.6 - v. 1.0: Download
Do you want to see something from the mod? Here you can look at some screenshots from the Mod, made by me*:
* ALL my screenshots are on my new cacao tree mod album on imgur.com:
http://imgur.com/a/KpQ7y
Do you want see some more about this? Here can you watch videos, made by the community!
Videos made with 1.4:
Videos made before 1.4:
Video made by cars676:
To support my mod, add one of this banner to your signature!
new small banner:
new medium banner:
old banner:
Feel free to edit the current textures.
To edit the textures, open up the .png files in the Content in minecraft.jar/CocoaPlant directory with a image processing program of your choice, which can handle transparency, i.e. GIMP.
Save the edited files and add the whole directory to your minecraft.jar.
If you think your texture is better than mine, post it in the forum!
If you want to use my mod in your project, then use it, BUT credit me!
I really hope you enjoy this mod!
- [maybe] adding configuration variables for the achievement positions
- more alternate texture resolutions for the mod!
I will add some pictures, but I must make some :wink.gif:
I've added some screenshots made by me and a video made by cars676 ( Thank you for that! :smile.gif: ).
What do you think about it? Is this a good idea?
That's not a problem, cause he uses trees. I using wheat-like plants. Also i planning other mods ^^
I'll notice that, but first I want make an other mod:
http://www.minecraftforum.net/topic/369858-glowstone-torches-with-pictures/page__st__20__p__5649129#entry5649129
That are good ideas my friend! I can make that plants have a chance to die while growing, but the enhancement surviving are actualy too complicated to modding for me. When I know how I mod this, then sure!
The apple plant are on my list of modding. I take your idea as-it-is and will credit you. Thx :smile.gif:
Also I (try to) make cocaine, which sets speed to 1.5 but health to 15 hearts. Thank you psidoughnym for your idea! I'll credit you too, when this mod are released.
But actually I haven't much time, so this takes time. When you have other ideas for other plants, just post it.
Okay, then pls wait until the new version of this mod are up. There are a bug in the mod that does not set custom IDs from the BlockID.txt for the mod.
And I'll wait until a new version of MCP are up, because I've no time to edit the mappings in mcp.
Sorry for that. :/
What about today? In 2-3 hours? ^^
Okay, I will add this. ^^
Ja, ich komme aus Deutschland ^^
Ich hoffe, dass ich es heut noch uploaden kann, da ich diverse Probleme mit dem Knochenmehl habe :/
english:
I hope, that I can upload it today, because I have several problems with the bone meal :/
When I right-click with bone meal on a tree, then it doesn't change it's texture. After a while it changes the texture but when I harvest the tree directly after fertilizing, it drops like when it's fully grown.
I don't know where the problem is :/
If you want the source code of the modified part in the ItemDye.java, just ask per PM. The Source of the main mod are in the package.
Thx for reply.
Otherwise great Mod good sir!
I will add 2 new achievements:
For the second, I have this idea for a title and description:
TITLE: Cookie Monster
DESC: Craft a cookie with wheat and cocoa beans
For the first I have no idea :/ It would be great when you can post your ideas!
I think it's possible. I need only to know what resolution are mostly desired. I'll including a poll.
And don't forget this ^^
Yes, I know. ^^
Why?