Comments (26)
thx!
from createsifter.
I created a new world and the KubeJS scripts began working there. I namely copied over the waterlogged example and that that works fine, even when I remove .waterlogged().
from createsifter.
The same script throws these same errors when I restart the game, even when it was working perfectly fine and created the desired effect beforehand.
from createsifter.
Updated to createsifter 1.19.2-1.7.0.c-36 and the problem still persists
from createsifter.
You have to use the KubeJS 6.1 example for the 1.19.2 version of the mod.
from createsifter.
Yup, I used the KubeJS 6.1 example and it's also throwing that error. Specifically the following is a basic example of a line that causes the same error:
event.recipes.createsifterSifting([Item.of('minecraft:clay').withChance(0.5)], ['minecraft:sand','createsifter:string_mesh'])
I also went through my logs, and I found these relevant lines:
[04Aug2023 16:07:41.626] [main/WARN] [mixin/]: Reference map 'createsifter.refmap.json' for createsifter.mixins.json could not be read. If this is a development environment you can ignore this message
...
[04Aug2023 16:07:47.398] [modloading-worker-0/ERROR] [KubeJS/]: Failed to load plugin com.oierbravo.createsifter.compat.kubejs.KubeJSCreatesifterPlugin from source createsifter: java.lang.ExceptionInInitializerError
from createsifter.
I'm not able to reproduce the bug with only create, kubejs, kubejs-create and the sifter mod.
Can you plz send the full error mc log? and kubejs server log too.
from createsifter.
Alright, so something I did while trying to find a fix broke it even further, and I'm going to start from an earlier working version of my pack and build back up from there. I'll let you know later today or tomorrow if I can recreate it as well, and what caused it. Sorry for throwing such a vague error on you, and thank you for the quick response!
from createsifter.
Ok!
Good luck and have fun!
from createsifter.
Good news, I've figured out how to recreate the issue!
I had the KubeJS scripts set up and working fine, and then I installed the Wooden Hopper mod.
The first startup after installing it worked fine as well, but after closing and loading up the game again, none of the createsifter KubeJS scripts were recognized. This includes the custom mesh creation function which failed on startup, and even after removing that, the custom sifting scripts on server-side scripts.
Removing the mod made it work again, thankfully.
I have no clue what could be causing the issue, or how a mod as simple as Wooden Hoppers could cause this, but I hope this will help you reproduce the issue and figure out what's going on. Thanks!
Other mods I had installed the first time the problem occurred are: Scannable, Pretty Pipes, and JAOPCA. They might not all also be causing this issue, but it's likely at least one of them might have the same behavior as Wooden Hoppers.
from createsifter.
its cool that you have found the problem but im having the same issue here and i have around 170 mods and probably will not find the mods causing the problem
from createsifter.
Update: this behavior is happening now whenever I add any new mod to my modpack. Tree Squat Grow, Simple Graves, etc.
The only cause I can think of is that this only started after I added createsifter kubejs scripts. Going to experiment and see if removing them first helps.
from createsifter.
Hi!
I'm blind without logs (mc and kubejs) and some steps or a way to reproduce the error.
from createsifter.
here is my problem
Mc 1.19.2, Create version 0.5.1c, create sifter 1.6.0c or 1.6.1c
after create sifter 1.6.0c version im having kubejs startup issues with the custom meshes
startup.log
server.log
client.log
modlist.txt
from createsifter.
can you plz send the latest.log
and debug.log
from minecraft?
from createsifter.
in the server.log I can see:
[18:41:25] [ERROR] ! #3: Error occurred while handling event 'ServerEvents.recipes': TypeError: Cannot find function toJson in object 'minecraft:redstone'. (server_scripts:createsifter.js#3)
you have to use the 6.1 example
from createsifter.
in the server.log I can see:
[18:41:25] [ERROR] ! #3: Error occurred while handling event 'ServerEvents.recipes': TypeError: Cannot find function toJson in object 'minecraft:redstone'. (server_scripts:createsifter.js#3)
you have to use the 6.1 example
btw i have errors because i havent updated my server scripts yet
from createsifter.
can you plz send the
latest.log
anddebug.log
from minecraft?
latest.log
startup.log
and there is no debug log
from createsifter.
plz try with 1.7.0.c-36
:
StartupEvents.registry('item', event => {
event.create("test","createsifter:mesh").displayName("Amethyst mesh")
.parentModel("createsifter:block/meshes/mesh")
.texture("createsifter:item/custom_mesh")
.texture("mesh","kubejs:item/test")
.texture("frame","kubejs:item/test")
.texture("particle","kubejs:item/test");
});
texture is invalid as it doesn't exist but the mesh is generated.
from createsifter.
client.log
latest.log
and ive made a texture in the file location kubejs\assets\kubejs\textures\item\test.png
from createsifter.
Have you tried with the code above?
It works for me.
I'm not able to reproduce the bug.
Can you plz send me the pack in a zip so I can do more testing.
My discord user is the same. You can find my in the kubejs and create servers.
from createsifter.
its late ive added you on discord ill send you a message
from createsifter.
Just uploaded a new version... hope it resolves the issue.
from createsifter.
yea that seemed to fix the problem
from createsifter.
So far it's working well! I'll update if anything else comes up, thank you so much!
from createsifter.
Thanks for your patience and time!
from createsifter.
Related Issues (20)
- Difficulty with Custom Mesh HOT 7
- 1.19.2 Sifter keeps working even if you remove the mesh HOT 2
- Chance based results not being chance based (KubeJS integration 1.18.2). HOT 2
- Not Compatible with Create .5.1.a Update HOT 3
- Automation issue: Output vs Input Slots not recognized HOT 6
- [1.19.2] Missing nugget output on Gravel Brass Mesh Recipe HOT 3
- 1.19.2-1.5.2.b-30 Breaks custom mesh textures HOT 3
- [Suggestions] Out-of-the-box functionality for skyblock HOT 5
- Kubejs custom mesh renders incorrectly on the sifter HOT 9
- Fixed the texture after Create 0.5.1 HOT 2
- [1.19.2] Breaks with KubeJS as of 1902.6.1 HOT 4
- KubeJS Thread HOT 19
- custom mesh adition HOT 10
- 1.20 branch should be first HOT 1
- 1.20.1 crafttweaker crash with createsifter HOT 1
- Brass sifter configuration bug HOT 1
- Createsifter crashes when CraftTweaker but not CreateTweaker is installed HOT 3
- Game Crash... except I don't even have the mod HOT 1
- Create version 5.1.f reported an error and crashed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from createsifter.