KubeJS support for botania
prunoideae / kubejs-botania Goto Github PK
View Code? Open in Web Editor NEWKubeJS support for botania
License: GNU General Public License v3.0
KubeJS support for botania
License: GNU General Public License v3.0
Can I reprint it to mcmod Encyclopedia
Add support for interacting with the player's mana and the transfer of mana between blocks.
As of 1.20.1 Botania have blocked event.remove({ output: "botania:Item" }) and event.remove({ output: 'botania:Item', type: 'botania:pure_daisy' })
this may not be on purpose but do to this modpack creators can't remove recipes to use this to add new ones, why i'm asking even if its not perfect to add somthing so recipe for the pure daisy can be messed with again
(other then that the mod seem to work perfect)
The latest update to Botania causes Kubejs Botania to create a crash at startup.
(Crash Report)[https://gist.github.com/DelviousCrafts/2c2a2d8dc67fbc776130d9b0eaace860]
Versions:
While working on some additional mana infusion recipes, I noticed that none of them were working (warning in KJS log is [03:51:14] [WARN ] Error creating recipe botania:kjs_6e7zdw5jceao5e7lvfy5bsgu1[botania:mana_infusion]: {"type":"botania:mana_infusion"}: java.lang.NoSuchMethodError: 'com.google.gson.JsonObject net.minecraft.world.item.ItemStack.kjs$toJson()'
). Interestingly those were only logged as warnings, not errors, but that's irrelevant to the issue itself other than making it take slightly longer for me to spot. :)
Since other recipe types were working fine, I took a look at the code and seem to have found the cause & a solution, but haven't had a chance to make the changes myself to verify it.
Basically,
I'm guessing that PetalRecipeJS and TerraPlateRecipeJS will need to be changed too, although I haven't tested recipes using those methods yet.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.