Support Tickets


This page is still WIP!

Items are registered *after* tool tiers?

mo_mo (ping me): Is kubejs registering items after registering tool tiers? I can't set the repair ingredient to a kubejs-registered item: `Failed to read ingredient from kubejs:bronze_ingot: Item with ID kubejs:bronze_ingot does not exist!`

πŸ’¬ 1 • 1.21 • Forge • 

ClientEvents rename doesnt work

DaddySpin (Reflection > Mod): im not sure why but this client script doesnt work at all

πŸ’¬ 2 • 1.20.1 • Forge • 

Extra Delight oven recipe

Doc πŸ§ͺ: In unifying foods for my modpack, I am attempting to make a recipe using [Fruits Delight](https://github.com/Minecraft-LightLand/FruitsDelight) blueberries and Extra Delight's oven to produce a blueberry pie from [Wild Berries](https://www.curseforge.com/minecraft/mc-mods/wildberries). I am referencing [Extra Delight's Glow Berry Pie recipe](https://github.com/Lance5057/ExtraDelight/blob/1.21/src/generated/resources/data/extradelight/recipe/cooking/oven/glow_berry_pie.json).

πŸ’¬ 3 • 1.19.2 • Forge • 

blocks to not cull on themself

Mr.Fluff: Q: what render mode do i need for blocks to not cull on themself

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

Better way to speed up effect duration

Jaofumi: i'm trying to make the effects the player has timer speed up and this was the best i could come up with so i was wondering if there was a better way of doing this

πŸ’¬ 1 • 1.20.1 • Forge • 

how can i change specific data on setCustomData?

Creeeator: ```js

πŸ’¬ 2 • 1.21 • Forge • 

Locking the use of a keybind

Pakaru: Basically, I want to prevent players pressing M to open the Map without having a map item in their inventory. Is it possible to lock a keyboard keybind using KubeJS?

πŸ’¬ 1 • 1.20.1 • Fabric • 

Effect not working when item stack = 1

mayojar_: title

πŸ’¬ 9 • 1.20.1 • Forge • 

Cloning a modded block?

Yez: I'm trying to copy the block of sky sky block but its crashing mid load.

πŸ’¬ 6 • 1.20.1 • Forge • 

Fluid replacement in melting recipes doesnt work?

Amy: I'm trying to replace certain TConstruct molten metals in smeltery recipes with their Gregtech counterparts. For example, when melting an iron ingot, i want it to output GT's `liquid iron` instead of TC's `molten iron`. Unfortunately I just can't get it to work, no matter what. I already made it so GT's fluids have the proper tag and can be used in place of TC's fluids for casting/alloying recipes but when it comes to melting, it still outputs TC's fluids for some reason.

πŸ’¬ 2 • 1.20.1 • Forge • 

Thermal Foundation making own Augments

Xsmer: So yeah i wanted to add my own augments but idk how and Yes i was looking in Wiki and Yes i was using ChatGPT and it went from kubejs trough data packs and trough making Completly new addon which is Hard, i am on forge 1.20.1, please someone help πŸ₯²

πŸ’¬ 1 • 1.20.1 • Forge • 

entityjs questions about spawn control

kirb: event.addSpawn('kubejs:sasuke', ['#minecraft:is_overworld'], 20, 3, 5);

πŸ’¬ 2 • 1.20.1 • Forge • 

Making a /setspawn and a /spawn command for a server

Jörgen Automobilen: Basically I need a /setspawn command to well set the spawn of the server to a certain point for /spawn to go to I'm kinda new and inexperienced... pls go easy on me

πŸ’¬ 1 • 1.20.1 • Forge • 

[Create] Adding Mysterious Conversion (via reflection) causes client script crash

Starwort: I'm trying to add Chromatic Compound mysterious conversion recipes back into Create 6 (as Create still has the code to make this work) - but I can't get the Mysterious Conversion recipes back; it causes this error:

πŸ’¬ 3 • 1.20.1 • Forge • 

Shaped Recipes not registering properly

fisto planet: Making a modpack and to cut down on bloat im merging all wooden pressure plates, wooden buttons, boats(including boatload variants and chest variants), and sleds(snowy spirit). Apparently only the Button recipe works since it's the first recipe, but everything else after that doesn't register properly. I have no clue what to do since im new to KubeJS and it seems like every other recipe other than the shaped ones are working fine.

πŸ’¬ 7 • 1.20.1 • Forge • 

Limit stack size in inventory

Emyrian: Is there a way to limit the stack size of inventory slots for a custom entity inventory? For example, I want the stack limit for my Drying Rack slots to be 1.

πŸ’¬ 1 • 1.20.1 • Forge • 

Unable to remove recipes for some mod items

rocketmice: I've been trying to mess with custom modded recipes, but a couple of mods seem to be resistant to modification -- specifically Create: Stuff and Editions & Immersive engineering. I'm able to add recipes for the items, but can't remove the original recipes. I can show the code I've been using, and I have been using the cipherwrite mod to make designing the recipes easier.

πŸ’¬ 2 • 1.20.1 • Forge • 

Custom item functionality and recipes seems to be completely swapped around?

UltraGaymer (Ren): Hello! I am using KubeJS to add some custom items and blocks for my modpack, along with recipes for said items. This works completely fine in singleplayer! However, on my server, the functionality and recipes for items seems to be completely swapped around? For example, if I grab the "Ultrapure Primium" item (which is made to be a crafting component for some other recipes), it behaves entirely like a different item that just so happens to be a block, which means right clicking will place blocks! In addition, it tries to have the crafting recipe of that block, but... since that has a messed up crafting recipe too, everything ends up being really broken! Again, this issue *only* occurs on my server (which has the same scripts and the same config and mods), and does not occur if someone plays in singleplayer or opens a singleplayer world to LAN

πŸ’¬ 6 • 1.20.1 • Fabric • 

durability

Kro Thells: I want to duplicate the item durability of items that are part of 1 tag, but, I've been having problems with that, I installed a mod that adds tags automatically to some items, and because some things got their original tags broken, would something like this work?

πŸ’¬ 29 • 1.20.1 • Fabric • 

Disable errors from other mods

egg: I've got an issue where every time I load into a world, I get 13 errors (and 695 warnings) from several mods in my modpack. Is there any way to disable those errors without disabling errors from my changes?

πŸ’¬ 4 • 1.21 • Forge • 

getting custom armour to adopt a model and texture

Sharky | Ping me: ```js

πŸ’¬ 3 • 1.20.1 • Forge • 

Basic Tooltips

Mark: (im new to KubeJS so sorry if i ask simple questions) How could I add basic tooltips to items? like I want to make it so i hold down shift and then a tooltip with info pops up

πŸ’¬ 5 • 1.20.1 • Forge • 

Which type of block should I use if I want to make a simple log type block?

zamo: I’m trying to create a simple log type block called “aluminum beam” for decorative purposes, but I can’t figure out how to make it like a log.

πŸ’¬ 1 • 1.20.1 • Forge • 

Is it possible to keep the bucket in a smelting recipe?

𝕀π•₯π•«π•Žπ• π•†π•¨: i wanted to make a salt recipe for my modpack but the bucket dissapears

πŸ’¬ 1 • 1.20.1 • Forge • 

Failing to change specific item's behaviour

Gelre: So I'm pretty new to KubeJS but fortunately it all seems pretty easy and I've gotten most stuff I want to do to work without issue but I'm running into 1 particular item that is simply refusing to have it's behaviour changed.

πŸ’¬ 5 • 1.21 • Forge • 

Connnected Textures

ggerald_: I switched from 1.20.1 forge to 1.21.1 neoforge. In 1.20.1 i used LDlib to make connected textures but it doesnt work anymore. the connected texture, mcmeta and block model

πŸ’¬ 2 • 1.21 • Forge • 

Effect value change

Fennix: "I want to change the Ancient Knowledge XP bonus in Apotheosis. By default, level I gives +100% XP, level II gives +200%, up to level IV giving +400%. I don’t want it to scale that much. I want each level to give only +10% XP, so level IV gives +40% XP.

πŸ’¬ 1 • 1.21 • Forge • 

optimization question, custom blocks

Mr.Fluff: how can I make this more efficient?

πŸ’¬ 3 • 1.20.1 • Fabric • 

custom block sounds?

Reid: title. trying to make a block that has custom sound effects, but the documentation isn't very helpful. how would one do this?

πŸ’¬ 3 • 1.20.1 • Forge • 

make a mob have a chance to summon a evoker fang on them when im getting damaged

LgndTheDredgen: I am making a script that I want a 15% chance to summon an evoker fang on a mob that attacks me but not sure how to detect the hit and then summon the fang on top of them instead of myself

πŸ’¬ 1 • 1.20.1 • Forge • 

1.18 Block that sounds like netherrack

J.F. Lifesteal: In later versions there is a soundType that is for netherrack, but in 1.18 theres materials instead, but from the wiki I can't find a netherrack material, so how am I supposed to make a block that sounds like netherrack?

πŸ’¬ 7 • 1.18.2 • Forge • 

For loop concatenation help

Bad Idea Generator: So, I'm trying to make a for loop that creates recipes for a bunch of tracks autogenerated for tfc wood types by create steam and rails.

πŸ’¬ 1 • 1.20.1 • Forge • 

Dark Familiar not working in KubeJS 1.20.1

Usman: Hi KubeJS support,

πŸ’¬ 1 • 1.20.1 • Forge • 

Unable to remove L_Ender's Cataclysm items from L_Ender's Cataclysm mob drops.

LouWii: LootJS.lootTables(event => {

πŸ’¬ 1 • 1.21 • Forge • 

Issue creating a fluid with type different to 'thick' or 'thin'

Driftwood88: Hi, first time posting here!

πŸ’¬ 2 • 1.21 • Forge • 

Items to give and take tags

Owen: so im needing to make three items. a syringe item, then two filled syringes. the two filled syringes should be giving the player a different tag depending on the contents of the syringe, and then returning a single syringe back to the player. the empty syringe should be taking the tag away from the player, and providing a matching syringe. i've been trying to do this without making the max stack size 1 and using ```js

πŸ’¬ 1 • 1.20.1 • Forge • 

Scheduler warmup needed???

RARE PANDA: Why do i have to put this in player event login in order for the "first" schedule including event to actually use the scheduler?

πŸ’¬ 1 • 1.20.1 • Forge • 

PlayerEvents.inventoryChanged can't detect when last item is thrown

Dagilio: Im trying to make it so if you have the ingot in your inventory it sets you on fire until you throw it away and then removes the fire. but no matter what i check it never works. I tried checking if item.count==0, item.count==null, ==undefined, i tried checking item itself for null or undefined, and event==null or undefined. So my question is how can i detect when the stack becomes 0

πŸ’¬ 2 • 1.20.1 • Forge • 

Botany Pots Growth Speed up

Xsmer: so basically i want to make every crop in botany pots growth a little bit faster so for example from 2 minutes to 35 seconds and also i mean not by only one or some recipes but all of them but idk how to achieve this, can someone help?

πŸ’¬ 1 • 1.20.1 • Forge • 

effect script doesnt do more than 6 seconds

Purphect: So im making a script for a palladium ability, but for whatever reason it wont apply the effect for more than 6 seconds max

πŸ’¬ 1 • 1.20.1 • Fabric • 

wood type for Sophisticated Storage limited barrels?

Hollyleaf: Trying to add custom crafting recipes for limited barrels and I'm not sure how to actually change what type of wood it is, right now it just defaults to acacia

πŸ’¬ 16 • 1.21 • Forge • 

Custom waystone runes not showing runes overlay

Frosty: I have managed to make a functioning waystone variant using one of the example scripts, and got the textures and models working except the runes.

πŸ’¬ 2 • 1.20.1 • Forge • 

Return statement not stopping command execution

MasterNinad: > .executes(ctx => {

πŸ’¬ 6 • 1.21 • Forge • 

how to make sword in main hand take durability damage after mining grass

silksong gaming: Im trying to learn if this is possible and how you would do this

πŸ’¬ 1 • 1.20.1 • Forge • 

force player to crouch

Jaofumi: is there a way to do this?

πŸ’¬ 1 • 1.20.1 • Forge • 

error

SrNadien™: Where am I going wrong here?

πŸ’¬ 6 • 1.21 • Forge • 

possible to create an item that stops rendering of something?

kirb: theres a mod that adds wolf armor for 1.20 but it clashes with respacks that add custom entity models (the wolf armor doesnt fit wolves with models different than the vanilla one, visually bad) so could i create an item that when applied to a wolf with armor it unrenders the armor or it switches the armor texture to another one (empty)?

πŸ’¬ 11 • 1.20.1 • Forge • 

Unknown Error

Shugabrush: What is this error and how do I figure out exactly what recipe is causing it?

πŸ’¬ 1 • 1.20.1 • Forge • 

Armor with a custom model

Gamerhedgehog64: There isn't much documentation for handling models and I'm starting to wonder if it's even possible. I've attached the model & latest.log here's my script thus far:

πŸ’¬ 2 • 1.21 • Forge • 

Error message when trying to connect to a server

Anonymous: This error is coming up when I try to connect to a server on an older version. I've tried to match the version with that of my friend but it's still coming up this error.

πŸ’¬ 7 • 1.21 • Forge • 

How to make chunk claiming command?

Yamie: I want to make a command to claim chunks to a specific settlement / city.

πŸ’¬ 1 • 1.20.1 • Forge • 

Changing Jade's mod display name for a specific block

DariusZeBaguette (ping me): Basically, I have a mod that adds "Infected diamonds" which is a block that tries to mimick a vanilla diamond ore in the same way infested stone in Vanilla Minecraft does. However, when looking at the block, the block tooltip from Jade totally breaks the mystery by directly showing the name of the mod instead of Minecraft, thus ruining the effect. So, is there a way in Forge 1.20.1 to change in Jade a specific item's display mod name?

πŸ’¬ 1 • 1.20.1 • Forge • 

Balanced Ars nouveau ...

Usman: Hello there!

πŸ’¬ 2 • 1.20.1 • Forge • 

How to override saplings?

ja80991: Ive seen in one modpack that you could just make a sapling_overrides folder in the data/kubejs folder, but that doesn't seem to work for me

πŸ’¬ 7 • 1.20.1 • Forge • 

recipe type not in recipe folder

EntuzjastaPKP: What do I do if I want to add a custom json recipe for a mod, where that recipe type is not in 'recipe' folder?

πŸ’¬ 6 • 1.21 • Forge • 

Mob hp, attack, potion effects immune etc.

BedbI_C_BaIIIkoi: Hello, is there a way to set more hp, attack and potion effects immune to any mob?

πŸ’¬ 2 • 1.21 • Forge • 

natural generated block

Ryzen5_rx580: is it possible to check if block is naturally generated or placed by player?

πŸ’¬ 1 • 1.20.1 • Forge • 

Theoretical datapack support

THKB: I've been thinking about how the only reason i don't use kubejs is it's difficult to redistribute nature. Standard datapacks can be uploaded to modrinth/curseforge by themselves, but it wouldn't be possible to do the same for a kubejs project without making a modpack first, which is a much taller task, at least in my experience.

πŸ’¬ 1 • 1.21 • Forge • 

Tinker's Construct Items not being able to be hidden with EMI

Nerx: every other one in this list works, but not a single one of the tinker's items mentioned get hidden

πŸ’¬ 10 • 1.20.1 • Forge • 

Bedrock Custom Blocks

Chronun: Ive become aware that this mod allows you to add in custom blocks. What about blocks with custom geometry and properties like bedrock edition has? Is it possible to manually port them with this?

πŸ’¬ 1 • 1.21 • Forge • 

Trying to add a missing tag to a fluid but it won't apply

Bladereaper: Hi, was just trying to fix a modded fluid the liquid in question doesn't seem to have the 'forge:petrolium' tag despite the bucket version having it but my changes don't seem to apply?

πŸ’¬ 22 • 1.20.1 • Forge • 

what is a focus item? + how I create a custom projectile to the spell? + how do I apply a texture?

Diju: Message not found

πŸ’¬ 11 • 1.21 • Forge • 

How to detect a nearby Tamed Wolf to grant a buff to yourself?

LgndTheDredgen: I am working on a script that should grant you a buff if you have a tamed wolf nearby but I can't figure out how to detect the mob type

πŸ’¬ 2 • 1.20.1 • Forge • 

rhino error

SrNadien™: Could not find method api() for arguments [dev.latvian.mods🦏2101.2.7-build.81, build_bgimw0tl93wd5h9qwgxcbkgyy$_run_closure7$_closure23@38d8f0cd] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

πŸ’¬ 6 • 1.21 • Forge • 

i have problem with connecting pufferfish skill tree and kubejs.

LIMBO: i try to make a perk when you kill any entity you give a regeneration for 1 sec and script load without errors but the script doesnt do anything.

πŸ’¬ 1 • 1.20.1 • Forge • 

ReplaceInput replaces whole TAG

Anonymous: Hi,

πŸ’¬ 5 • 1.21 • Forge • 

Block multitexturing

JOLLETEEE: I have tried like every method that i know but i can't just get it to work (yes i suck at coding) (i need help getting the block to have different textures on different sides)

πŸ’¬ 23 • 1.21 • Forge • 

Removing Modded Villager Trades using MoreJS

Vansten: I'm trying to remove all modded trades from the leatherworker.

πŸ’¬ 1 • 1.20.1 • Forge • 

Replace shaped crafting recipe item by slot index

Micky: It _seems_ like it's possible but I haven't quite figured out how.

πŸ’¬ 1 • 1.21 • Forge • 

Change TConstruct materials properties

LIMI: Need to edit TConstruct materials, tried to use data packs, but that don't help

πŸ’¬ 1 • 1.20.1 • Forge • 

How to Add KubeJS Addition Recipe Catalyst

Dusty: I think that's the correct terminology? Basically the icons on the side of the JEI menu for the blocks / items that can be used for the recipe, like crafting table or funace. How can I make these show up for a custom catagory / recipe?

πŸ’¬ 6 • 1.20.1 • Forge • 

Detecting Better Combat attacking hand in LivingHurtEvent😊

EyesEyes: I wrote a backstab script that applies bonus damage when hit from behind with a specific item (`farmersdelight:iron_knife`).

πŸ’¬ 14 • 1.20.1 • Forge • 

Code works on right clicked but not on left clicked

Appocryptha: My code is only functioning on BlockEvents.rightClicked

πŸ’¬ 6 • 1.20.1 • Forge • 

Removing items completely

wan6845: How can I completely remove an item instead of just removing its recipe? Or at least prevent it from being obtainable outside of the creative menu/commands since some things can be obtained outside of crafting

πŸ’¬ 2 • 1.20.1 • Forge • 

Full Set Bonus

Thoracle: I've been trying to make full set bonuses, as an example if you wear full iron armor you would get plus 2 max health as an attribute and strength 1.

πŸ’¬ 1 • 1.21 • Forge • 

KUBEJS BLOCKS CTM

nicolas-vinc: Hey,

πŸ’¬ 9 • 1.21 • Forge • 

Block resistance modification

Anonymous: I want to run a startup script on my server that makes every block unminable and indestructible by explosions except redstone blocks and mods from the copycats+ mod.

πŸ’¬ 2 • 1.20.1 • Forge • 

Iron's Spells - Remove Hotkey Casting?

Tyler Geovex: I like Iron's spells a lot. The spells are awesome. But, hotkey based casting doesn't fit the vision for my modpack. I'm trying to get all of my spells to be right click effects on items. For example, if I have a Hailstorm spell, I want that to be only castable by crafting the Hailstorm staff, and right clicking with that staff in order to cast the spell. Is this possible with Iron's Spells JS? Or is this something that would require a full fork of the original mod?

πŸ’¬ 10 • 1.20.1 • Forge • 

why does this work for every food in game?

Wikter: ```js

πŸ’¬ 9 • 1.20.1 • Forge • 

throw cobble stone into the void and trasnfer to andesite

Ma: what is the right code to make it?

πŸ’¬ 3 • 1.20.1 • Forge • 

how can I add bow model by RangedJS in 1.21.1?

Creeeator: I think ClientEvents.highPriorityAssets is gone in 1.21.1

πŸ’¬ 2 • 1.21 • Forge • 

Randomly spawn safely

Skemech or something: I have this script that spawns you randomly thousands of blocks away (in addition a mod that forces you to spawn in the Nether), the player keeps spawning in walls/lava and instantly dying, making for a lame gameplay experience...

πŸ’¬ 2 • 1.19.2 • Forge • 

Checking if recipe already exists (and would thus be a duplicate)

Qther: Is there a way to check if a recipe already exists (not by ID, but by ingredients) so that i can avoid adding conflicting recipes when generating recipes dynamically?

πŸ’¬ 5 • 1.21 • Forge • 

Scale Mob Effect attribute changes

BeanedCans: I am trying to make an effect that changes the player size based on the amplifier of the effect, but I can't figure out how to get the amount added to scale with it if it's even possible. Doing it this way gives errors on startup. Screenshot is showing what I am trying to do.

πŸ’¬ 13 • 1.21 • Forge • 

fail proof g calculator (no NaN, no Infinity)

duck: Currently this script spews out NaN and Infinity sometimes due to what I believe is it dividing by 0 but I'm not sure how to make it fail proof with that

πŸ’¬ 29 • 1.20.1 • Forge • 

What event should I use for detecting when someone has drunk something?

Ocimandias Pepe: The counterpart for drinking of `ItemEvents.foodEaten`.

πŸ’¬ 9 • 1.20.1 • Forge • 

my problem I think

Devusiks: Is anyone able to help me fix this? : https://www.youtube.com/watch?v=OmI6Cw1dmDo And code for kubeJS:

πŸ’¬ 16 • 1.20.1 • Forge • 

Borders dont work

Anonymous: minecraft version1.16.5

πŸ’¬ 2 • 1.16.5 • Forge • 

Creating a structure

RARE PANDA: Im trying to paste a structure.nbt structure obtained with structureblocks on a kubejs event. whats a good mod/method to do this? im on forge 1.20.1

πŸ’¬ 2 • 1.20.1 • Forge • 

Replacing block drops

Mays: I don't know if I'm even doing this proper.

πŸ’¬ 2 • 1.21 • Forge • 

Draining output does not match input

✦ aqt ✦: Trying to add a draining recipe to make stripped logs be able to be drained to make sap, however after the log is drained, it converts to windswept holly logs instead of remaining the same type of log as it was.

πŸ’¬ 1 • 1.20.1 • Forge • 

Issues renaming fluid

Presto: Hi, I'm able to rename items just fine but when attempting to rename a fluid I run into some issues. See images for the code lines I've tried. I also looked through the previous posts and found one (which inspired me to create the top 2 lines). none have been successful yet!

πŸ’¬ 2 • 1.20.1 • Forge • 

recipe with a nbt data

koriie: i want to modify a recipe so that the output has a specific nbt. How can i do that?

πŸ’¬ 4 • 1.20.1 • Forge • 

what am i missing?

☩ Hiruka ☩ - ひるか DEV: i'm trying to use the mechanical crafter by the instructionof the docs, but i don't know which file i'm missing, do you guys have the file for that? Or is that something else?

πŸ’¬ 34 • 1.20.1 • Forge • 

What's wrong?

mateito9943: Message not found

πŸ’¬ 2 • 1.20.1 • Forge • 

Removing recipes?

Cr0w37: How do I remove recipes? ....am I missing something?

πŸ’¬ 56 • 1.20.1 • Forge • 

Make mobs no longer hostile when a certain item is used

Fingernails: I'm trying to make specific items that renders certain normally hostile mobs passive or neutral. Does anyone have any idea how?

πŸ’¬ 3 • 1.20.1 • Forge • 

Hide items with specific NBTs

Ekazuya: I'm want to replicate the "blacklisted nbt" part of item obliterator using kubejs to disable some tacz attachments but i didnt find anything either on the wiki or this discord that'd help me (or atleast its not in a format i understand).

πŸ’¬ 4 • 1.20.1 • Forge • 

[1.21.1] Cannot find function setBlockstateJson

Damonj17: Howdy. Trying to make clones of the vanilla Rose Bush block, and getting some issues, specifically in regards to Blockstates.

πŸ’¬ 4 • 1.21 • Forge • 

Tips/Guidance on re-adding KubeJS integration to a mod (Crock Pot)

doctorCatster: Hello everybody,

πŸ’¬ 7 • 1.20.1 • Forge • 

Showing 100/10854 posts