Git Product home page Git Product logo

aeiouenigma / lithium-forge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from caffeinemc/lithium-fabric

19.0 4.0 3.0 1.54 MB

Lithium is a Minecraft mod designed to improve general performance without breaking things. This is a port of Lithium for the Minecraft Forge ecosystem. Lithium (Fabric) is created by JellySquid: https://jellysquid.me/

License: GNU Lesser General Public License v3.0

Java 100.00%

lithium-forge's Introduction

Project icon

Lithium (Forge fork)

GitHub license

This is Forge edition of Lithium

Lithium is a modern, general-purpose optimization mod for Minecraft which works to improve a number of systems (game physics, mob AI, block ticking, etc) with the goal of not changing any vanilla mechanics. :warning: Though this fork is functional, things may be broken.

Downloads

Currently, only on release page.

Community

Please DO NOT join CaffeineMC's Discord to seek support for this fork. Forks or unofficial versions of Lithium are not supported by the original developers. If you encounter any issues, check current issues on this repo or make a new issue.

Building from source

If you're hacking on the code or would like to compile a custom build of Lithium from the latest sources, you'll want to start here.

Prerequisites

You will need to install JDK 8 (or newer, see below) in order to build Lithium. You can either install this through a package manager such as Chocolatey on Windows or SDKMAN! on other platforms. If you'd prefer to not use a package manager, you can always grab the installers or packages directly from AdoptOpenJDK.

On Windows, the Oracle JDK/JRE builds should be avoided where possible due to their poor quality. Always prefer using the open-source builds from AdoptOpenJDK when possible.

Compiling

Navigate to the directory you've cloned this repository and launch a build with Gradle using gradlew build (Windows) or ./gradlew build (macOS/Linux). If you are not using the Gradle wrapper, simply replace gradlew with gradle or the path to it.

The initial setup may take a few minutes. After Gradle has finished building everything, you can find the resulting artifacts in build/libs.

License

Lithium is licensed under GNU LGPLv3, a free and open-source license. For more information, please see the license file.

lithium-forge's People

Contributors

2no2name avatar aeiouenigma avatar amnotbananaama avatar chocohead avatar deltanedas avatar earthcomputer avatar eatmyvenom avatar gegy avatar jaskarth avatar jellysquid3 avatar joaoh1 avatar kichura avatar kroppeb avatar lucilletea avatar magneticflux- avatar maityyy avatar mrgrim avatar srbedrock avatar telepathicgrunt avatar theepicblock avatar tr7zw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lithium-forge's Issues

Reproducible crash with the Guard Villagers mod

Reproduction Steps

  1. Install lithium-forge-mc1.16.5-0.6.6+rev.1 and guardvillagers-1.16.5.1.2.4 on Forge 36.1.32
  2. Generate a new world
    3a. You load in and spawn near a village and the game will crash presenting the crash-report attached.
    3b. If you don't crash immediately, use the command /locate village then teleport to the village location and the game will crash.

Game does not crash when lithium-forge isn't present in the mods folder

Crash Report:
crash-2021-07-12_15.01.09-server.txt

Latest log
latest.log

[1.16.5 / 36.1.31] (Server crash) Possible mod incompatiblity / Java stack overflow.

Reproduction Steps

N/A. Abrupt discovery.

What I did

  1. Joined a modded server with a preloaded world w/ abundance of mods.
  2. Was able to join the server and stayed for roughly 1 minute until server crashed.
  3. See server's log. (Line 2114)
    2021-06-25-2.log

Versions I used

Forge v36.1.31
Lithium v0.6.4 b3a (may 12th)

With vs Without Lithium Installed

During my tests I found this out:

Installed: Didn't fix anything and got no where. Results kept reoccurring. (crash/stack overflow.)
Uninstalled: Server did not crash or failed whatso ever.

Additional Information

Server is loaded with 117 mods. Very insane, I know however, Lithium forge has kept up until this point.

Non-Crashing Null Pointer Exception in Logs

Forge Build: 36.1.24
JAR Version: lithium-forge-mc1.16.5-0.6.4-build_3a.jar

After installing Lithium-Forge into a server running the ATM6 modpack v1.6.7, it looks like non-crashing NPE's pop up occasionally. I don't know if this is a breaking issue for anything but I don't see any immediate effects. Putting this issue report together just in case it becomes a frequent or major occurrence.

As a result of having so many mods installed and interacting, I fully embrace the possibility this may not be caused by Lithium-Forge, but it did appear after installing it. I also understand fully if you wish not to support such a large pack, given the sheer number of potentially conflicting interactions.

This issue may not be easily reproduceable, so tagging this as such may be appropriate given the lack of information. Sorry I don't have more at this time, but let me know if I can do anything to get more information for you.

Reproduction Steps

  1. Install All The Mods 6 v1.6.7
  2. Install Lithium-Forge version mentioned prior.
  3. Start server.
  4. Wait for NPE, log linked below.

Attachments

Specific Error Log: https://hastebin.com/edegucilub.apache

As an aside, thank you for working on porting this over to Forge! I've been fairly disappointed with the apparent infighting within the modding community causing certain mods to be platform-exclusive on both sides, and it's nice to have people who have the knowledge and will to open compatibility for all of us. Thank you!

Server crashes with internal server error when loading Pillager Outpost

Reproduction Steps

  1. Have both Savage & Ravage and Lithium Forge installed on a 1.16.5 Forge server
  2. Approach or teleport to pillager outpost, causing it to load with Pillagers
  3. Server crashes with internal server error, despite the manual disabling of mixins as outlined in other issues threads.

Crash Report File

Crash report not produced

Additional Information

I have referenced other issues and attempted to manually solve the issue, as it had been addressed before, to no avail.

Crash on mohist server

Reproduction Steps

I'm not sure if the problem comes from lithium because I'm on a hibrid server https://mohistmc.com/

  1. place lithium in the mods folder
  2. start the server
  3. The game crashes

Crash Report File

GitHub Gist

Additional Information

there was only lithium no other mods and I started the server with these arguments
"java -Xms1700M -Xmx1700M -jar mohist-1.16.5-server.jar"

Villagers won't take modded job sites

Expected Behavior

Villagers take modded job sites and become modded professions

Actual Behavior

villagers ignore modded job sites

Reproduction Steps

  1. Install a mod that adds modded job sites
  2. summon a villager and place down a modded job site
  3. Nothing happens

I have only tested with buzzier bees' honey pot and environmental's kiln and sawmill. it's possible that these are the only mods that break the job sites.

Crash with Quark

  1. Loading Quark r2.4-312, autoreglib-1.6-49 and lithium forge 0.6.3-1 with forge 36.1.0 (Minecraft 1.16.5)
  2. The game crashes during mojang loading screen without a crash report

lithium and autoreglib load without problems
quark and autoreglib load without problems

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.