Sodium Reloaded (Unofficial)

Sodium Reloaded (Unofficial)

0 Downloads

Bump version?

plusls opened this issue ยท 7 comments

commented

I found that stable version is 0.1.1, but next version also is 0.1.1, i don't know how to write code to know which sodium version has been loaded.

I think next should have an another version?

commented

I found that stable version is 0.1.1, but next version also is 0.1.1, i don't know how to write code to know which sodium version has been loaded.

I think next should have an another version?

The latest sodium release is 0.1.0 though. Also, I believe that all development is done on 1.16.x/next now and the version on next will probably be bumped if/when 0.1.1 is released.

commented

But current stable branch is also 0.1.1

commented

It is the same with next branch.

mod_version=0.1.1

commented

But current stable branch is also 0.1.1

Probably doesn't matter for the following reasons:

  • The current release is 0.1.0
  • When the next release comes, if it is 0.1.1, then the next branch version will also be bumped to 0.1.2 (or maybe 0.2.0)
  • On other CaffeineMC mods, the version is bumped just before a release, so maybe they were trying to get closer to that
  • You probably shouldn't be developing on the stable branch anyway as all development is done on the next branch
commented

Echoing DragonEggBedrockBreaking comment above. It's hard to bump the version when it's not clear what to bump to yet. Additionally I personally prefer to bump right before a release to make Git history more clear.

i don't know how to write code to know which sodium version has been loaded.

I didn't notice this part of your initial issue. What is your use case? This might be better discussed on the official discord which is much more conducive to conversation than a GitHub issue.

commented

Echoing DragonEggBedrockBreaking comment above. It's hard to bump the version when it's not clear what to bump to yet. Additionally I personally prefer to bump right before a release to make Git history more clear.

i don't know how to write code to know which sodium version has been loaded.

I didn't notice this part of your initial issue. What is your use case? This might be better discussed on the official discord which is much more conducive to conversation than a GitHub issue.

I just want to write a mod to highlight lava source, and I do it in vanilla. But I want to compact with sodium.

image

I mixin me.jellysquid.mods.sodium.client.render.pipeline.FluidRenderer to check whether a block is lava source. But I found that the function sign of me.jellysquid.mods.sodium.client.render.pipeline.FluidRenderer.render is different between stable and next branch, so I want to write code to check the version of sodium.

commented

The current release is 0.1.0, stable has a version bump to 0.1.1 but it was never released. You can get a mod's metadata using something like FabricLoader.getInstance().getModContainer("sodium") get versions. In the future next will be merged into stable, but there is no ETA on that.