Support Tickets


This page is still WIP!

How to hide a specific Suspicious Stew from JEI and the Creative Menu?

Mysticc: I'm trying to remove a specific Suspicious Stew variant from JEI and the Creative Menu, but every way I try seems to remove every type of Suspicious Stew. Does anyone know how I can go about doing this?

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Item use script

toastmaster911: How do I make a script for making an item that I hold in my main hand, an item in my off hand, and when I hold right-click it does an eating animation and transforms the item in my off hand into another item while dealing 1 durability damage to the item in my main hand.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

issue with replacement script

Missingno7007: hi i entered this

๐Ÿ’ฌ 4 • 1.20.1 • Fabric • 

Adding spell casting goal to existing AI?

Pitersonix: ```

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Spawn Item of interacted Entity

Just_Dude.It: I'm trying to insta destroy entity block (backpack) and drop it to the ground. But I dont understand how to do it correctly. Could anyone help with that?

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

KubeJS Iron's spell magic

Palza: The sound and scroll appear normally, but always there are no motion or effect damages. I want to create a "firewave"[shockwave]. Do happen to have any tips? ๐Ÿฅบ

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

KubeJS Offline skips classes and fails

Violet: Hello!

๐Ÿ’ฌ 15 • 1.20.1 • Forge • 

Hephaestus Forage recepices

kkuks: how to add recepice to Hephaestus Forge like it is in atm10

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Removing items - once again...

Pitersonix: Is there a function that removes items? It's so basic functionality, yet to properly remove an item You need 4 scripts or even more...

๐Ÿ’ฌ 2 • 1.21 • Forge • 

Killing item in some relative area

kkuks: How to kill a specific item in like x block cube around a thing

๐Ÿ’ฌ 1 • 1.21 • Forge • 

[ISS / KubeJS] Displaying Variable Data for Custom Spell

Aetheri: When registering a custom spell, where do you create the in-game reference of the spells variable data? For example, I'd like to display my spell's radius for the player to see (i.e display *finalRadius*)

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Toggle teamchat

zqki: Can anyone help me so when a player sends a command like /toggle every message after will have /teammsg before it and if they send /toggle again it will return to normal?

๐Ÿ’ฌ 1 • 1.21 • Forge • 

animate a hand held item

husband in progress: i want to animate hand held items using gecko lib and gecko js

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Remove Loot from Ender Dragon

iGoonInYourWalls: i don't want the ender dragon to drop this type of item tag #simplyswords:uniques

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Effect Icon

Owen: so im not sure why but when i register an effect it doesnt have an icon in the inventory if you know what i mean. just wanna know if theres an input that can add that in

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Ring of repair & Extra elytra slot

MrLeon: So I installed the mods in the title, but the ring of repair doesn't repair stuff in the curious inventory. I tried something randomly with kubeJs but that obviously didn't work.

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

Make totems useless apart from in crafting

zqki: Is there a way to make totems not do anything but can only be used in recipes?

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Disabling certain folders from data in mods?

Pitersonix: For example one mod adds enchanting books that I don't like, the easiest way to do it would be something to block loading certain folder, for example: "data/enderzoology/enchantment"

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Mining Dimension

Domi-I9: Hello Community i wanted to edit the generation of the Mining Dimension from the Mod Mining Dimension is there a way to do that via kubejs bc there ways for datapacks but i dont know how to deal with data packs

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Remove Villager Trades

marcnum2: MoreJS should have the functionality (not listed in the wiki) using this ```

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

is it possible to make functional blocks with kubejs

Speedy: 1.20.1 forge

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

Kubejs crashes when I add a mod(Thavma) to AllTheMods 10 3.2 ver

AlmanaX21: Issue is weird because there is zero correlation of anything in these 2 mods

๐Ÿ’ฌ 2 • 1.21 • Forge • 

single mace etc.

ใ‚ณใƒ‰ใ‚ทใƒž: Is it possible to make it so if one person crafts, for example, the mace, nobody else can craft it? Like Lifesteal or the SingleMace plugin?

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Custom armor tier registry not working

Winteragon: I'm trying to make a custom armor tier above netherite and followed this wiki : https://kubejs.com/wiki/tutorials/custom-tiers, but I get an error on startup...

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Minecraft Music Disc Failed Registry Issue.

