- Change research progress to happen every 5 ticks instead of every tick, to reduce lag and minimize the apparent effect of randomness on progress;
- Add surroundingAwareness as a third value for bookshelves, which is related to warped researches and serves to minimize the impact warp has on research difficulty;
- Apply surroundingWisdom to prevent vis consumption under a specific amount of total aspects;
- Tentative tiers of bookshelves, with sample blocks for testing.
- Add surroundingWisdom, which will later be used to reduce amount of non-Cognitio vis consumed;
- Add a check for research aspect values excessively higher than surroundingKnowledge, which will cause the research to fail;
- Change progress research chance to depend on the current total aspect count, instead of a fixed value, progressing to a tier-dependent speed limit;
- NBT saving and loading for shelf tiers;
- Changed the bookshelf system to have tiers, on top of knowledge values, to differentiate bookshelves that should have different effects;
- Add some basic checks to bookshelves and their tiers;
- Added Thaumium Block as an example of a new valid bookshelf type, for testing;
- Changed check for other Books of Knowledge - removed the unexplained bonus to knowledge and made it so additional Books in range stop checkSurroundings and reset knowledge to 0, to prevent multiple books using the same bookshelf setup.
- The book will now check for the aspects associated with the research and attempt to drain them from nearby sources, not just Cognitio;
- If the aspects aren't present, the research fails and the research note is deleted.
- Reduce MAX_NEEDED_KNOWLEDGE to increase the chance of each research tick being successful;
- Reduce SURROUNDINGS_SEARCH_Y to prevent bookshelf stacking to work for chance increasing;
- Reduce COGNITIO_TICKS to consume Cognitio faster, in order to partially compensate for the increased research speed;
- Cap the maximum knowledge boost from bookshelves to 50, in order to maximize the research chance per tick at 1/10.
* Cache the models for the Arcane Enervation Emitter
Could be the reason why there's a memory leak but I can't tell if it's
actually been fixed by this change
* spotlessApply (#24)
Co-authored-by: GitHub GTNH Actions <>
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update BlockKnowledgeBook.java
* Offical Knowlege Book hardness fix
Added this.setHardness(0.5F) to the book so it won't break instantly.
0.5 seems to be sufficient as a mining speed
First ever codefix: thanks @Sampsa, and @boubou_19 for the help getting me started