Railcraft Reborn

Railcraft Reborn

9M Downloads

Add support to Sodium/Embeddium Dynamic Light mod

donmor opened this issue ยท 5 comments

commented

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Bug

Dynamic light mod: https://modrinth.com/mod/sodium-dynamic-lights
Has entity dynamic lighting enabled, but locomotives won't emit light.

Railcraft Reborn version

1.1.8

NeoForge/Forge version

47.3.12

Minecraft version

1.20.1

Minecraft server

No

To Reproduce

  1. Install the Sodium/Embeddium Dynamic Light
  2. Place and launch a locomotive at night

Expected behavior

Locomotive emits light

Logs & Environment

No response

Screenshots & Video

2024-12-05_11 05 49
2024-12-05_11 06 18

commented

Another thing, steam locomotives doesn't have light on their model, is this mean that steam locomotives have no dynamic light?

commented

More than a fix it seems like a feature request. I need to figure out how the mod decides that an entity emits light... Any ideas @donmor?

commented

It's a forge/multiloader port of LambDynamicLights, so this doc and the source code may help.

commented

https://github.com/iMiluum/glowing-tools
And this mod supports dynamic lights but is not using any LDL api

commented

Great! Will there be a backport to 1.20.1?