kubejs-mods / kubejs Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://kubejs.com
License: GNU Lesser General Public License v3.0
Home Page: https://kubejs.com
License: GNU Lesser General Public License v3.0
`events.listen('recipes', event => {
event.remove({id: 'angelring:itemring'})
event.remove({id: 'bigreactors:basic_reactorcasing'})
event.remove({id: 'bigreactors:reinforced_reactorcasing'})
event.shaped(Item.of('bigreactors:basic_reactorcasing', 2), [
'IGI',
'GCG',
'IGI'
], {
I: '#forge:ingots/iron',
G: '#forge:ingots/graphite',
C: 'thermal:machine_frame'
})
event.shaped(Item.of('angelring:itemring', 1), [
'GHG',
'UDM',
'GNG'],
{
G: '#forge:ingots/gold',
H: 'simplyjetpacks:jetpack_ie3',
U: 'simplyjetpacks:jetpack_mek4',
D: 'angelring:itemdiamondring',
M: 'mekanism:jetpack_armored',
N: 'minecraft:nether_star'
}
)
event.shaped(Item.of('bigreactors:reinforced_reactorcasing', 2), [
'SGS',
'GCG',
'SGS'
], {
S: '#forge:plates/steel',
C: 'mekanism:steel_casing',
G: '#forge:ingots/graphite'
})
})`
Rest of the recipes from here work normally, but Extreme Reactor recipes are still there:
Please add support for removing/adding trades from the wandering trader.
I have 3 mods installed: KubeJS (and MixinBootstrap), Immersive Portals and Advanced Mining Dimension.
My script should allow the player to teleport to the mining dimension when they go to level 1 in the overworld.
// On world load events
events.listen('world.load', event => {
event.server.runCommand('/gamerule sendCommandFeedback false')
})
// Dimension stacking
events.listen('player.tick', event => {
if (event.player.isFake()) return null
if (event.player.y == '1') {
if (event.player.getWorld().getDimension().toString() == 'DimensionType{minecraft:overworld}') {
event.server.runCommand(`/execute in mining_dimension:mining_world positioned ${event.player.x} ${event.player.y} ${event.player.z} run tp ${event.player} ~ 252 ~`)
event.server.schedule(3, event.server, cb => {
cb.data.runCommand(`/execute in mining_dimension:mining_world positioned ${event.player.x} 252 ${event.player.z} run fill ~ ~ ~ ~ ~1 ~ air replace #forge:stone`)
})
}
if (event.player.getWorld().getDimension().toString() == 'DimensionType{mining_dimension:mining_world}') {
event.server.runCommand(`/execute in minecraft:the_nether positioned ${event.player.x} ${event.player.y} ${event.player.z} run tp ${event.player} ~ 124 ~`)
event.server.schedule(3, event.server, cb => {
cb.data.runCommand(`/execute in minecraft:the_nether positioned ${event.player.x} 124 ${event.player.z} run fill ~ ~ ~ ~ ~1 ~ air replace #forge:stone`)
})
}
}
if (event.player.y == '125') {
if (event.player.getWorld().getDimension().toString() == 'DimensionType{minecraft:the_nether}') {
event.server.runCommand(`/execute in mining_dimension:mining_world positioned ${event.player.x} ${event.player.y} ${event.player.z} run tp ${event.player} ~ 2 ~`)
event.server.schedule(3, event.server, cb => {
cb.data.runCommand(`/execute in mining_dimension:mining_world positioned ${event.player.x} 2 ${event.player.z} run fill ~ ~ ~ ~ ~1 ~ air replace #forge:stone`)
cb.data.runCommand(`/execute in mining_dimension:mining_world positioned ${event.player.x} 1 ${event.player.z} run fill ~ ~ ~ ~ ~ ~ cobblestone_slab replace air`)
})
}
}
if (event.player.y == '253') {
if (event.player.getWorld().getDimension().toString() == 'DimensionType{mining_dimension:mining_world}') {
event.server.runCommand(`/execute in minecraft:overworld positioned ${event.player.x} ${event.player.y} ${event.player.z} run tp ${event.player} ~ 2 ~`)
event.server.schedule(1, event.server, cb => {
cb.data.runCommand(`/execute in minecraft:overworld positioned ${event.player.x} 2 ${event.player.z} run fill ~ ~ ~ ~ ~1 ~ air replace #forge:stone`)
cb.data.runCommand(`/execute in minecraft:overworld positioned ${event.player.x} 1 ${event.player.z} run fill ~ ~ ~ ~ ~ ~ cobblestone_slab replace air`)
})
}
}
})
This script will work perfectly without immersive portals installed, but will fail to run properly with it.
The /reload command also sometimes causes a memory leak (minecraft runs out of memory)
MC 1.16.1
Forge 32.0.38-39
kubejs-2.7.0.42.jar
Probably to be expected with a fresh, new Minecraft version, but the game crashes shortly after clicking Create World when KubeJS is enabled. Disabling it allows the world to load normally.
Also, the FML background in newer Forge versions is now an angry red, and the colors in your client.properties no longer seem to override it. I do have FancyMenu installed, but it seems to only affect the Mojang logo, so I think the red is from Forge themselves?
Just wanted to let you know. Thanks!
Block types:
- Slab
- Stairs
- Fence
- Fence Gate
- Wall
- Pressure Plate
- Button
Item types: Done now
- Pickaxe
- Axe
- Shovel
- Hoe
- Sword
- Helmet
- Chestplate
- Leggings
- Boots
- Bow
As you said, could be possible through worldgen event?
There was a mod for 1.12 that had the ability to disable specific structures by tapping into onChunkPopulate but that's probably changed by now I would assume.
Crash log: https://gist.github.com/modmuss50/e955cb3470345c11d68998599aa0cd02 (In a runtime remapped dev env, but that shouldnt matter)
Quite clear what the issue is: https://github.com/KubeJS-Mods/KubeJS/blob/master/src/main/java/dev/latvian/kubejs/util/ConsoleJS.java#L5
Using a version of my custom pack that hasn't been released yet and I am just wondering after updating kubejs from
144 to 148 I am getting this loading error/crash.
https://gist.github.com/TheWitherlord/29fcf05377b80712c8308c701c0953d9
My game is crashing during startup. I narrowed it down to kubejs. With only kubejs installed it still crashes with the following message and log:
![Screenshot_1](https://user-images.githubusercontent.com/48363903/87355060-fae38080-c55f-11ea-842f-3086a7813250.jpg
https://pastebin.com/5NXhkHS8
I have created no scripts or data pack stuff. I deleted the kubejs folder and started minecraft again to be sure. Same error.
forge-32.0.63
kubejs-2.7.0.43
Hi,
I'm using:
Error: Failed to create mod instance. ModID: ftbquests, class com.feed_the_beast.ftbquests.FTBQuests
java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: dev/latvian/kubejs/documentation/DocumentationEvent
if I'm using kubejs-2.6.2.40.jar this works fine in this pack
https://hatebin.com/lniezejcqm
Was moving around another player. I don't remember interacting with anything either.
Pack: Enigmatica 4 0.3.2 Dev said he has yet to add any KubeJS code.
Forge 28.1.103
KubeJS: kubejs-forge-1.14.4-2.1.0.18
It will be very cool if this mod provide Typescript typings for exposed apis. It will help in writing reliable scripts.
Adding support to custom library in IDEs:
I can volunteer for that feature :)
From the debug log:
Parsing error loading recipe immersiveengineering:crafting/treated_wood_horizontal: Shaped recipe ingredient {"amount":1000,"fluid":"immersiveengineering:creosote","type":"immersiveengineering:fluid"} with key 'b' is not a valid ingredient!
Adding KubeJS to IE makes the recipe disappear.
I used the /reload command and it worked fine. When using it again, the pack crashed. After reloading the game, the same world loaded fine. When I tried the reload command it did not work
server_scripts.zip
crash-2020-11-02_23.14.43-client.txt
Using kubejs-1603.2.8.73
1.16.3 Forge
Hi, I'm creating my own mod and I'm trying to handle blockstates and models for items/blocks that are not registered during mod build which means I cannot just create jsons for those blocks/items because I don't know them yet.
I know that kubejs allows the user to add items/blocks themselves which results in the same problem. I tried to find out how you did that but I didn't quite get through your code. Could you give me a little hint?
People like to write jokes as first submitted issue, so I will take this fun away from them
I am building a mod pack and get a lot of "Skipping loading recipe" messages. Would it be possible to get the recipes in the output of this message so I can troubleshoot the reason they are being skipped?
Let me know if you need more details.
The game crashes every time I press Save and Quit World, when the world is Open to LAN.
Crash report
Very weird crash that happens when crafting items from the Farmer's Delight mod using the knife. I haven't done an extensive amount of testing on this, since my pack takes a very long time to load and it crashes both the client and the server when it happens.
Let me know if I should be reporting this to the Farmer's Delight dev instead.
Client side crash log: https://paste.ee/p/EgZP7#qZL8RDOT4dUeGw6IuazHVlfPmv5EL5Xq
Server side crash log: https://paste.ee/p/OwtMO#r3WWWgvhH8XXAETAOAAF6Hz4nxpoTRin
value
in addition to values
here :
To support:
I downloaded kubejs.jar file from curse and moved it to my mods folder on my server. I start the server and open my client (running ftb academy 1.0.0). I type in the command "/kubejs docs" like it says i should do to find the documentation but an error pops up saying:
Invalid subcommand 'docs'! Available subcommands: reload
I just want to find the documentation for the mod so i can figure out what different scripts i will use on my server. If there is something I am missing I would gladly like to hear about it since im brand new to this mod and could have missed up big time. I know there are examples of code at https://kubejs.latvian.dev/ but having all the commands would greatly help more. If this is an upcoming feature I would like to know that.
Thank you for your time and I can't wait to start writing scripts using your powerful mod tool. If you want to contact me faster pm me using my discord name as I am apart of your LatMod Industries server and I am using the same name as github "ReelablePenny14". Or just respond below. Thanks again!
Block properties:
Item properties:
Similar to #15
MC 1.16.4
Forge 35.4.36
KubeJS 1604.3.4.143-forge
Architectury 1.3.78-forge
When trying to create a new world, first time the game gives the errors in currently selected datapack error, then if tried a second time it gives the following crash (Trying to proceed in safe mode results in the same error):
https://pastebin.com/XuuS1R7m
Latest: https://cdn.discordapp.com/attachments/359814544090071040/798752079455715338/latest.log
Debug: https://cdn.discordapp.com/attachments/359814544090071040/798752114208669706/debug.log
KubeJS's "documentation" in Aurora doesn't actually provide documentation.
It just gives you a source/function map, and no actual documentation.
Absolutely jack-s*** about how to use anything.
All it tells you is the names of functions and arguments.
But nothing about what any of it does, nor what they're for.
Edit:
wouldn't be so bad if it had examples, but it doesn't.
Thank goodness for this documentation, would have no clue about how to use KubeJS without it.
Hi,
the game crash with the latest 1.16.1 forge version
Minecraft: 1.16.1
Forge: 32.0.69
kubejs-2.7.0.45.jar
MixinBootstrap-1.0.3.jar
Steps to reproduce:
The behavior is like so.
Load up the server with KubeJS and dependencies.
Server runs fine.
type "stop"
[19:45:50] [Server thread/INFO] [minecraft/DedicatedServer]: Stopping the server
[19:45:50] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping server
[19:45:50] [Server thread/INFO] [minecraft/MinecraftServer]: Saving players
[19:45:50] [Server thread/INFO] [minecraft/MinecraftServer]: Saving worlds
[19:45:50] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[19:45:50] [Server thread/INFO] [minecraft/ChunkManager]: ThreadedAnvilChunkStorage (world): All chunks are saved
[19:45:50] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[19:45:50] [Server thread/INFO] [minecraft/ChunkManager]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[19:45:50] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end
[19:45:50] [Server thread/INFO] [minecraft/ChunkManager]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[19:45:50] [Server thread/INFO] [minecraft/ChunkManager]: ThreadedAnvilChunkStorage (world): All chunks are saved
[19:45:50] [Server thread/INFO] [minecraft/ChunkManager]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[19:45:50] [Server thread/INFO] [minecraft/ChunkManager]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
This is all that reports in the console. No error. No notice. It just never unloads. java server is still running, taking up resources, etc.
I then have to use ctrl+c to forcefully stop it.
I've isolated it to the latest version of kubejs, this doesn't happen without it being present.
The following are the only mods installed at the time of reporting. (On a new world)
architectury-1.2.68-forge.jar
Bookshelf-1.16.4-9.3.18.jar
ftb-gui-library-1604.1.1.26.jar
GameStages-1.16.4-6.0.1.jar
jei-1.16.4-7.6.1.63.jar
kubejs-1604.3.4.136-forge.jar
rhino-1.7.13.9.jar
forge 35.1.28
MC 1.16.4
The command /kubejs hand
doesn't allow me to copy the output when clicked. Additionally, it would be nice if the item registry name was automatically applied to the clipboard tbh.
kubejs-2.7.2.56
When I use this script (it's adding tree in botany pots), when a sapling is used in hopper botany pots, the tree grows but they stop at 100% and nothing append.
With KubeJS 1604.3.1.84 and before, the tree grow then it get harvest like any other crops.
I have try many version of many mods involve (BotanyPots, rhino, architectury, kubejs) and it's when I pass at KubeJS over 1604.3.1.84 that the issue occur. I'm not sure what to look at this point.
Mods list of my last test:
-Bookshelf-1.16.4-9.1.13.jar
-Botania-1.16.3-409.jar
-BotanyPots-1.16.4-6.0.7.jar
-Cucumber-1.16.4-4.1.5.jar
-MysticalAgradditions-1.16.4-4.1.2.jar
-MysticalAgriculture-1.16.4-4.1.3.jar
-MysticalCustomization-1.16.4-2.1.1.jar
-Patchouli-1.16.2-47.jar
-architectury-1.1.54-forge.jar
-curios-forge-1.16.4-4.0.3.0.jar
-jei-1.16.4-7.6.0.58.jar
-kubejs-1604.3.1.104-forge.jar
-rhino-1.7.13.9.jar
ref: AllTheMods/ATM-6#379
Hi,
the client crashed with this message (see more details in the crash log). Installed is:
Architectury 1.4.96
KubeJS 1605.3.4.151
Rhino 1.7.13.10
Forge 36.0.1
However, when I switch to Architectury 1.4.94, there is no problem.
Crashlog: https://pastebin.com/Ffg46jms
You may already be aware, since this is similar to issue #19, but having KubeJS enabled breaks all SilentMech alloy recipes. Could be an issue with Silents Mechanisms since it is pretty new to 1.16, but thought I'd try here first.
latest.log: https://pastebin.com/mDpJeZhJ
Lots of recipe parsing errors, e.g.:
[25Jul2020 17:00:22.577] [Render thread/ERROR] [KubeJS Server/]: Parsing error loading recipe silents_mechanisms:alloy_smelting/electrum_ingot: Silents Mechanisms alloy smelting recipe ingredient null is not a valid ingredient!
Forge: 32.0.75
SilentMechanisms-1.16.1-0.8.1+62.jar
SilentLib-1.16.1-4.7.0+58.jar
kubejs-2.7.2.49.jar (tried earlier versions also)
Thanks. I know it must feel like herding cats sometimes. 😹
Version: kubejs-2.7.0.41.jar
EnigmaticaModpacks/Enigmatica5#387
PneumaticCraft introduced a tank in 1.15 that can be used in place of buckets for batch fluid crafting. Similarly Immersive Engineering has it's Jerry Can which serves the same function.
Both of these stop working as soon as KubeJS is installed. The recipe for Treated Wood, for instance, only works with buckets. The recipe for PNC's Speed Upgrades only works with buckets of lubricant. Removing KubeJS resolves the issue and allows both crafts to work normally with buckets, jerry cans, and pnc tanks
Not sure if this extends to all events that deal with potions, but modded potion effects lead to a game crash when a food that uses them is consumed.
script used in item creation:
event.create('foxtail_ramen').displayName('Foxtail Ramen').food(function(food){
food.hunger(10)
food.saturation(1)
food.effect('minecraft:regeneration', 400, 0, 1.0)})
food.effect('farmersdelight:comfort', 2400, 0, 1.0)})
food.effect('farmersdelight:nourished', 2400, 0, 1.0)})
The below code does nothing, although taken from the example provided in your Discord
console.log('Hiding items in JEI, pre-event');
events.listen('jei.hide.items', (event) => {
console.log('Hiding items in JEI');
// event.hide('/\\w+:\\w+_spawn_egg/');
// event.hide('/minecraft:lingering_potion/');
// event.hide('/minecraft:splash_potion/');
event.hide('appliedenergistics2:facade');
});
The console log at the top shows in the log, the one within the event does not.
kubejs-2.7.2.56
Precision Sawmill recipes do not register when KubeJS mod is loaded.
Forge: 34.1.14
Mekanism: 10.0.11.436
Other relevant version:
KubeJS - 1603.2.8.70
JEI - 7.5.0.43
All other machinery from Mekanism (and other mods for that matter) that I've tested work fine. Only the precision sawmill and related factories do no have recipes loaded. Also tested with KubeJS version 2.8.0.65 and results were the same.
Yeah like that's happening any time soon
Hey there,
Now that food is implemented can you add a new event that happens when a player has eaten a food item?
The example that was on the Curseforge page for the Mekanism addon for the Metallurgic Infuser doesn't seem to be working. Is the example incorrect? Otherwise, Kube and the mekanism addon seems to be working, the recipe I added with the crusher works fine. Here's the line I'm using, it's in events.listen
for recipes
, and other recipes in the same block are working.
event.recipes.mekanism.metallurgic_infusing('minecraft:comparator', 'minecraft:nether_quartz', 'mekanism:redstone', 20)
I've tried using item.of()
on the inputs/outputs, no dice. Any help would be greatly appreciated. A few other questions that the docs weren't able to answer - Is there a way to add new fluids the same way you can add items and blocks? and is there a way, aside from making multiple recipes, to allow for multiple inputs, aside from forge tags? Aside from this, the mod's been working really well for what I want it to do, thanks for making it!
I've tried to make a script that unifies all ore outputs using tags and my preferred mod, however Mystical Agriculture is not playing nice with my script, outputting to whatever the mod outputs to by default. It unifies everything else in my modpack except for Mystical Agriculture outputs. Is this just not supported or is there an extra line of code I need so that it'll replace MA's recipe outputs?
kubejs-1604.3.4.145+
Forge: 35.1.7
Crash report: https://hatebin.com/laiklngjqb
latest.log: https://hatebin.com/gaqskpbffe
It's probably a conflict with some other dumb mod I am using, but I can't figure it out. Reverting KubeJS to .144 resolves the issue. Thanks for any help you can provide.
[12:59:16] [modloading-worker-6/ERROR] [ne.mi.fm.ja.FMLModContainer/LOADING]: Failed to create mod instance. ModID: kubejs, class dev.latvian.kubejs.KubeJS
java.lang.NullPointerException: null
at dev.latvian.kubejs.client.KubeJSClient.init(KubeJSClient.java:40) ~[kubejs:1604.3.1.80] {re:classloading}
at dev.latvian.kubejs.KubeJS.<init>(KubeJS.java:114) ~[kubejs:1604.3.1.80] {re:classloading}
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_272] {}
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_272] {}
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_272] {}
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_272] {}
at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_272] {}
at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:81) ~[forge:35.0] {re:classloading}
at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:110) ~[forge:?] {re:classloading}
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640) [?:1.8.0_272] {}
at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1632) [?:1.8.0_272] {}
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_272] {}
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_272] {}
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [?:1.8.0_272] {}
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175) [?:1.8.0_272] {}
Minecraft.getInstance()
is returning null.
See BluSunrize/ImmersiveEngineering#4277
This is apparently different from #14 (reporter in the IE issue is using the latest 1.16.1 build of KubeJS). The error message is
[Render thread/ERROR] [KubeJS Server/]: Parsing error loading recipe immersiveengineering:crafting/treated_wood_horizontal: java.lang.IllegalStateException: Tag forge:creosote used before it was bound
This shouldn't ever happen in IE code unless you're reading recipes from JSON on the client. I was going to debug this a bit more, but apparently FG doesn't properly deobfuscate Mixins.
To support:
I have been having issues with my server not have recipes made through kubejs through my own finding it does not work on java 1.8.0_111 I am not sure if this is an actual issue but it might help people that pay for hosting going crazy on why it works if you launch a server on your local machine and singleplayer and the recipes work
https://paste.dimdev.org/edemekiyaz.mccrash
Hi, I've never had any issues until now with the pack FTB Academy
I have installed some other mods, but none that should be conflicting.
It does crash everytime i close it but it also saves regardless.
Is there a fix for this?
When using kobejs with spongeforge mod, shutting down the server can cause kubrjs crash with theese log below.
After remove the spongeforge mod, the server can stop normally without any problems。
[13:24:51] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Done (5.830s)! For help, type "help" or "?"
>asdfasdfasdf
[13:24:55] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Unknown command. Try /help for a list of commands
>save-all
[13:24:58] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Saving...
[13:24:58] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Saved the world
>stop
[13:25:01] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Stopping the server
[13:25:01] [Server thread/ERROR] [net.minecraft.server.MinecraftServer]: Encountered an unexpected exception
net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from KubeJS (kubejs)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 31
at it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap$MapIterator.nextEntry(Int2ObjectOpenHashMap.java:642) ~[Int2ObjectOpenHashMap$MapIterator.class:?]
at it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap$ValueIterator.next(Int2ObjectOpenHashMap.java:876) ~[Int2ObjectOpenHashMap$ValueIterator.class:?]
at dev.latvian.kubejs.world.KubeJSWorldEventHandler.onServerStopping(KubeJSWorldEventHandler.java:66) ~[KubeJSWorldEventHandler.class:?]
at dev.latvian.kubejs.KubeJS.onServerStopping(KubeJS.java:160) ~[KubeJS.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_251]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_251]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_251]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_251]
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:637) ~[forge-1.12.2-14.23.5.2838-universal.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_251]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_251]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_251]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_251]
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) ~[minecraft_server.1.12.2.jar:?]
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) ~[minecraft_server.1.12.2.jar:?]
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) ~[minecraft_server.1.12.2.jar:?]
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) ~[minecraft_server.1.12.2.jar:?]
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) ~[minecraft_server.1.12.2.jar:?]
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) ~[minecraft_server.1.12.2.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:217) ~[minecraft_server.1.12.2.jar:?]
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219) ~[forge-1.12.2-14.23.5.2838-universal.jar:?]
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197) ~[forge-1.12.2-14.23.5.2838-universal.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_251]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_251]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_251]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_251]
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) ~[minecraft_server.1.12.2.jar:?]
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) ~[minecraft_server.1.12.2.jar:?]
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) ~[minecraft_server.1.12.2.jar:?]
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) ~[minecraft_server.1.12.2.jar:?]
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) ~[minecraft_server.1.12.2.jar:?]
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) ~[minecraft_server.1.12.2.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:217) ~[minecraft_server.1.12.2.jar:?]
at net.minecraftforge.fml.common.LoadController.redirect$zza000$forgeImpl$PostEvent(LoadController.java:568) ~[LoadController.class:?]
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136) ~[LoadController.class:?]
at net.minecraftforge.fml.common.Loader.serverStopping(Loader.java:805) ~[Loader.class:?]
at net.minecraftforge.fml.common.FMLCommonHandler.handleServerStopping(FMLCommonHandler.java:308) ~[FMLCommonHandler.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:533) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]
[13:25:01] [Server thread/INFO] [STDOUT]: [net.minecraft.crash.CrashReport:func_85057_a:300]: Negative index in crash report handler (0/5)
[13:25:01] [Server thread/ERROR] [net.minecraft.server.MinecraftServer]: This crash report has been saved to: D:\NPCCRAFT\2020_1.12.2\NPC_KFW_SERVER_2020.\crash-reports\crash-2020-06-19_13.25.01-server.txt
[13:25:01] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Stopping server
[13:25:01] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving players
[13:25:01] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving worlds
[13:25:01] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving chunks for level 'world'/0
[13:25:01] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving chunks for level 'DIM-1'/-1
[13:25:01] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving chunks for level 'DIM1'/1
[13:25:01] [Server thread/INFO] [Sponge]: Unloading world [world] (minecraft:overworld/0)
[13:25:01] [Server thread/INFO] [Sponge]: Unloading world [DIM-1] (minecraft:nether/-1)
[13:25:01] [Server thread/INFO] [Sponge]: Unloading world [DIM1] (minecraft:the_end/1)
[13:25:01] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded.
I was playing FTB Academy, and when, in the first stage of loading, the game reached KubeJS it crashed. Is this something wrong the mod or the modpack?
If a player gets an achievement, for example "diamonds", is it possible listen to the unlocking of that event and run a script?
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.