Support Tickets


This page is still WIP!

how can i change 1.0d to 1

Creeater: nextLevel = 1

💬 3 • 1.21 • 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 • 

Tag in recipe problem

ggerald_: When I use a tag in any recipe it says something along the lines of "recipe has more fluid inputs than supported"

💬 1 • 1.21 • 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?

💬 2 • 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?

💬 3 • 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 • 

Removing items from JEI doesn't want to work

Amy: I'm trying to prevent certain items from appearing in JEI but for some reason that just doesn't work... There are no KJS errors either. Anyone know what did i mess up?

💬 14 • 1.20.1 • 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?

Creeater: 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 • 

Immersive Engineering IEEvents.multiblockForm question

Veruty: i am using this addon

💬 14 • 1.20.1 • Forge • 

Custom anvil repair -> Item cannot be retrieved from output slot

phistoh: I have the following script as a startup script

💬 2 • 1.21 • Forge • 

Can you run a command if the player jumps?

Merry: Is that a thing?

💬 24 • 1.19.2 • Forge • 

New PSI Spell Piece

TheStraying11: PSI has these API method to register a spell piece: ```java

💬 3 • 1.20.1 • Forge • 

Adding recipes breaks current recipes

egg: I'm trying to figure out why adding `ServerEvents.recipes(event => {})` to the server scripts causes my modpack to explode

💬 10 • 1.21 • Forge • 

KJS Iron's spellbook problem on declaring school on if

Diju: I making a script spellOnCast to find the school that I made in KJS, and remove a specif attribute from the player, but the school outputs like

💬 18 • 1.21 • Forge • 

make an NPC cast spells from book

markburns.: Hi! Is there a way to make an NPC cast spells written in the spellbook they're holding? Like the recruit from the Villager Recruits mod.

💬 6 • 1.20.1 • Forge • 

Every allowed string syntax for `Item`s, `Fluid`s and `Ingredient`s?

KonSola5: I know of:

💬 31 • 1.21 • Forge • 

"server" is null error when starting world

Xevian: I get this error every time I create a world. The error goes away when I /reload. I'm really not sure what to do here...

💬 3 • 1.20.1 • Forge • 

How to summon particles facing your direction upon left click with a certain item?

Merry: Can someone please tell me? There being no leftClicked makes everything annoyingly hard

💬 2 • 1.19.2 • Forge • 

textures on different sides

Your Least Favorite Comedian: I did see a post similar to this but they were on 1.20.1 and i am for sure on 1.21.1. and i am getting the default purple and black texture ingame. please help (the pear is only a test/joke block)

💬 24 • 1.21 • Forge • 

How do I reference other files in KJS?

gulas: Things like @.see and @.link do NOT work unfortunately. I'm assuming it has something to do with an outdated version of JS running or smth?

💬 41 • 1.20.1 • Forge • 

Unknown message ID: kubejs:first_click

Shiba: since i deleted kubejs from my minecraft server, this message is been flooding my entire console all the time and i dont know why

💬 5 • 1.20.1 • Forge • 

How to check if the entity has a certain tag?

Pafeu: ```js

💬 2 • 1.20.1 • Forge • 

How do i make it accept tags?

☩ Hiruka ☩ - ひるか DEV: Here i wanna that the TAC zero gunsmith table accepts any kind of steel, but i always get errors, i tryed making tag tag and item tag, but none works, cus it seems that it only accepts item, but not tags. Is there a way that it can accept tags? Like, some kind of stuff that list items from a tag as tags?

💬 93 • 1.20.1 • Forge • 

MobEffects help with modded status effects

daawiid: As the title says i was wondering if its possible to use MobEffects with modded potion effects, im currently using this piece of code to make weapons apply status effects on hit but i want them to also apply modded effects but im not sure if thats possible. FYI its not mine, i got it from here

💬 1 • 1.20.1 • Forge • 

Overriding item texture after changing the nbt

Pafeu: No idea what am I doing wrong here the item always uses the original texture capturing_gem.png.

💬 8 • 1.20.1 • Forge • 

Entities hurting themselves with spells (Spells JS + EntityJS)

Balúncio: Soo, im trying to figure out how to stop the fire dragon from ice and fire mod from hurting himself with the spells i chose for him, which are fire ball and heat surge, anyone has any tip?

💬 4 • 1.20.1 • Forge • 

OKay so, i've been looking in the documentation and i don't know how the recipe removal works

☩ Hiruka ☩ - ひるか DEV: i mean, just the part where it mentions:

💬 23 • 1.20.1 • Forge • 

need help with upon right click breaks and replaces blocks with particles and drop an item too

RJames: making code where i right click two blocks on top of each other, and then it sets blocks, runs minecraft commands for particles. is there a different way to deal with this, i mean instead of using set block and a minecraft function to make break particles.

💬 4 • 1.20.1 • Forge • 

Showing 100/10835 posts