Support Tickets

This page is still WIP!

error, might have something to do with 1.18 -> 1.19.2 compatability rotating a block

TabbyIshProto: [04:03:47] [ERROR] ! flint_tools/bamboo/block_of_bamboo.js#5: Error while modifying BlockState placement of kubejs:bamboo_block: dev.latvian.mods.rhino.EcmaError: TypeError: Cannot find function set(,java.lang.Enum) in object Block{kubejs:bamboo_block}[axis=x].

πŸ’¬ 1 • 1.19.2 • Forge • 

Hide specific recipes from rei without hiding ingredients.

Smartboy: I have 7 smeltery recipes for the different variants and I want to hide all but one of them. How can I do that?

πŸ’¬ 2 • 1.18.2 • Forge • 

making a door / trapdoor AND block .property() questions, (eg: directional block like a log)

TabbyIshProto: hi, im trying to for 1:

πŸ’¬ 147 • 1.19.2 • Forge • 

Listening for GunFiredEvent in CGM/Accessing PMMO data from current player?

Moonlit Eclipse (PING ME): This is the script I have so far, what I'm hoping to do is to eventually gate guns from being used unless you have the correct level. (Pmmo is unable to do this alone atm, trying to figure out a work around).

πŸ’¬ 25 • 1.18.2 • Forge • 

Convert block upon explosion

backslashes: I would like a stone block to be converted into a cobblestone block when in range of an explosion (by TNT, creeper, etc). To be clear, I mean a stone block placed in the world, *not* an item entity. Is this possible?

πŸ’¬ 7 • 1.20.1 • Forge • 

Canteen for Thirst mods

Granti: Hello is there a way to create items for TaN/Thirst was Remade to drink? with different fills of water

πŸ’¬ 11 • 1.20.1 • Forge • 

Trouble passing player position from the client to the server

Zilver: I've gotten part of network events figured out, but I can't figure out why the player's position isn't being passed to the server. It prints fine on the client, but prints undefined on the server, so something is being lost in translation when sendData is used...

πŸ’¬ 17 • 1.19.2 • Forge • 

Random rhino crash

Rimevel: Got the crash in the attached log randomly when running around. Seems rhino related due to the format of the crash report.

πŸ’¬ 4 • 1.19.2 • Forge • 

EntityEvents.death get mob drops

3dEADto: Is it possible to get the drops a mob would drop in the .death event ?

πŸ’¬ 1 • 1.20.1 • Fabric • 

Optional Argument for console.log to choose which log file it outputs to.

Moonlit Eclipse (PING ME): Is it possible to add a optional argument for console.log?

πŸ’¬ 3 • Unknown • Forge/Fabric • 

Trying to add fluid nbt to arboreal extractor recipe making it not show up.

Smartboy: The recipe instantly stops working the moment I try to change the nbt value. If remove the nbt object or rename it to something invalid then the recipe starts working as uncraftable potion.

πŸ’¬ 15 • 1.18.2 • Forge • 

Can't hide modded items in JEI

α›Šα›Ÿα›š: Here's the .js file from my client scripts folder.

πŸ’¬ 26 • 1.19.2 • Forge • 

can kjs 1.20 forge edit worldgen

amo [πŸ””βœ”]: trying to fuck with terrafirmacraft worldgen

πŸ’¬ 126 • 1.20.1 • Forge • 

Rather advanced block question

DragonMaster: 2 things: Is it possible to make blocks with custom models using kubejs?

πŸ’¬ 23 • 1.19.2 • Forge • 

file name to item name

Cristal_gem: i want to make a script that only requires the file item name and automatically changes it to the display name

πŸ’¬ 35 • 1.16.5 • Forge • 

Disable ALL Structures

TheRandomHat: As far as I can tell, every KubeJS support post on 'disabling structures' is just disabling a select few structures. I want to know if there's a quicker solution to disabling all structures (Vanilla & Modded) from generating in a world than manually changing each individual structure to only generate in a non-existent biome.

πŸ’¬ 170 • 1.20.1 • Fabric • 

block.right click particles

Just_Dude.It: I'm trying to replace one block to another one. Is there a way to spawn particles like this block was destroyed

πŸ’¬ 12 • 1.16.5 • Forge • 

Adding/removing items to/from REI at runtime without REI Runtime

squoshi, idiot (@): First post in a while, I've moved to 1.20.1.

πŸ’¬ 20 • 1.20.1 • Forge • 

hijacking or disabling chorus fruit teleport?

ankiolyne 🐒: hallo. just wondering how i might go about doing so. googled ways to do it and someone on reddit was like 'you can do this with kubejs <:angel:921194409930924092>' but didn't elaborate

