This project is a Minecraft Forge mod that adds a functional lantern item with toggleable behavior, custom logic, and state tracking.
Steps to build and/or run the software:
• 1. Install the correct version of Minecraft Forge MDK.
- Install the correct version of Minecraft Forge MDK.
- Import the project into an IDE such as IntelliJ or Eclipse.
- Run the gradlew genIntellijRuns or genEclipseRuns task.
- Build the mod using gradlew build.
- Place the generated JAR file into your Minecraft mods folder Instructions for using the software:
- Launch Minecraft with the Forge profile.
- Obtain the lantern item from the creative inventory.
- Right click to toggle the lantern’s state and observe its behavior.
To recreate the development environment, you need the following software and libraries:
- Java 17
- Minecraft Forge MDK (matching the mod version)
- IntelliJ IDEA or Eclipse
- Gradle (included with the project)
I found these websites useful in developing this software:
• Forge Documentation • Minecraft Modding Tutorials
The following items I plan to fix, improve, and/or add to this project in the future:
- Add Curios support
- Improve lighting with dynamic lighting
- Improve animation and visuals