Minecraft / Mods

[V0.4][Open Source] Minecraft Cookie Clicker - Some new stuff!

  • 22
  • 9
  • comment77
  • playlist_add
  • share
  • more_horiz
avatar Jt9
Level 67 : High Grandmaster Modder
250

Minecraft Cookie Clicker
V 0.4
Whats new:
Implemented upgrade system
Added tier 1 upgrades
This version may be buggy

Description
Here is a small program coded in Java that I made in a few hours because I was bored. It's pretty much just Cookie Clicker, but  Minecraft version. There isn't much in it right now, but I will continue to add more to it over time.
Here is the original game.

"An advanced game with incredibly strategic strategies." - IGN

"14/10" - Riot Games

"Where has this been all my life?" - Steve

How To Play:
Click the big cookie to earn cookies.
You can use these cookies to buy buildings to increase your CPS (Cookies Per Second).
More CPS = More Cookies = More Buildings
Yeah, that's pretty much it.

Buildings:
(Prices go up by 15% every purchase)

Piston Clicker
Auto-clicks your cookies.
Base Price: 15
CPS: 0.3

Baker Villager
A nice villager to bake you more cookies!
Base Price: 50
CPS: 1.2

Farm
A farm to grow more cookies.
Base Price: 200
CPS: 4.1

Redstone Factory
A factory powered by redstone that turns wheat into cookies.
Base Price: 500
CPS: 9.4

Mine
Mines redstone to power your factories.
Base Price: 1500
CPS: 19.2

Minecart Shipment
A minecart shipment that grabs cookies from faraway lands.
Base Price: 5000
CPS: 40.6

Alchemy Lab
Creates splash potions of cookieness.
Base Price:
12000
CPS: 100

Nether Portal
A portal that gives access to cookies in the Nether.
Base Price: 25000
CPS: 500

Upgrades
You can upgrade your buildings in the upgrade section.
Building upgrades are unlocked by haing more buildings.
Cookie upgrades are unlocked by clicking the cookie

Reset Button:
Be careful with this button.

Things to add:
More buildings
Ability to sell buildings
Upgrades
More stuff

Source code:
Download
Progress100% complete
Game VersionMinecraft 1.8
Tags

4 Update Logs

Update #4 : 11/16/2014 6:02:31 amNov 16th, 2014

Implemented upgrade system
Added tier 1 upgrades
LOAD MORE LOGS

Comments : 77

star Login or register to post a comment.

Show Comments

1 - 50 of 77

  • Jt9
  • Level 67
  • High Grandmaster Modder
  • December 2, 2015, 1:48 am
The code is actually very messy and a lot of it is inefficient btw
  • NinGamerPC
  • Level 1
  • New Miner
  • November 13, 2015, 3:00 pm
this is such a stupid idea....


ill try it XD

(jk i actually kinda like this idea)
  • bob8764321
  • Level 1
  • New Miner
  • March 28, 2015, 5:52 am
LOL found a bug.
when you have an upgrade that you did not buy, and you reset, the upgrade will still be there.
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • January 31, 2015, 3:29 am
If anyone sees this and wonders why it hasn't been updated in a while it's because I sort of cleaned up the code and broke it at the same time and that means I really just broke it. Perhaps I will come back to this project sometime in the future
  • bob8764321
  • Level 1
  • New Miner
  • March 27, 2015, 3:09 pm
Can I Take over Development of MCookieClicker?
  • bob8764321
  • Level 1
  • New Miner
  • November 27, 2014, 1:16 pm
<br data-mce-bogus="1">?
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 23, 2014, 10:50 pm
It seems that many people are having problems opening the file.
If you can't open it, try doing this:
1. Open command prompt / terminal
2. Type java -jar (insert directory of jar file)/MinecraftClicker.jar
3. PM me what the console output says
  • bob8764321
  • Level 1
  • New Miner
  • March 27, 2015, 12:04 pm
