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?
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.
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?
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? ๐ฅบ
Hephaestus Forage recepices
kkuks: how to add recepice to Hephaestus Forge like it is in atm10
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...
Killing item in some relative area
kkuks: How to kill a specific item in like x block cube around a thing
[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*)
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?
animate a hand held item
husband in progress: i want to animate hand held items using gecko lib and gecko js
Remove Loot from Ender Dragon
iGoonInYourWalls: i don't want the ender dragon to drop this type of item tag #simplyswords:uniques
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
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.
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?
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"
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
Remove Villager Trades
marcnum2: MoreJS should have the functionality (not listed in the wiki) using this ```
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
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?
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...
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.
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?
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?
EventHandler Aliases
Too Much Mail: allow `EventHandler`s to have aliases, basically in `EventHandler` have
how to use translation key in kubejs tooltip
Wwelol08: how to use translation keys in item tooltips?
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.
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
Creating an item that provides thirst
toastmaster911: If possible how would I add an item that:
Item texture for block when in inventory
ggerald_: How do i make it so my custom block has an item texture
Textures mysteriously not working anymore
toastmaster911: Message not found
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.
Idk how should I rename the png's to make everything work
The Weakest One: Wait a sec
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?
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))
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.
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?
how to explode along the raytrace
Kingdom Jeff: how do i make an explosion along the raytrace rather than at the end
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
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.
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.
Question about Extended crafting
Pantheris: I have a question about the extended crafting addon. Does it have a crafting time which I can manipulate?
Pneumaticcraft pressure chamber recipe. Please help.
Pantheris: ```ServerEvents.recipes(event => {
Can KubeJS remove/disable enchantments @ the enchanter?
Zobo: Could not find an example of this on the wiki or here
Furnace like block
ggerald_: How do i make a furnace-like block, like with gui, recipes with time and a active texture
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 => {
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.
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
How to check if block above BlockEvents.rightClicked block is air
Pakaru: My current code:
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?
Increase player attribute when holding a item with specific tag
Helore: Hello guys.
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.
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
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.
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.
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?
Modify Jetpacks tag so they can be placed into Elytra slot
SMN47: MC ver.: 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`.
Durability remove when blockevents.r click
Elamed: is there a way to remove durability when a right click custom on a block
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.
Dump specific loot table
esbraff: Is there some way to dump specified loot table with all its contents and rolls?
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.
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.
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.
Composter recipes ?
Elamed: is it possible to make a new composter recipes like new leaves insinde= new item ?
client_scripts Not Running
| ะะปัะณะฐ ะััะฐะปััะฒะฝะฐ |: having a weird issue — my client_scripts aren’t running (or like... half of them?).
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
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?
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?
keep getting this error on joining my server
Buggie30: I'm not positive that it is Kubejs, but it might be?
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
Event for block updated (from neighbors)?
J.F. Lifesteal: Is there an event to check when a block gets updated by neighbors?
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
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?
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?
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.
Server wide FTB quests
LeDok: Hello! I want to make server wide quest in FTB quest mod.
Drugz mod not loading possibly due to KubeJS
Rhioost: https://pastebin.com/DXtCReAd
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)
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.
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
$GenerateClientAssetsEventJS
OracularSpy: Does literally anyone know how to use this event?
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.
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?
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.
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>).
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.
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
Spread out custom block?
Elamed: is it possible to spread out custom grass block to custom dirt block ?
Making Liquids Flammable
Kunfury: Is it possible to make liquids flammable?
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
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.