Optifine Dynamic Lighting

Started by Arukubarr1 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Optifine Dynamic Lighting

So I am planning on creating a mod with MCreater and I want to implement Optifine's dynamic lighting feature to an entity/projectile.

https://optifine.readthedocs.io/dynamic_lights.html

I know that I may have to go in and add extra code to the mod, but I have no idea how I would go about doing that.

The documentation on Optifine's dynamic lighting properties look easy enough. Im just unsure how to implement it into a MCreater mod.

Would this even be possible and if so can someone explain exactly how to do it?

 

Also, I understand that I could just spawn a light source every tick but it would look choppy and unpolished in my opinion.