Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
torralbaa committed Mar 7, 2021
0 parents commit 3c09b43
Show file tree
Hide file tree
Showing 10 changed files with 532 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
all:
mkdir -p ./build/mc4k/
mkdir -p ./build/res/
javac -d ./build/ ./mc4k/Minecraft4K.java
cp ./res/Manifest.txt ./build/
cp ./res/textures.dat ./build/res/
cd build && jar cfm Minecraft4K.jar Manifest.txt mc4k/* res/*
38 changes: 38 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# mc4k

Minecraft 4K, but fixed.

## Building and usage
To build this, do:
```sh
make
```
That will generate an executable JAR file under the `build/` directory, run it like:
```sh
java -jar ./build/Minecraft4K.jar
```

## Block types
+ `1`: Grass
+ `2`: Dirt
+ `3`: Diamond
+ `4`: Stone
+ `5`: Bricks
+ `6`: Dirt
+ `7`: Wood
+ `8`: Leaves
+ `9`: Blue bricks
+ `10-15`: Dirt

## Controls
+ Movement: `"WASD"`
+ Next block: Left arrow
+ Previous block: Right arrow
+ Save world: `'G'`
+ Load world: `'C'`
+ Quit: `Esc`

## Credits and licensing
I don't even know from where the original code comes, but I downloaded it from a [post](https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/1290821-minecraft-4k-improved-by-crunchycat-download-now?comment=60) in the MCForums. It looks like it was a modified version of the original reverse-engineered Minecraft 4K code.

All my modifications were made for the only purpose of making it more playable, feel free to modify and distribute them.
2 changes: 2 additions & 0 deletions build/Manifest.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Manifest-Version: 1.0
Main-Class: mc4k.Minecraft4K
Binary file added build/Minecraft4K.jar
Binary file not shown.
Binary file added build/mc4k/Minecraft4K$1.class
Binary file not shown.
Binary file added build/mc4k/Minecraft4K.class
Binary file not shown.
Binary file added build/res/textures.dat
Binary file not shown.
Loading

0 comments on commit 3c09b43

Please sign in to comment.