πŸ’¬ 25 • 1.18.2 • Fabric • 

Reading and writing files other than json

Aidan: I already know about JsonIO, but are there any other built in ways to read and write files of any type?

πŸ’¬ 25 • 1.19.2 • Forge • 

T.H.I.S. and kubejs interaction

captain.cabbage: T.H.I.S. = Totally Harmonious Item Stages

πŸ’¬ 6 • 1.18.2 • Forge • 

Editing IE multiblocks

denis lrd: There are any variants how to edit nbt of multiblocks structures from IE with kubeJs?

πŸ’¬ 4 • 1.19.2 • Forge • 

How do I remove end portal frames from world generation?

Mathwiz617: I've tried a few things based on the wiki example of removing iron ore:

πŸ’¬ 5 • 1.20.1 • Forge • 

Copper Oxidisation in KubeJS

droshux: Is it possible to create custom blocks that have Oxidisation stages like vanilla copper?

πŸ’¬ 2 • 1.18.2 • Forge/Fabric • 

! example.js#3: Error loading KubeJS script: server_scripts:example.js': ReferenceError: "event"

bad name: idk what happend, the kube say "! example.js#3: Error loading KubeJS script: server_scripts:example.js': ReferenceError: "event" is not defined." but I even asked chat gpt and they couldn't tell me why (I'm not an expert in java)

πŸ’¬ 44 • 1.20.1 • Fabric • 

JEIEvents.hideFluids() does not work with event.hide([]) but works with event.hide() individually

Celeste, isekai'd as Furina: This works:

πŸ’¬ 7 • 1.20.1 • Forge • 

Crash on adding ProbeJS

Sophia: When adding ProbeJS to my mods, the game crashes before even displaying a window.

πŸ’¬ 4 • 1.19.2 • Fabric • 

How to revert modifications made to an item.

gouwt: I used a script to remove durability from all items, breaking create's super glue in the process. (Apprently anything that messes with the durability of super glue breaks it)

πŸ’¬ 47 • 1.20.1 • Forge • 

Very quick question....

Dom.: You know how there is the BlockEvents such as RIGHT_CLICKED and BROKEN, How can you detect a player is inside the block or like touching it

πŸ’¬ 11 • 1.18.2 • Fabric • 

How to make noLootTable blocks work with LootTable?

AiDSl: ```

πŸ’¬ 2 • 1.19.2 • Forge • 

how to remove a specific recipe AND-wise

TabbyIshProto: am currently trying to remove a recipe from a mod that nerfs stick making, but by doing so it removes a different recipe which it shouldnt

πŸ’¬ 48 • 1.19.2 • Forge • 

Is it posssible to use ore.size and .count together.

pringl: Im asking bc i would like a large spread of ores in a chunk. but then only have them in some chunks. Ig kinda like the large vanilla veins.

πŸ’¬ 19 • 1.19.2 • Forge • 

Remove item 1.19.2 Fabric + REMOVE IN JEI ?

Anonymous: Looking for help how to remove items using KubeJS in 1.19.2 Fabric

πŸ’¬ 11 • 1.19.2 • Fabric • 

Its possible to do a "backpack"?

Pedru HB: I creating currency system with kubejs, its possible do wallets? likes a hopper interface.

πŸ’¬ 18 • 1.20.1 • Forge • 

Ore spawn not working

pringl: Message not found

πŸ’¬ 0 • 1.19.2 • Forge • 

why is minecraft crashing when trying to create a custom ore?

pringl: ??neversay

πŸ’¬ 4 • 1.19.2 • Forge • 

Making Players take Damage when they come in Contact with Blocks/Fluids

uunfunnyguy: I Just need a Simple Code that Damages the Player when they come into Contact with a Block/Fluid but i cant find anything on the Wiki nor does ChatGPT know how to do it Correctly

πŸ’¬ 5 • 1.19.2 • Forge • 

Error with mekanism metallutgic infusing

denis lrd: Some days ago, i asked about this recipe, somebody helped me in that post, but it still is no working

πŸ’¬ 7 • 1.19.2 • Forge • 

For custom ore generation, how do i define a minimum vein size.

pringl: use an array

πŸ’¬ 9 • 1.20.1 • Forge • 

Are world gen events server or startup scripts?

pringl: This is a list of all the events. Choose your version.

πŸ’¬ 1 • 1.20.1 • Forge • 

Is it possible to put an overlay on screen?

loufu: Similar to how powdered snow works.

πŸ’¬ 5 • 1.19.2 • Forge • 

unable to load model

DSans404: When Im running the game, some texture is missing. But when im running again, it turn to normal. How to fix that problem

πŸ’¬ 35 • 1.18.2 • Forge • 

Is there a way to have all entities in a 30 block radius target another entity?

Ahowell610: So I am trying to implement a "Protection Sphere" item and when you use it you are given the tag "protected". I am hoping to make it so when the protected player is hurt by a monster then all entities in a 30 block radius will target the monster to protect the player. I was thinking that I could loop through those entities and have them target the monster but I am not sure if it would work/I dont know how to do it. I have a rough script that I wrote but I am not sure how to continue.

πŸ’¬ 2 • 1.19.2 • Forge • 

Help with quickly and easily modifying all vanilla spawning chests' loot tables

Anonymous: How can I do this using LootJS? It seems like a very long and tedious process as there are manyyy items I'm trying to add to the loot tables of vanilla spawning chests.

πŸ’¬ 2 • 1.18.2 • Forge • 

someone here know how to set noise settings to make world smoother but not flat?

pund755: I tried to create a world where it was smooth, with no steep climbs. but fail i need help

πŸ’¬ 3 • 1.18.2 • Forge • 

Sound replacing?

Apotheosis: I was wondering if there was a method to replace the sounds an item makes when used? I have a sword but I wanted to replace the 'swing' and 'hit' noises that are made.

πŸ’¬ 4 • 1.19.2 • Fabric • 

Struggling with removing recipes

Nanna: Im new to javascript and Visual studio code shows no issues, I have reloaded the scripts and rebooted MC but it just doesn't work

πŸ’¬ 12 • 1.18.2 • Forge • 

Creating an infinite fluid source and Resource pack help

Ducko: I'm trying to solve two issues. One, how do I create a fluid that I can make infinite like water. Second is I have a sound that isn't playing. When I run the /playsound command the subtitle shows up but not the sound

πŸ’¬ 22 • 1.20.1 • Forge • 

Quark Trowel behavior?

kragnoth: I'd imagine it's possible to replicate the quark trowel in kubejs, any suggestions on places to look into implementing this in a neat and clean fashion?

πŸ’¬ 8 • 1.20.1 • Forge • 

Kubejs Create

RendΕ‘relv enjoyer: ```js

