Added a README file and updated the justfile

master
Wynd 2025-04-05 00:04:44 +03:00
parent 8f29acdc24
commit 2f9239bc28
4 changed files with 22 additions and 6 deletions

3
README.md 100644
View File

@ -0,0 +1,3 @@
# Final Beta
A rewrite from the [original (Cursed) Fabric mod](https://git.pixelatedw.xyz/wynd/finalbeta) for Minecraft Beta 1.7.3 that adds some quality of life changes and fixes some issues.

View File

@ -1,11 +1,22 @@
set export
modName := "finalbeta"
modVersion := "1.4.0"
setup:
./cleanup.sh
./decompile.sh
(cd ./src/minecraft/net/minecraft/src && git init && git add . && git commit -m "Setup")
[working-directory: './src/minecraft/net/minecraft/src/']
apply-patch:
git apply ./finalbeta/mod.patch
#!/usr/bin/env bash
(for file in $(fd --no-ignore ".java.bak"); do
core="${file/.bak/}"
patch="${core}.patch"
rm "$core"
cp "$file" "$core"
patch < "$patch"
done)
[working-directory: './src/minecraft/net/minecraft/src/']
create-patch:
@ -18,7 +29,9 @@ create-patch:
done)
build:
# Delete previous builds
fd . './builds' -e .zip --exec rm
just create-patch
./recompile.sh
./reobfuscate.sh
(cd ./reobf/minecraft && zip -r "../../builds/finalbeta-1.4.0-modloader.zip" ./*)
(cd ./reobf/minecraft && zip -r "../../builds/${modName}-${modVersion}-modloader.zip" ./*)

View File

@ -1,5 +1,5 @@
--- BlockBed.java.bak 2025-04-04 22:37:36.783594425 +0300
+++ BlockBed.java 2025-04-04 22:37:07.542945648 +0300
--- BlockBed.java.bak 2025-04-04 22:37:36.783594000 +0300
+++ BlockBed.java 2025-04-04 23:36:32.041452482 +0300
@@ -22,6 +22,9 @@
public boolean blockActivated(World world, int i, int j, int k, EntityPlayer entityplayer)

View File

@ -1,5 +1,5 @@
--- BlockReed.java.bak 2025-04-04 22:55:28.995768000 +0300
+++ BlockReed.java 2025-04-04 22:56:15.585222322 +0300
+++ BlockReed.java 2025-04-04 23:43:43.870642705 +0300
@@ -50,7 +50,7 @@
{
return true;