C:\Users\****>java -jar C:\Users\Joey\Desktop\MinecraftClicker.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: Main : Unsupp
orted major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoa
der.java:56)
  • Passssi27
  • Level 1
  • New Miner
  • November 24, 2014, 2:24 am
Dont understand you... :(
Can you say this exactlier???
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 24, 2014, 3:57 am
Run the jar file from the download in terminal or command prompt and send me what it says
  • Passssi27
  • Level 1
  • New Miner
  • November 24, 2014, 5:03 am
Sorry but im from germany and just  a noob in pc, so what is a terminal or command prompt? ;D
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 27, 2014, 3:19 pm
google it
  • Passssi27
  • Level 1
  • New Miner
  • November 23, 2014, 9:27 am
How can i start the progarm?
There is a java file and if i click on it nothing happens.
So what should I do??
  • bob8764321
  • Level 1
  • New Miner
  • November 27, 2014, 6:28 pm
use eclipse
  • bob8764321
  • Level 1
  • New Miner
  • November 28, 2014, 5:07 am
Or use java JDK or JRE
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 23, 2014, 10:51 pm
see post above
I cant start the programm; did i had to use java 8? because it wont start with java 7.45
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 23, 2014, 10:51 pm
see post above
  • Blurgzy_
  • Level 10
  • Journeyman Archer
  • November 20, 2014, 10:28 am
I got idea make it online.
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 23, 2014, 10:51 pm
see post above
how do i install it
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 17, 2014, 9:46 pm
You press the download button.
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 17, 2014, 9:47 pm
That wasn't sarcasm btw
ok i download it but i cant open it
  • bob8764321
  • Level 1
  • New Miner
  • March 27, 2015, 3:49 pm
see post above
  • Johnanater
  • Level 15
  • Journeyman Taco
  • November 16, 2014, 5:58 pm
Cool
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 16, 2014, 4:53 am
Next update: Next level of upgrades, 2 more buildings, put menu as a tab on the right, format numbers to have commas, minimize option, and maybe some other stuff.
  • TheLarsinator
  • Level 87
  • Elite Ghast Rider
  • November 16, 2014, 5:04 am
While you are at it, maybe increase the size of the textboxes.... Once you own a few portals the owned get pushed to a new line, making it look a bit less pretty: http://prntscr.com/56ycxz
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 16, 2014, 4:31 am
I am going to add a minimize button...one day...
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 16, 2014, 4:33 am
setState(Frame.ICONIFIED);
  • TheLarsinator
  • Level 87
  • Elite Ghast Rider
  • November 16, 2014, 1:45 am
The download link is to the old version...
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 16, 2014, 2:05 am
Woops, I fixed it :P
  • TheLarsinator
  • Level 87
  • Elite Ghast Rider
  • November 16, 2014, 2:46 am
nvm, when I clicked the cookie for the first time, it updated to my previous progress
  • TheLarsinator
  • Level 87
  • Elite Ghast Rider
  • November 16, 2014, 2:45 am
Any way to continue where I left on the previous version?
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 16, 2014, 4:27 am
What do you mean?
  • TheLarsinator
  • Level 87
  • Elite Ghast Rider
  • November 16, 2014, 1:44 am
Yay!
  • BlackHawk185
  • Level 35
  • Artisan Pixel Painter
  • November 14, 2014, 7:12 am
You sir are a GENIUS!
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 15, 2014, 5:13 pm
Thank you very much, sir
  • TheLarsinator
  • Level 87
  • Elite Ghast Rider
  • November 14, 2014, 4:53 am
Really like it! Am looking forward to the upgrades! prntscr.com/569se8
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 15, 2014, 5:13 pm
Upgrades a slightly buggy, I need to do a few tests :P
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 14, 2014, 2:58 am
Finished coding upgrade system.
  • DAP
  • Retired Moderator
  • Level 26
  • Expert Dragon
  • November 13, 2014, 4:52 pm
  • bob8764321
  • Level 1
  • New Miner
  • November 28, 2014, 5:09 am
Dude. I have 1 BILLION cookies.
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 13, 2014, 9:51 pm
I think you won :3
  • nelson2tm
  • Level 30
  • Artisan Electrician
  • November 13, 2014, 1:39 am
Nice! Maybe an idea: achievements ;)
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 13, 2014, 2:33 am
Likely to be added in the future
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 12, 2014, 9:56 pm
If it doesn't work for you it means that your Java version is not compatible
  • BaconandBacon
  • Level 25
  • Expert Blockhead
  • November 12, 2014, 10:58 am
