Skip to content

Instantly share code, notes, and snippets.

@shinji257
Created October 29, 2015 23:29
Show Gist options
  • Save shinji257/08fdd9def308a45e84cc to your computer and use it in GitHub Desktop.
Save shinji257/08fdd9def308a45e84cc to your computer and use it in GitHub Desktop.
Modify forge for old bungeecord builds
Prep -- Clean and reset git repo...
1) Open patches/minecraft/net/minecraft/network/handshake/client/C00Handshake.java.patch
2) Modify line 35 to read this...
+ p_148840_1_.func_180714_a(this.field_149598_b/* + "\0FML\0"*/);
3) Run this code...
export BUILD_NUMBER=#
./gradlew ciWriteBuildNumber
./gradlew build
Notes:
BUILD_NUMBER -- must be set to a build number (no suffix due to 2nd line)
src/main/java/net/minecraftforge/common/ForgeVersion.java -- buildVersion == 0 here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment