Compare commits
10 Commits
39722e5fec
...
1283068e18
Author | SHA1 | Date | |
---|---|---|---|
|
1283068e18 | ||
|
0adb692c53 | ||
|
87a79edf72 | ||
|
f53ccbf796 | ||
|
e5fa84f411 | ||
|
be661b51f2 | ||
|
2dbebbd2ea | ||
|
f6b7cd2b06 | ||
|
7ad874b27a | ||
|
4c2def847a |
11
README.md
11
README.md
|
@ -1,6 +1,6 @@
|
|||
# Minecraft Alpha-v1.2.6
|
||||
|
||||
This is based off of real Minecraft Alpha v1.2.6, the decompiled source code has been ported to TeaVM with as minimal changes as possible. Worlds and settings are saved to your browsers local storage using IndexedDB, the reason why the world size's are so large is because I had to leave them uncompressed, whenever I tried to compress them using `CompressedStreamTools`, TeaVM would get stuck on an infinite loop. A newly generated world may take up around 20 MBs.
|
||||
This is based off of real Minecraft Alpha v1.2.6, the decompiled source code has been ported to TeaVM with as minimal changes as possible. Worlds and settings are saved to your browsers local storage using IndexedDB, worlds are compressed using jzlib's `GZIP`, existing uncompressed worlds will be loaded uncompressed and be compressed when the game writes to the file.
|
||||
|
||||
![Screenshot (23)](https://github.com/PeytonPlayz595/Alpha-v1.2.6/assets/106421860/84c133e9-935e-4edf-8ced-66b752bc5800)
|
||||
|
||||
|
@ -11,19 +11,22 @@ This is based off of real Minecraft Alpha v1.2.6, the decompiled source code has
|
|||
# Making a client
|
||||
|
||||
### Gradle
|
||||
After modifying files in `src/main/java` you can compile your changes to the javascript client by running `gradlew generatejavascript`, for linux run `./gradlew generatejavascript`. This will then transpile the Java code into javascript files in `/web/js`.
|
||||
After modifying files in `src/main/java` you can compile your changes to the javascript client by running `gradlew generatejavascript`, for linux run `./gradlew generatejavascript`. This will then transpile the Java code into javascript files in `web/js/`.
|
||||
|
||||
### Textures
|
||||
The textures are compiled into `resources.mc` using [Laxdude](https://github.com/lax1dude)'s EPK Compiler. The resources are located in `/resources`, after modifying the resources you can compile them using `CompileEPK`, and for Linux use `./CompileEPK.sh`.
|
||||
The textures are compiled into `resources.mc` using [Laxdude](https://github.com/lax1dude)'s EPK Compiler. The resources are located in `resources/`, after modifying the resources you can compile them using `CompileEPK`, and for Linux use `./CompileEPK.sh`.
|
||||
|
||||
### Offline Download
|
||||
As of right now there is no system to compile an offline download, so you will have to manually copy and paste the javascript from `/web/js/app.js` into the HTML file, for the `resources.mc` just encode the file using [Base64](https://www.base64encode.org/) and paste it into the assets div.
|
||||
As of right now there is no system to compile an offline download, so you will have to manually copy and paste the javascript from `web/js/app.js` into the HTML file, for the `resources.mc` just encode the file using [Base64](https://www.base64encode.org/) and paste it into the assets div.
|
||||
|
||||
# Muliplayer
|
||||
Multiplayer has been removed because I am too lazy to rewrite it, unless you're planning on porting it yourself, do NOT ask for multiplayer, it will NOT be added anytime soon!
|
||||
|
||||
If you do want to try to port it then I would recommend using a diff of Alpha v1.2.6 and this project to port the original code back over, all packet classes and networking code has been completely removed.
|
||||
|
||||
# Texture Packs
|
||||
This is pretty much self explanitory, just make sure the textures have the same structure as in `resources/`, and then add it to a ZIP file, if a texture pack does not work then most likely it is not for this version of Minecraft. You're probably gonna have to make your own texture pack, texture packs for Alpha are very rare these days.
|
||||
|
||||
# How to decompile older Minecraft versions
|
||||
To decompile older Minecraft versions you can use RetroMCP!
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
BIN
resources/music/calm1.mp3
Normal file
BIN
resources/music/calm1.mp3
Normal file
Binary file not shown.
BIN
resources/music/calm2.mp3
Normal file
BIN
resources/music/calm2.mp3
Normal file
Binary file not shown.
BIN
resources/music/calm3.mp3
Normal file
BIN
resources/music/calm3.mp3
Normal file
Binary file not shown.
BIN
resources/newMusic/hal1.mp3
Normal file
BIN
resources/newMusic/hal1.mp3
Normal file
Binary file not shown.
BIN
resources/newMusic/hal2.mp3
Normal file
BIN
resources/newMusic/hal2.mp3
Normal file
Binary file not shown.
BIN
resources/newMusic/hal3.mp3
Normal file
BIN
resources/newMusic/hal3.mp3
Normal file
Binary file not shown.
BIN
resources/newMusic/hal4.mp3
Normal file
BIN
resources/newMusic/hal4.mp3
Normal file
Binary file not shown.
BIN
resources/newMusic/nuance1.mp3
Normal file
BIN
resources/newMusic/nuance1.mp3
Normal file
Binary file not shown.
BIN
resources/newMusic/nuance2.mp3
Normal file
BIN
resources/newMusic/nuance2.mp3
Normal file
Binary file not shown.
BIN
resources/newMusic/piano1.mp3
Normal file
BIN
resources/newMusic/piano1.mp3
Normal file
Binary file not shown.
BIN
resources/newMusic/piano2.mp3
Normal file
BIN
resources/newMusic/piano2.mp3
Normal file
Binary file not shown.
BIN
resources/newMusic/piano3.mp3
Normal file
BIN
resources/newMusic/piano3.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/ambient/cave/cave1.mp3
Normal file
BIN
resources/sounds/ambient/cave/cave1.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/ambient/cave/cave2.mp3
Normal file
BIN
resources/sounds/ambient/cave/cave2.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/ambient/cave/cave3.mp3
Normal file
BIN
resources/sounds/ambient/cave/cave3.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/ambient/cave/cave4.mp3
Normal file
BIN
resources/sounds/ambient/cave/cave4.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/ambient/weather/rain1.ogg
Normal file
BIN
resources/sounds/ambient/weather/rain1.ogg
Normal file
Binary file not shown.
BIN
resources/sounds/ambient/weather/rain2.ogg
Normal file
BIN
resources/sounds/ambient/weather/rain2.ogg
Normal file
Binary file not shown.
BIN
resources/sounds/ambient/weather/rain3.ogg
Normal file
BIN
resources/sounds/ambient/weather/rain3.ogg
Normal file
Binary file not shown.
BIN
resources/sounds/ambient/weather/rain4.ogg
Normal file
BIN
resources/sounds/ambient/weather/rain4.ogg
Normal file
Binary file not shown.
BIN
resources/sounds/ambient/weather/thunder1.ogg
Normal file
BIN
resources/sounds/ambient/weather/thunder1.ogg
Normal file
Binary file not shown.
BIN
resources/sounds/ambient/weather/thunder2.ogg
Normal file
BIN
resources/sounds/ambient/weather/thunder2.ogg
Normal file
Binary file not shown.
BIN
resources/sounds/ambient/weather/thunder3.ogg
Normal file
BIN
resources/sounds/ambient/weather/thunder3.ogg
Normal file
Binary file not shown.
BIN
resources/sounds/damage/fallbig1.mp3
Normal file
BIN
resources/sounds/damage/fallbig1.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/damage/fallbig2.mp3
Normal file
BIN
resources/sounds/damage/fallbig2.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/damage/fallsmall.mp3
Normal file
BIN
resources/sounds/damage/fallsmall.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/damage/hurtflesh1.mp3
Normal file
BIN
resources/sounds/damage/hurtflesh1.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/damage/hurtflesh2.mp3
Normal file
BIN
resources/sounds/damage/hurtflesh2.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/damage/hurtflesh3.mp3
Normal file
BIN
resources/sounds/damage/hurtflesh3.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/liquid/lava.mp3
Normal file
BIN
resources/sounds/liquid/lava.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/liquid/lavapop.mp3
Normal file
BIN
resources/sounds/liquid/lavapop.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/liquid/splash.mp3
Normal file
BIN
resources/sounds/liquid/splash.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/liquid/water.mp3
Normal file
BIN
resources/sounds/liquid/water.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/chicken1.mp3
Normal file
BIN
resources/sounds/mob/chicken1.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/chicken2.mp3
Normal file
BIN
resources/sounds/mob/chicken2.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/chicken3.mp3
Normal file
BIN
resources/sounds/mob/chicken3.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/chickenhurt1.mp3
Normal file
BIN
resources/sounds/mob/chickenhurt1.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/chickenhurt2.mp3
Normal file
BIN
resources/sounds/mob/chickenhurt2.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/chickenplop.mp3
Normal file
BIN
resources/sounds/mob/chickenplop.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/cow1.mp3
Normal file
BIN
resources/sounds/mob/cow1.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/cow2.mp3
Normal file
BIN
resources/sounds/mob/cow2.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/cow3.mp3
Normal file
BIN
resources/sounds/mob/cow3.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/cow4.mp3
Normal file
BIN
resources/sounds/mob/cow4.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/cowhurt1.mp3
Normal file
BIN
resources/sounds/mob/cowhurt1.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/cowhurt2.mp3
Normal file
BIN
resources/sounds/mob/cowhurt2.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/cowhurt3.mp3
Normal file
BIN
resources/sounds/mob/cowhurt3.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/creeper1.mp3
Normal file
BIN
resources/sounds/mob/creeper1.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/creeper2.mp3
Normal file
BIN
resources/sounds/mob/creeper2.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/creeper3.mp3
Normal file
BIN
resources/sounds/mob/creeper3.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/creeper4.mp3
Normal file
BIN
resources/sounds/mob/creeper4.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/creeperdeath.mp3
Normal file
BIN
resources/sounds/mob/creeperdeath.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/ghast/affectionate scream.mp3
Normal file
BIN
resources/sounds/mob/ghast/affectionate scream.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/ghast/charge.mp3
Normal file
BIN
resources/sounds/mob/ghast/charge.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/ghast/death.mp3
Normal file
BIN
resources/sounds/mob/ghast/death.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/ghast/fireball4.mp3
Normal file
BIN
resources/sounds/mob/ghast/fireball4.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/ghast/moan1.mp3
Normal file
BIN
resources/sounds/mob/ghast/moan1.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/ghast/moan2.mp3
Normal file
BIN
resources/sounds/mob/ghast/moan2.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/ghast/moan3.mp3
Normal file
BIN
resources/sounds/mob/ghast/moan3.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/ghast/moan4.mp3
Normal file
BIN
resources/sounds/mob/ghast/moan4.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/ghast/moan5.mp3
Normal file
BIN
resources/sounds/mob/ghast/moan5.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/ghast/moan6.mp3
Normal file
BIN
resources/sounds/mob/ghast/moan6.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/ghast/moan7.mp3
Normal file
BIN
resources/sounds/mob/ghast/moan7.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/ghast/scream1.mp3
Normal file
BIN
resources/sounds/mob/ghast/scream1.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/ghast/scream2.mp3
Normal file
BIN
resources/sounds/mob/ghast/scream2.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/ghast/scream3.mp3
Normal file
BIN
resources/sounds/mob/ghast/scream3.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/ghast/scream4.mp3
Normal file
BIN
resources/sounds/mob/ghast/scream4.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/ghast/scream5.mp3
Normal file
BIN
resources/sounds/mob/ghast/scream5.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/pig1.mp3
Normal file
BIN
resources/sounds/mob/pig1.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/pig2.mp3
Normal file
BIN
resources/sounds/mob/pig2.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/pig3.mp3
Normal file
BIN
resources/sounds/mob/pig3.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/pigdeath.mp3
Normal file
BIN
resources/sounds/mob/pigdeath.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/sheep1.mp3
Normal file
BIN
resources/sounds/mob/sheep1.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/sheep2.mp3
Normal file
BIN
resources/sounds/mob/sheep2.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/sheep3.mp3
Normal file
BIN
resources/sounds/mob/sheep3.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/skeleton1.mp3
Normal file
BIN
resources/sounds/mob/skeleton1.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/skeleton2.mp3
Normal file
BIN
resources/sounds/mob/skeleton2.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/skeleton3.mp3
Normal file
BIN
resources/sounds/mob/skeleton3.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/skeletondeath.mp3
Normal file
BIN
resources/sounds/mob/skeletondeath.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/skeletonhurt1.mp3
Normal file
BIN
resources/sounds/mob/skeletonhurt1.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/skeletonhurt2.mp3
Normal file
BIN
resources/sounds/mob/skeletonhurt2.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/skeletonhurt3.mp3
Normal file
BIN
resources/sounds/mob/skeletonhurt3.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/skeletonhurt4.mp3
Normal file
BIN
resources/sounds/mob/skeletonhurt4.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/slime1.mp3
Normal file
BIN
resources/sounds/mob/slime1.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/slime2.mp3
Normal file
BIN
resources/sounds/mob/slime2.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/slime3.mp3
Normal file
BIN
resources/sounds/mob/slime3.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/slime4.mp3
Normal file
BIN
resources/sounds/mob/slime4.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/slime5.mp3
Normal file
BIN
resources/sounds/mob/slime5.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/slimeattack1.mp3
Normal file
BIN
resources/sounds/mob/slimeattack1.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/slimeattack2.mp3
Normal file
BIN
resources/sounds/mob/slimeattack2.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/spider1.mp3
Normal file
BIN
resources/sounds/mob/spider1.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/spider2.mp3
Normal file
BIN
resources/sounds/mob/spider2.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/spider3.mp3
Normal file
BIN
resources/sounds/mob/spider3.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/spider4.mp3
Normal file
BIN
resources/sounds/mob/spider4.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/spiderdeath.mp3
Normal file
BIN
resources/sounds/mob/spiderdeath.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/wolf/bark1.mp3
Normal file
BIN
resources/sounds/mob/wolf/bark1.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/wolf/bark2.mp3
Normal file
BIN
resources/sounds/mob/wolf/bark2.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/wolf/bark3.mp3
Normal file
BIN
resources/sounds/mob/wolf/bark3.mp3
Normal file
Binary file not shown.
BIN
resources/sounds/mob/wolf/death.mp3
Normal file
BIN
resources/sounds/mob/wolf/death.mp3
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user