Seradar: Hello, I was following the guidance from the example script and the previous support ticket and managed to get the music disc mostly working, but am currently dealing with two remaining issues.

๐Ÿ’ฌ 10 • 1.21 • Forge • 

Was ServerEvents.highPriorityData changed?

Firav: I'm attempting to use an ars tweak and I'm getting a kick back that highPriorityData no longer exists?

๐Ÿ’ฌ 7 • 1.21 • Forge • 

modded weapons do 0 damage to players

zqki: Hi, is there a way for me to make it so weapons such as cataclysm:the_incinerator only do the regular damage against mobs but do 0 damage against other players?

๐Ÿ’ฌ 1 • 1.21 • Forge • 

EventHandler Aliases

Too Much Mail: allow `EventHandler`s to have aliases, basically in `EventHandler` have

๐Ÿ’ฌ 9 • Unknown • Forge/Fabric • 

how to use translation key in kubejs tooltip

Wwelol08: how to use translation keys in item tooltips?

๐Ÿ’ฌ 8 • 1.20.1 • Forge • 

NBT and Tags

Emerald_city: I have been trying forever to make NBT tags work with recipes and rn trying to make a specific NBT tag item have its own texture.

๐Ÿ’ฌ 8 • 1.20.1 • Forge • 

Is there a way to reference all the items in the game, in the Item.events.modification?

Seby: I'm trying to modify all the rarities in my modpack, and I need a way that is not tidious

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Creating an item that provides thirst

toastmaster911: If possible how would I add an item that:

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Item texture for block when in inventory

ggerald_: How do i make it so my custom block has an item texture

๐Ÿ’ฌ 21 • 1.20.1 • Forge • 

Textures mysteriously not working anymore

toastmaster911: Message not found

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Custom chest/storage via KubeJS?

DeftestHawk: Is it possible to use KubeJS to make a chest with less slots than the vanilla chest. I couldn't find anything online about it.

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Idk how should I rename the png's to make everything work

The Weakest One: Wait a sec

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

How would I remove a certain block from world gen?

ใ‚ณใƒ‰ใ‚ทใƒž: Using a mod that has an ore I don't want. How would I removei t using KubeJS? Is it possible?

๐Ÿ’ฌ 7 • 1.21 • Forge • 

Add effects to custom armor (Potion effects, No Fall Damage, so on...)

futurePrezReagan: I have a custom armor set, and I would like the armor set to grant the player buffs when they're wearing the full set. Not too much a preference on if it actually displays potions effects or not for those kinds of buffs, and wasn't sure how adding something like no fall damage may potentially work. I already have a script with some custom behaviors as well that I derived from another post. It detects when a full armorset is equipped, and then grants or removes buffs as needed (currently just creative mode flight, and maybe walking speed (idk if walking speed actually working yet though))

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Nbt corrupt items protection in my server

MishiCul: Hey so I had a problem with a corrupt inventorie a day ago, and discovered KubeJS could avoid that problem.

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Items and *some* blocks not having textures

toastmaster911: Logged on today to find out my items I’ve added and some of the blocks are just missing textures but I didn’t change any code or even open up any files. Why could this be?

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

how to explode along the raytrace

Kingdom Jeff: how do i make an explosion along the raytrace rather than at the end

๐Ÿ’ฌ 3 • 1.20.1 • Fabric • 

How can i add items in create?

ItzByc: I want to add a new mechanism with kubejs, that can make machines better, but idk how to add the textures and the item, or even the tags that it will use

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Egg like turtle egg

Vx: Hi, I am working on a mod pack, and was wondering how I would get some form of egg working, like the turtle eggs.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

armor values won't change but scripts compile

Anonymous: I'm trying to make a script to give certain armors additional armor or toughness to balance a PVP pack im making. when I tested the syntax with mana and artifice armor they changed no problem. But then I tried to change iron's spellbooks armor and despite the scripts loading with no errors the armor and toughness doesn't update.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Question about Extended crafting

Pantheris: I have a question about the extended crafting addon. Does it have a crafting time which I can manipulate?

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Pneumaticcraft pressure chamber recipe. Please help.

