Add a new Ritual Info widget that shows the required activation crystal, ritual name, and activation cost when hovered. Suitable for use in any other NEI ritual handlers.
Move the cost and radius to the top of the page so they don't get hidden with certain UI scales.
Cost now shows the blood orb required (works with any IBloodOrb, but does not account for Runes of the Orb). The orb is darkened and the hover text includes "Insufficient LP" if the player does not have enough LP to summon that meteor.
Radius shows the diameter (and its formula because it's actually 2r + 1) when hovered.
Add a new Reagent Effects widget (also suitable for use in other handlers), and have it show effects for the currently selected meteor (meteors with no filler will not show things that impact filler, new filler chance will be calculated, new radius will be calculated).
Center focus item and arrow on the texture because they were not centered before.
* add layout.json to gitignore
* Add quickness rune
This rune reduces the delay between consecutive crafts. This is done by essentially scheduling a recipe check every time a recipe completes. Using something like a world accelerator will have no effect on the frequency and the runes themselves do not increase the frequency at which the altar naturally checks for updates.
This commit also addresses a couple other issues with the altar.
- since the altar was using the world time and not the world age, some mechanics were impossible to trigger if you set doDaylightCycle to false.
- For example it was impossible to start a craft if the time wasn't set to a multiple of 100.
* Added server->client notification of biome change.
* Fix floating point inaccuracy.
* Replaced inefficient search algorithm.
* Move structure initialization out of a loop. Oops.
* update bs+deps+gardle
* fix wci
* one more
* Always send full 32 bytes with every message.
---------
Co-authored-by: Martin Robertz <[email protected]>
* Update build.gradle
* Fix Tooltip handling in NEIAltarRecipeHandler
* Cleanup
* Improve NEI Altar Handler
Using the mouse pos again but it now correctly handles >2 recipes per page and NEI 2.0+
* Set "weight" to 0 for testing
What will happen if the weight is 0? Time to find out!
* Experimental Additions
Based on what BigFluf (211200168656240642) on Discord stated:
"If this works you should be able to change the weights in the configs to any number you like, and it'll just use those as relative chances and never add any 'filler' blocks like the stone
So for example if you have a meteor with just Black Granite with weight 1 and Iron Ore with weight 1, both would have 50% chance
Or you could put both at 1 million and it'd still be the same
Just make sure the new meteor GUI is changed in the same way if possible, otherwise the ore chances will be inaccurate"
* Update MeteorParadigm.java
Removed hardcoded maxChance and chance at fixed 1000 total weight, instead using dynamically calculated total weight of all the blocks in the meteor
* Update NEIMeteorRecipeHandler.java
* Update BloodMagicConfiguration.java
* Added getTotalMeteorWeight function
Moved loop to calculate total weight to it's own function, used in NEI tab as well
* Using getTotalMeteorWeight function
Changed copy-pasted weight calculation code to function call for getTotalMeteorWeight
Co-authored-by: ScriptedPiky <[email protected]>