Dynamic Lights

Announcing: The AWESOME update


- rewritten from scratch to be a FML Coremod for Minecraft 1.4.2, requires Forge
- boosted efficiency A LOT, I'm positive it cannot be done any better now :3
- Dynamic Lights is now modular! See readme!
- configuration files for Dynamic Light modules can now be found at /config/
- global toggle Button can now be configured via Controls Menu


For those of you that don't know what FML Coremod means...
DRAG AND DROP INSTALL, YE GODS







 

This modification makes 'shining' items (default: Torch, Glowstone, Glowdust, Lit Pumpkin, Redstone, Lava Bucket, powered Minecart) illuminate everything around them if


1) the player has them equipped (in hand/armor)
2) they are dropped on the ground
3) another player has them equipped in Multiplayer

On top of that, burning Entities shine light, and Creepers about to explode light up!


You may add any Item ID you wish as shiny item, via the settings file. Also supports armor items!


Toggle button ingame:
The key is "L". You can turn all dynamic Lights on/off with it. The button can be rebound using the ingame options.



There is no limit to the number of lights you can create, note however they are fairly FPS-costly. You can disable modules to obtain better FPS!


I recommend using Optifine for replacing Notch's funky render code with slightly less funky rendering code.


The mod works in Multiplayer, yet is clientside, it cannot lag servers. Note however 'dropped' light sources will not necessarily prevent Mobs from Spawning, and neither will your handheld light.


Note: DO NOT INSTALL THE COREMOD ON SERVERS! It will crash on load.




Instructions:
See readme in your downloaded file.

Config Syntax help:

How the config syntax works:
[DynamicLights_thePlayer, DynamicLights_dropItems and DynamicLights_otherPlayers configs]

* Possible setups:
* X := simple ID X, wildcards metadata
* X-Y := simple ID X and metadata Y
* X-Y-Z := simple ID X, metadata range Y to Z

There is a default value used as "setting", you can specify one by appending "=x" to the ID part

Valid Entry examples:

torch
Torch minecraft id is "torch", will use the default light value (15)

wool
Torch minecraft id is "wool"

wool-2=12
Wool, magenta subtype (meta 2), will use a light value of 12

wool-2-5
Wool BlockID, accepts metadata range [2..5]

golden_helmet-*-*=15
Item ID range [314..317] covering golden armor, wildcarded meta/damage which means any value goes
Also unnecessarily specifying the default light value of 15, you could leave =15 out aswell

There no longer is numeric Block or Item id's. Use the string identifiers, google "Minecraft Data" to get a listing.


Values that cannot be mapped to anything will be logged and ignored

 On Merged classes/mods and sourcecode:
FML Coremod! Will not need merges <3 <3 <3



To other modders: See sourcecode. Adding your own Dynamic Lights is easy.

 

 


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    227874
  • Created
    Feb 17, 2015
  • Last Released File
    May 19, 2018
  • Total Downloads
    971,794
  • License

Categories

Members