When I double click, I get nothing.
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 12, 2014, 9:57 pm
It's probably your Java version
  • bob8764321
  • Level 1
  • New Miner
  • March 27, 2015, 4:14 pm
it's Jt9's problem. once i exported the .jar when i was working in it,  it worked.
I use java 8, is that correct?
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 13, 2014, 2:33 am
What version of Java 8 do you use?
What do you mean?
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 13, 2014, 2:44 am
What should I be on?
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 13, 2014, 2:50 am
I'm using Java 8 update 20
Link for download?
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 13, 2014, 3:01 am
idk
I'll just find it. Thanks for the help! :)
  • TreeOfYew
  • Level 15
  • Journeyman Dragonborn
  • November 12, 2014, 9:24 am
Nice to see some core Java applet development, checked the source code, slightly messy and all in one class file but I think I can deal with it ;) anyways, keep going, I'd like to see how this goes:)
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 12, 2014, 9:55 pm
I kept adding stuff to the same file, so it's getting larger than I had expected and it's staring to get annoying finding a piece of code that I need to edit. I've already started spacing the code out and cleaning a few things :P
  • SocialP2
  • Level 22
  • Expert Spelunker
  • November 12, 2014, 6:34 am
Cant load
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 12, 2014, 9:57 pm
It's probably your Java version
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 12, 2014, 1:54 am
Next update: Reset option + More Buildings
Update after that: Probably upgrades
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 12, 2014, 12:38 am
Finished writing the load and save method along with an autosave function. Also added backgrounds. Going to write a menu system and then post it here
  • deadrecon98
  • Level 35
  • Artisan Programmer
  • November 11, 2014, 2:16 pm
Nice! You should add in a saving method and make it harder to get stuff though. Other than that great job!


(I would also love to see some source for this, I feel like I could learn some stuff.)
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 12, 2014, 12:38 am
I will post the source file and the resources (images + font) after the next update :)
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 12, 2014, 1:50 am
Source code is up.
  • deadrecon98
  • Level 35
  • Artisan Programmer
  • November 12, 2014, 2:15 am
Thanks a ton! ;D
  • 33kingkiller
  • Level 51
  • Grandmaster Programmer
  • November 11, 2014, 4:52 am
Hmm... Double-clicked the .jar and nothing happened... I then made a .bat to run it through a console so I could see what was going wrong and got this:

[code]Exception in thread "main" java.lang.UnsupportedClassVersionError: Main : Unsupp
orted major.minor version 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoa
der.java:56)
[/code]
Which leads me to believe that my version of java (7 u71) is too high (or maybe even too low) for the program... I might experiment around with this.
  • Jt9
  • Level 67
  • High Grandmaster Modder
  • November 11, 2014, 4:57 am
I am using java 8 u-something
  • 33kingkiller
  • Level 51
  • Grandmaster Programmer
  • November 11, 2014, 4:59 pm
u52 I assume. Yeah, that's definetely the reason. I probably won't update to 8 any time soon due to the fact that Java 8 is still pretty buggy. I will ,however, recommend this to my friend running 8. Nice work!

1 - 50 of 77

Show Comments

Planet Minecraft

Browse

Site

© 2010 - 2019
planetminecraft.com

Welcome