Loading...
Beta Modpages Unclaimed

Portable Light Sources

Held torches produce real light

0 Likes
3954 Downloads
Created by xevinaly

Description

Basically, jabelar's Moving Light Sources but for 1.15.2 (no code was copied and the technique used is different)

 

This mod replicates the features found in most lighting mods like Optifine where non-block items give off light. However, unlike those client-side rendering mods, Portable Light Sources no produce real light. this means blocks and mechanics sensitive to light will respond correctly. It is also not a "core mod" which means it is compatible with shaders and other lighting changes.

 

Features

- Items such as Torches and Sea Lanterns with a block that gives off light emit light at the same brightness level

- Items, where it makes sense to emit light, do now eg. Blaze Rod

- Those same items give off light when thrown

- Flaming entities, including arrows, give off light

- Entities like Blazes give off light naturally

 

Example

This is my mod working in conjunction with a work in progress that adds a glowing sword (you'd think it would be easier than it was) 

 

 

FAQ

Q: Will this lag my game?

A: Hopefully not. You'll get lag spikes when loading new chunks and when you start the game because the mod registers entities. I've made lots of changes to optimize the speed but this will never be a fast mod. One optimization made prevents entities that would catch fire in any normal circumstances from emitting light (eg. cod, minecart, dolphin). If there is enough interest from people with beefy computers I can whip together a config file to re-enable those entities but it was just too costly for normal use.

 

Q: Is this compatible with other mods?

A: Should be 100% compatible.

 

Q: Does this support items/mobs from X mod?

A: Not in the slightest, however, a patch is really easy since very little is hardcoded.

 

Known Issues

- Firing too many flaming arrows onto the same block sometimes causes a glitch where even after collecting the arrows, the area remains lit. This can be remedied by placing a block on the lit area then mining it.

- Using a spawn egg to create a Blaze or Magma Cube causes the same glitch as the arrows.

- Same as above but when firing an arrow will light the block you're at

The struck out issues should be fixed in the latest version but there's always the chance my testing wasn't thorough enough.

- Small visual anomaly sometimes appears when throwing an item light source when its dark (not even sure if this one is a glitch but I'll try to make it not happen)

- If you are surrounded by a block like cobwebs that you can walk through your light will go out. This is because there isn't any air nearby. I could fix it but it would require me to reimplement every block you can walk through and that's not something I want to spend time doing (it would also lag the game to a halt.)

 

If you get any of these bugs send me your logs so I can try and fix them.


AD Become Premium to remove Ads!

What means Verified?

  • Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
  • Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
  • Security: The mod should not contain any malicious code or attempts to steal personal information.
  • Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
  • Originality: The mod should be original and not a copy of someone else's work.
  • Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
  • Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
  • License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
  • Documentation: The mod should come with clear and detailed documentation on how to install and use it.

AD Become Premium to remove Ads!

How to Install

1

Download Forge & Java

Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.

2

Prepare

Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.

3

Add Mods

Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder

4

Enjoy

You are now Ready. Re-start your Game and start Playing.

More Mods like this

Apotheosis

All things that should have been.

Corail Tombstone

Keeps safe your inventory items in graves on death with many features for better survivability and exploration, in a medieval fantasy atmosphere related to the decorative graves & the haunting souls

MineColonies

Grow your Own Massive Colony with Automation, Defense Structures, Raids and more

Runelic

A runic font for Minecraft.

Better Questing

A new and improved questing mod for Minecraft pack creators

Bountiful

Adds bounty boards, giving rewards for collecting different blocks and items.

LootBags

Adds bags of loot to mob and dungeon drops