Pantheris: ```ServerEvents.recipes(event => {

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Can KubeJS remove/disable enchantments @ the enchanter?

Zobo: Could not find an example of this on the wiki or here

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Furnace like block

ggerald_: How do i make a furnace-like block, like with gui, recipes with time and a active texture

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

game crashes when i want to create a villager

iGoonInYourWalls: ```js

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

how do i make a food make the honey bottle sound when drunk

es7509: i have this script to add a bottled food and have it act like a drink ```js event.create('v_borne:syrup_bottle').food(food => {

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

How to delay REIEvents.groupEntries until after item registration?

NonplussedUltra: I'm cleaning up my modpack's inventory using REI collapse groups, creating which is a client event. Problem is, as described here (https://github.com/KubeJS-Mods/KubeJS/issues/741), client scripts trigger prior to item registration, so the script can't see modded items when it runs.

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Disabling player block placing/destroying in structures?

Pitersonix: It's easy way to cheese bosses this way, I'd want to make some defence against it

๐Ÿ’ฌ 8 • 1.21 • Forge • 

How to check if block above BlockEvents.rightClicked block is air

Pakaru: My current code:

๐Ÿ’ฌ 1 • 1.20.1 • Fabric • 

Change item attribute for entire tag

AerosAtar: I want to change an item attribute (in this case maxStackSize) for every item in a particular tag, to save having to add potentially hundreds of event.modify instances, or having to manually seek out and add every single mod-added item of a particular type to add into a `const`. Is this possible?

๐Ÿ’ฌ 4 • 1.21 • Forge • 

Increase player attribute when holding a item with specific tag

Helore: Hello guys.

๐Ÿ’ฌ 1 • 1.21 • Forge • 

mob aggrassing radius

dok: can I somehow reduce the radius of aggression of the skeleton to 3 blocks, the best that I got is that the skeleton did not shoot at me until I do not approach, but at the same time still aggroed at me within a radius of 16 blocks.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

change effects for raid completion

Speedy: i want to remove the ability for players to get hero of the village levels higher than lvl 1

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Array.prototype.flatMap

thornium: it doesn't work right now

๐Ÿ’ฌ 4 • Unknown • Forge/Fabric • 

Drilling help.

Pantheris: Trying to make an endgame drill, known as the Necronite Drill, function as a pickaxe (with drops and all) and I'm not sure how to do that. I do at least have the item registered and tagged as a pickaxe but other than that I'm a bit clueless.

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Is there a way to add behavior to Create Big Cannons gun fire?

Rex: For context, I am creating a modpack with both CBC and the sandworm mod, and I want cannons to add wormsign to nearby players when they fire.

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

How to worldgen

toastmaster911: How would I go about adding rocks to worldgen with the same spawn rules as Project: Vibrant Journey's rocks? Also how would I disable worldgen of a specific ore/block?

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

Modify Jetpacks tag so they can be placed into Elytra slot

SMN47: MC ver.: 1.20.1 Fabric

๐Ÿ’ฌ 6 • 1.20.1 • Fabric • 

Mod breaks beans in KJS

Swedz: I'm not really sure what could be causing this, but [my mod](<https://github.com/Swedz/Little-Big-Redstone/>) I just published yesterday is causing [beans](<https://kubejs.com/wiki/tips/beans>) in KJS. I have no clue why or how, but from what I and a few others have been able to find its only happening with `getNamespace()` from `ResourceLocation`.

๐Ÿ’ฌ 2 • 1.21 • Forge • 

Durability remove when blockevents.r click

Elamed: is there a way to remove durability when a right click custom on a block

๐Ÿ’ฌ 3 • 1.21 • Forge • 

Removing Items from Creative Mode Tab

Percentt: I understand how to remove items from creative mode from normal tabs, such as building blocks, but I don't know how to remove items from modded tabs. I.E. Removing a dirt variant from the Chipped Mod's Tab.

๐Ÿ’ฌ 5 • 1.21 • Forge • 

Dump specific loot table

esbraff: Is there some way to dump specified loot table with all its contents and rolls?

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Make a mob burn in the sun with EntityJS

db3k: I would like to edit a mob, namely the mime from Caverns and Chasms, so that it will burn when exposed to the sun like zombies and skeletons.

๐Ÿ’ฌ 7 • 1.19.2 • Forge • 

Food spoil in TFC

Gyatt gyatt ohio rizzler: Hello. I am making a recipe in kubejs that processes one type of food from TFC into another (grapes into grape paste). But when processing it, the spoil timer is reset (as if I had just spawned it). Please tell me what I need to specify in the recipe so that it preserves the spoil time when processing.

๐Ÿ’ฌ 32 • 1.20.1 • Forge • 

Custom recipe for Create

Jerem: Hello guys, I'm new at Java scripting and want to add a new recipe with Create for Crushing ancient_debris to get netherite scrap and 75% experience nugget like others ore but... my script is charging in the log but the recipe is not present, I've KubJS for Create too.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Composter recipes ?

Elamed: is it possible to make a new composter recipes like new leaves insinde= new item ?

๐Ÿ’ฌ 74 • 1.21 • Forge • 

client_scripts Not Running

| ะžะปัŒะณะฐ ะ’ั–ั‚ะฐะปั–ั—ะฒะฝะฐ |: having a weird issue — my client_scripts aren’t running (or like... half of them?).

๐Ÿ’ฌ 6 • 1.20.1 • Forge • 

Removing tool parts via output

thunderlord: I am trying to remove some tool parts from a addon for mystical ag but i cant its not working and sadly there not many scripts to go off of i will send the script now

๐Ÿ’ฌ 5 • 1.19.2 • Forge • 

How to remove this error?

TomatoSoupter: The mod adds a custom shapeless recipe for a patchouli book. But without Patchouli, adding any shapeless recipe causes this error. Is there a way to fix this?

๐Ÿ’ฌ 16 • 1.21 • Forge • 

Is there anyway to remove recipes for ore only from one specific mesh?(ex deorum)

Monico: when i use event.remove({output: ore}) it removes all the mesh recipes for that ore, is there a way to remove just one mesh recipe, for example i want to remove iron ore chunks from string mesh recipe but keep the recipes from all the other meshes. Is there a way to do that?

๐Ÿ’ฌ 6 • 1.20.1 • Forge • 

i dont understand, trying to add a custom fluid

cowardlycamper32: ```