πŸ’¬ 111 • 1.20.1 • Fabric • 

Rarity not defined

Imperial Nerfherder: I am editing a 16.5 startup into a 19.2 for a worldpack and i am NOT a coder. Up front, the situation is you create an additional argument i replace ).type( with , and speak fluent enough codemonkey i can follow the conversation and not ask too many stupid questions.

πŸ’¬ 81 • 1.19.2 • Forge • 

Trying to register a skeleton entity clone

sz: So, based on the success of registering a clone of the arrow entity, i've taken a stab at doing the same thing with a mob. Unsurprisingly, it's not quite there yet. I tried a skeleton.

πŸ’¬ 6 • 1.20.1 • Fabric • 

REI Support

informatjonas: Is it possible to add and/or remove recipes from the REI during runtime?

πŸ’¬ 1 • 1.20.1 • Fabric • 

how do i make blocks placement like logs

Theo Morris: ```StartupEvents.registry('block', event => {

πŸ’¬ 51 • 1.19.2 • Forge • 

Potion effect when stepping on a block.

Ice: I want to give the entity that stands on whatever block to get a potion effect.

πŸ’¬ 16 • 1.19.2 • Forge • 

How can I make a pool be affected by Looting without random chance?

Yumm: The code below doesn't seem to work, at least according to JER.

πŸ’¬ 5 • 1.19.2 • Forge • 

Changing file contents?

Valentine πŸ‚: I really doubt the possibility of this but would it be possible to have an item boot you out of the game and change the games title through the config file of fancymenu so its different on reboot

πŸ’¬ 145 • 1.20.1 • Forge • 

Can i somehow edit how multiblocked from Immersive Engineering is built?

denis lrd: I need to replace steel blocks from immersive to my own steel blocks, but multiblocks just dont see them

πŸ’¬ 2 • 1.19.2 • Forge • 

i may be blind

mayojar_: i'm trying to figure out a way to disable specific items (projecte's stuff is... well, yk) and i can't find a post in <#1048591172165189632> that seemed to work. could somebody please point me to some such post if they know of one?

πŸ’¬ 8 • 1.18.2 • Forge • 

Custom entity

DragonMaster: Is it possible to make a mob like a zombie?

πŸ’¬ 25 • 1.19.2 • Forge • 

Async Functions

Aidan: ```js

πŸ’¬ 16 • 1.19.2 • Forge • 

strange model particles for quartz block

Theo Morris: ```js

πŸ’¬ 73 • 1.19.2 • Forge • 

Recipe removal by regex and datapacking recipes causing minecraft:barrier to be obtainable

Jebraltar: I've run into an interesting bug that doesn't throw any errors that I've seen but does make the minecraft:barrier obtainable. I'm removing one mod's shaped recipes by output via regex and adding recipes to a different mod with JSON files in the data folder. Somehow, this is combining to affect recipes that use tags that I have not added nor modified with KubeJS.

πŸ’¬ 6 • 1.20.1 • Forge • 

Learning how to create's sequenced assembly

Lvuna: I'm trying to learn sequenced assembly but it seems like the filling is not working. I think it's because of the fluid. but I'm not sure

πŸ’¬ 46 • 1.19.2 • Forge • 

old mod to kubejs, lightning strike on crop growth?

kragnoth: Is it possible to tie into the crop growth tick event and make lightning have a chance to strike where it grew if a chunk is loaded? I used to do this as a forge mod, but seems simple enough to implement as kubejs code.

πŸ’¬ 168 • 1.20.1 • Forge • 

ClientEvents.init() does not get ignored in startup_scripts in a server environment

Celeste, isekai'd as Furina: Just ran into this issue when building my server pack and trying to verify that the server is able to boot up.

πŸ’¬ 105 • 1.19.2 • Forge • 

Redstone Texture Changes

Fatefulezra: Im trying to make it so if i power my block it changes texture

πŸ’¬ 4 • 1.18.2 • Fabric • 

sleep/wait function

ekilord: i'm making an effect with particles that would highlight the edges of a block slowly. the problem is that i don't want this to happen instantly, rather slowly starting from the corners. how would i make it so the next line of code wouldn't run until let's say 1 second has passed? thanks!

πŸ’¬ 5 • 1.19.2 • Forge • 

Update on /kubejs gui for crafting recipes ?

Leclowndu93150: hi

πŸ’¬ 1 • Unknown • Forge/Fabric • 

Magnetic Blocks

Fatefulezra: im trying to make 3 magnet blocks one that is always active one that is only active if it has a redstone input and one that will let you select a spesific item/entity (with gui ill setup later) to pull and the the opposite where they push them away but i have no clue how to do this

πŸ’¬ 7 • 1.18.2 • Fabric • 

It's not bug, it's a fueature.

MDReal: Why does this exist in the support thread?

πŸ’¬ 18 • 1.20.1 • Forge • 

Lava + Water type block creation idk what to call it

Nik: I want to make a different recipes for when liquids come in contact with lava. how can i do that? (i already got a liquid but when it comes in contact with lava it doesnt do anything and i want it to make a block)

πŸ’¬ 11 • 1.20.1 • Fabric • 

Kubejs dimension properties?

rOberon: Can Kubejs modify properties of a dimension?

πŸ’¬ 3 • 1.18.2 • Forge • 

Recipe replaceInput with empty slot

7d_aka_w1zz: How to make below code work? I want to replace furnace recipe's middle slot with redstone.

πŸ’¬ 8 • 1.20.1 • Forge • 

Adding trinkets with Trinkets (Fabric)

Sasha2294 (АлСксандр): Hello, I would like to add my own trinket that can be worn in the trinket slot. Please write example scripts on how this can be done. I use this mod:

πŸ’¬ 3 • 1.20.1 • Fabric • 

Custom Death Message (1.18)

Leah: Hi, I'm trying to kill the player with a custom death message. The instructions I've found so far were kind of vague (esp for this version) and what I could figure out from piecing together things from different threads didn't exactly work for me, but it looks like I need to use reflection to call damage source. I tried this but I can't seem to get it to work (The death message is in the kubejs assets/kubejs/lang folder)

πŸ’¬ 18 • 1.18.2 • Fabric • 

How do I prevent this mass log spam mess?

Ο›Ζ–uɐWɹǝʇooβ„²: So I have a script that makes Silver swords do extra damage to Skeletons. However, the Entity Hurt event seems to continuously spam the log with these messages. How do I fix it?

πŸ’¬ 27 • 1.19.2 • Forge • 

can I replace just a model by entity name?

Ryanei dy Syliante: so... I'm trying to make a resource pack/replace the quark frog model.

πŸ’¬ 15 • 1.18.2 • Forge • 

Make a trinket with curios

loufu: is it possible to make a trinket that can be worn with curios?

πŸ’¬ 36 • 1.19.2 • Forge • 

Create mod mixing

Fatefulezra: Im trying to make the orb of origin craftable with create mod mixing but i dont know how kubejs and create work i also want to add a ponder for the orb

πŸ’¬ 11 • 1.18.2 • Fabric • 

How to get the item in the player's hand in the block.rightClicked event?

Kito (Ping me): I'm using the block.rightClicked event and I need to know what item is in the player's hand, how do I do this?

πŸ’¬ 19 • 1.18.2 • Forge • 


QiyRabão: Hi, I'm trying to create a recipe for an item from the mob grinding utils mod, using spout, but the recipe doesn't appear on the screen, and I don't know what's going wrong.

πŸ’¬ 20 • 1.20.1 • Forge • 

What's the 1.18.2 Kubejs Event for Respawn?

Ki-Tan: The respawn event is missing from the legacy wiki

πŸ’¬ 6 • 1.18.2 • Forge • 

change the recipes of an existing mod

MR Pinguin: how can i change the recipies of a item in an existing mod (i got the permission from the owner)

πŸ’¬ 73 • 1.19.2 • Fabric • 

how do i add recipes to my modpack

β™‘Emilyβ™‘πŸŒΈ: how would i structure this in VSC?

πŸ’¬ 19 • 1.18.2 • Forge • 

help with custom recipe

Theo Morris: can someone help me with making a new recipe for the create enchantment industry disenchanter

πŸ’¬ 22 • 1.19.2 • Forge • 

Make a modded fluid non-infinite?

backslashes: Is it possible to make a modded liquid *not* generate a new source block between 2 source blocks?

πŸ’¬ 1 • 1.20.1 • Forge • 

NoIA{b1}/imortal to specific mobs during certain gamestage

Black Wolf: i want to make a few mobs be idle and imortal during a gamestage, using majruz difficulty

πŸ’¬ 1 • 1.18.2 • Forge • 

custom armor trim materials?

backslashes: can kube be used to add custom armor trim materials?

πŸ’¬ 5 • 1.20.1 • Forge • 

Problem with apllayng effect to my item

El Mahat: Hello i try to add an effect to my item but it doesn't work and i don't know why (i try with the test wrote on the wiki)

πŸ’¬ 21 • 1.18.2 • Forge • 

Immersive engineering - place entire machine at once

kragnoth: Is there a way to override right click on block in air behavior (well onto a block) and place an entire immersive engineering machine? I've always loved the mod, but the machine building is tedious so I end up just going with other mods to do the same behavior in alot of cases. The only machines I regligiously build are the stamping machine, because it's all my puny brain can handle at once visually.

πŸ’¬ 16 • 1.20.1 • Forge • 

side/script type loading flag

ArugChief (@βœ”): `//side: ` a flag like requires that specifies if this should load only on the physical `client`, physical`server` or if it should load on `both`. `both` would be the default. if a script tries to load on the wrong side then it will silently not load, just like existing requires and ignore.

πŸ’¬ 5 • Unknown • Forge/Fabric • 

can you add new factions to the game using kubejs?

Sketano: what the title says

πŸ’¬ 27 • 1.20.1 • Forge • 

Need a tag for hostile mobs

Kira Starr: Making a quest in FTB quests and I need to make a script or something with KubeJS that makes it so that killing any hostile mob completes the quest. Its only letting me select one hostile mob, like a zombie or a skeleton. I want the quest to be completed if ANY hostile mob is killed

πŸ’¬ 48 • 1.20.1 • Fabric • 

How would I create an in world recipe for a block touching water?

WiiSafetyManual: I want to have any dirt touching water be turned into mud, kind of like how concrete powder works, but I don't know how. I know lychee exists but I don't think they have this type of recipe

πŸ’¬ 11 • 1.20.1 • Forge • 

Scheduled commands

LessthanZach: This code ran fine before updating to 6.1. I've updated the OnEvent stuff and changed the way the commands are handled, get no errors but none of the commands work.

πŸ’¬ 88 • 1.20.1 • Forge • 

Simply adding a tagged item to a loot pool no longer works in 1.20

RQ: The script:

πŸ’¬ 5 • 1.20.1 • Forge • 

modifyResult with Create recipes?

backslashes: Is it possible to use modifyResult with create/custom recipes?

πŸ’¬ 21 • 1.20.1 • Forge • 

tags, regex, and skill issue

800020h: `/chipped:starry.*terracotta/` matches `/chipped:starry.*glazed_terracotta/`

πŸ’¬ 13 • 1.19.2 • Fabric • 

Elder guardian overlay

loufu: Any way to put an image over the screen like the elder guardian effect?

πŸ’¬ 3 • 1.19.2 • Forge • 

Showing 100/1978 posts