File Details
lightningtweaks-1.12.2-1.1.2.0.jar
- R
- Nov 24, 2018
- 18.54 KB
- 873
- 1.12.2
File Name
lightningtweaks-1.12.2-1.1.2.0.jar
Supported Versions
- 1.12.2
- Added method to respawn the on construction fire by creating a new instance of lightning but not adding it to the world.
- Changed the method that set effectOnly to only do so if effectOnly is true and the lightning bolt would normally spawn fire.
- Removed methods forEachBlock, updatePair, and keepMax as the MutablePair is no longer in use. Now it is a double and an ArrayList that stores all blocks with an equal score until a random one can be chosen.
- Added the updateBestScore method to account for the above change.
- Completely reworked the class that detects if a block or armor is metal by dynamically storing any that have metal in their crafting recipe. This also makes it work much better with mods since it doesn't just check if the block's material is iron.
- Fire will now never be spawned if a lightning bolt is set to not spawn fire by Minecraft.
- Removed checking if a block is redstone and so circuitry now scores the same as other blocks if it doesn't contain iron.
- Added a couple more debug messages.
- Fixed some typos in the config.
- Changed some config variable names that I forgot to do in the last update.
- Tested compatibility with metals from various mods like Tinkers Construct.
- Entities are no longer included in the block search if the player and nonplayer weight are both 0.
- Each block that has the same score now has an equal chance to be struck.