๐Ÿ’ฌ 59 • 1.21 • Forge • 

keep getting this error on joining my server

Buggie30: I'm not positive that it is Kubejs, but it might be?

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Create mod sequenced assembly bad syntax

the donut person: i'm trying to make a sequenced assembly recipe, but it keeps erroring "Error loading KubeJS script: server_scripts:example.js': missing ) after argument list", but i can't find a single unclosed pair of parentheses in my code and neither can visual studio

๐Ÿ’ฌ 2 • 1.19.2 • Forge • 

Event for block updated (from neighbors)?

J.F. Lifesteal: Is there an event to check when a block gets updated by neighbors?

๐Ÿ’ฌ 5 • 1.18.2 • Forge • 

removing all entries from a mod except for some (Recipe Viewer)

Cosmic Chain Reaction 2.0: i want to remove everything from traveler's backpack except for the standard backpack and i don't know how :D

๐Ÿ’ฌ 3 • 1.21 • Forge • 

Custom crops like potato

Norman: I would like to create a crop that works like potato or carrots but I can’t find how to disable the seed and use the item as both seed and harvest? Do you have any advice?

๐Ÿ’ฌ 3 • 1.21 • Forge • 

I want to make an endless rocket for elytra flight.

Sascha: i tried by using a vanilla rocket on right clicking my item but it consumes my item. What would be the work around?

๐Ÿ’ฌ 1 • 1.21 • Forge • 

How to add Recipes to EMI

Blk Wolf: I am wanting to switch from using JEI to EMI in my pack and none of the Xycraft extractor recipes show up in EMI last time I checked. I want to know how to make them visible again.

๐Ÿ’ฌ 5 • 1.21 • Forge • 

Server wide FTB quests

LeDok: Hello! I want to make server wide quest in FTB quest mod.

๐Ÿ’ฌ 1 • 1.20.1 • Fabric • 

Drugz mod not loading possibly due to KubeJS

Rhioost: https://pastebin.com/DXtCReAd

๐Ÿ’ฌ 10 • 1.21 • Forge • 

Add chance of geting poison debuff via tough as nails dirty water

Helore: Hello guys, i was wondering how can i add a chance to get poison debuff when driking dirty water from tough as nails (both hand drinking and canteen/bottle drinking)

๐Ÿ’ฌ 2 • 1.21 • Forge • 

Recipes not adding

Lunar1156: Hello, I can’t seem to add any recipes via kubejs. It is removing recipes just fine, just not adding them. Kubejs reloads without error.

๐Ÿ’ฌ 54 • 1.20.1 • Forge • 

right click action

Elamed: i need help can someone tell me what should i do to shift right click on a block = item but only shift right click and with emtpy hand

๐Ÿ’ฌ 45 • 1.21 • Forge • 

$GenerateClientAssetsEventJS

OracularSpy: Does literally anyone know how to use this event?

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

KubeJS server scripts made some recipes from another mod disappear despite not removing anything

Pakaru: I'm really confused. Mod i'm using is Useful Backpacks, which adds craftable backpacks that can also be dyed. Somehow, when loading any server script, no matter what the script does, all of their recipes go poof.

๐Ÿ’ฌ 14 • 1.20.1 • Fabric • 

How do I make an enchant compatible with an existing item?

Yuyuko: A mod adds Dumb Pickaxe, and Dumb Pickaxe didn't ship with enchant compatibility for Efficiency. Can I do anything to make it compatible?

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Blockstate fixing script for new chunks

Raeffi: **Problem:**

๐Ÿ’ฌ 23 • 1.20.1 • Forge • 

Allowing Sword enchants on an unenchantable item?

althail: I'm on 1.21.1 currently. As the title says, how would I possibly modify an item that cannot have enchants on it to allow sword enchants on them through anything whether it be the enchanting table, anvil, or /enchant? I looked through the KubeJS wiki and there wasn't anything on this topic.

๐Ÿ’ฌ 23 • 1.21 • Forge • 

Slightly Improved Font (32x).ttf

Degg: Is it possible to get a TTF/OTF/WOFF version of the font? I want to use it in my OBS overlays. It doesn't appear to be available on [Modrinth](<https://modrinth.com/resourcepack/slightly-improved-font>), [GitHub](<https://github.com/latvian-dev/slightly-improved-font>), or [CurseForge](<https://www.curseforge.com/minecraft/texture-packs/slightly-improved-font>).

๐Ÿ’ฌ 6 • Unknown • Forge/Fabric • 

Force delete a block?

wispr: Is there a way to force delete a block after the player has been mining it for a certain amount of ticks? I'm trying to make certain unbreakable blocks breakable from the securitycraft mod, but so far I haven't had any luck, they just refuse to break.

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

Change the model of an existing block

C.ฤ’.L.L.O.: Im trying to add a custom sieve through exdeorum but it requires a datapack and a resource pack to load. I've thrown the data pack into the data folder in kubejs and am wondering if theres a way I can change the model and item model of a block from another mod through kubejs. I tried using block modification in the startup scripts but theres no model property for that

๐Ÿ’ฌ 3 • 1.21 • Forge • 

Spread out custom block?

Elamed: is it possible to spread out custom grass block to custom dirt block ?

๐Ÿ’ฌ 18 • 1.21 • Forge • 

Making Liquids Flammable

Kunfury: Is it possible to make liquids flammable?

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Hi , Can't join a modpack that work for everyone but not me , Error KubeJS , Has failed to load

Anonymous: There is the crash logs for ya pals ! sorry i dont understand a thing of that at least did try but ... seems im too dumb ain't build for that

๐Ÿ’ฌ 12 • 1.20.1 • Forge • 

world gen

roccop1101: i cant manage to change the ore generation, no even whit chatgpt (that manage to make some changes that work for me). i am tring to reduce the amount of cooper for vein to max 5 and slightly reduce the amount of iron and height generation to make it a little harder to get and increase it value.

๐Ÿ’ฌ 5 • 1.20.1 • Forge • 

Client.runCommand doesnt exist?

ivanb: f

๐Ÿ’ฌ 7 • 1.20.1 • Forge • 

Showing 100/8657 posts