Skip to content

Conversation

@spode-sleep
Copy link

@spode-sleep spode-sleep commented Oct 4, 2024

Problem:

Issue #133 , crash on startup

Solution:

Skip enchantments with unknown type.

@ContentRonin
Copy link

Sorry, I'm not very knowledgeable about this kind of stuff. Have you successfully implemented this locally on your device? If so how did you go about doing that? Any walkthrough you can point me toward?

@spode-sleep
Copy link
Author

spode-sleep commented Apr 9, 2025

Sorry, I'm not very knowledgeable about this kind of stuff. Have you successfully implemented this locally on your device? If so how did you go about doing that? Any walkthrough you can point me toward?

No problem at all! I'm not exactly a Java expert, but I'll do my best to help.

First of all, you'll need JDK 17 to build this project. You'll also need to install Git for some reason. You can easily find installation instructions online.

Create an empty folder where you want to work.

If you're on Windows:
Click on the address bar in the folder, type cmd, and press Enter. This will open the console. Then run the following commands:

git clone git@github.com:spode-sleep/luckyblock.git
cd luckyblock
./gradlew dependencies --write-locks
./gradlew :fabric:build   # For Fabric
# or
./gradlew :forge:build    # For Forge

If you're on Linux:
Open a terminal in the folder and run the following commands:

git clone git@github.com:spode-sleep/luckyblock.git
cd luckyblock
chmod +x gradlew
./gradlew clean
./gradlew dependencies --write-locks
./gradlew :fabric:build   # For Fabric
# or
./gradlew :forge:build    # For Forge

Once all the commands have been executed, you can find your .jar file in the "your modloader"/build/libs/ directory.

I can also send you a link to a jar I've built myself if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants