Added a README file and updated the justfile
parent
8f29acdc24
commit
2f9239bc28
|
@ -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.
|
19
justfile
19
justfile
|
@ -1,11 +1,22 @@
|
||||||
|
set export
|
||||||
|
|
||||||
|
modName := "finalbeta"
|
||||||
|
modVersion := "1.4.0"
|
||||||
|
|
||||||
setup:
|
setup:
|
||||||
./cleanup.sh
|
./cleanup.sh
|
||||||
./decompile.sh
|
./decompile.sh
|
||||||
(cd ./src/minecraft/net/minecraft/src && git init && git add . && git commit -m "Setup")
|
|
||||||
|
|
||||||
[working-directory: './src/minecraft/net/minecraft/src/']
|
[working-directory: './src/minecraft/net/minecraft/src/']
|
||||||
apply-patch:
|
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/']
|
[working-directory: './src/minecraft/net/minecraft/src/']
|
||||||
create-patch:
|
create-patch:
|
||||||
|
@ -18,7 +29,9 @@ create-patch:
|
||||||
done)
|
done)
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
# Delete previous builds
|
||||||
|
fd . './builds' -e .zip --exec rm
|
||||||
just create-patch
|
just create-patch
|
||||||
./recompile.sh
|
./recompile.sh
|
||||||
./reobfuscate.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" ./*)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
--- BlockBed.java.bak 2025-04-04 22:37:36.783594425 +0300
|
--- BlockBed.java.bak 2025-04-04 22:37:36.783594000 +0300
|
||||||
+++ BlockBed.java 2025-04-04 22:37:07.542945648 +0300
|
+++ BlockBed.java 2025-04-04 23:36:32.041452482 +0300
|
||||||
@@ -22,6 +22,9 @@
|
@@ -22,6 +22,9 @@
|
||||||
|
|
||||||
public boolean blockActivated(World world, int i, int j, int k, EntityPlayer entityplayer)
|
public boolean blockActivated(World world, int i, int j, int k, EntityPlayer entityplayer)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
--- BlockReed.java.bak 2025-04-04 22:55:28.995768000 +0300
|
--- 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 @@
|
@@ -50,7 +50,7 @@
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue