Support Tickets
This page is still WIP!
Making weapons compatible with Loyalty without making it compatible with other trident enchants?
Yousei: So in the Spartan Weaponry Unofficial mod, there are few weapons that can be thrown that are compatible with Loyalty, but doesn't work with the rest of the tridents enchantments. So I wanted to make it able to recieve Loyalty enchantment on survival without commands.
Silk touch and non silk touched
Krispy: Is there a way to make a "broken" block when breaking without silk touch, and example being stone and cobblestone
mekanism recipe
Krispy: is there a way to find a recipe types id? im trying to remove the mekanism energy smelting recipes as a whole but cant figure out what the id is
Editing spawn patterns with entityjs
charlierogersCretoxyrhina: Hey, I’m playing with a modpack (technically a pre-made one, but I’ve edited it so much it might as well be my custom modpack) and I want to change the spawn patterns of a few deep sea fishes from a few different mods. Specifically, the barreleye from bountiful critters and the yeti crab from ambient additions both seem to spawn near the top of the water’s surface (ironically), and I want to make it so that they only spawn below y=25, like the Alex’s mobs blobfish. This is also assuming that they might naturally not ever spawn that low, although I don’t understand their mod’s internal code enough to know if that’s the case. Anyway, does anyone here know how I could use entityjs to make it so those fish (and probably a few other mobs) will only spawn below y=25?
Bug with create: crafts and additions
Piña_robótica: So my straw blaze burners suddenly weren't intaking lava, and i went to ask on c&a's github, but there already was an issue abt it, saying it had smth to do with kubejs. what could be the cause?
is there a way i can make the performance of this script boost up?
โฉ Hiruka โฉ - ใฒใใ DEV: I don't know why, but i'm feeling like this script is lagging my world
Can someone help me? stats cmd
Aleeee: Hey everyone, I was wondering if someone could help me create a script to display stats, like using `/stats`.
Method for figuring out what tab an item belongs to when /kjs hand does not provide that information
Tachtra: I wish to remove items from the creative tabs of certain mods (ex. TFMG, create vibrant vaults, aeronautics/simulated), but /kjs hand does not show what tab items of theirs belong to. I have tried to discern this information by looking at decompiled code via intellij, however for some reason the string for the registries in those mods (if I could find them) never seemed to work. Despite this being only somewhat an aesthetic change, at least in my case, I think it could still be relevant to know of other methods of figuring out which creative tabs an item belongs to.
Adding chance outputs to existing recipes
Pip: I want to add a chance of getting sawdust from each of the Create sawing recipes, but the only way I know how to do that would be to individually replace each recipe's output since they all have different outputs. How can I make a helper function that replaces each recipe with its same output and and added chance for another item?
how can i make custom casing for create?
Frosty: im trying to make steel casing but idk how to make it work with cog encasing, belt encasing, connected textures, and wrench pickup. im pretty lost on this
item model
TugkanDeMan: im struggling to find the documentation on how to make an item a 3d model
Making wood unbreakable with your bare hands
Lachry-mosa-D: I've been trying to figure out how to make it impossible to break wood (trees) and only make it possible to break it with an axe. I know how to make it impossible to break but I have not yet found a way to check if the player is in creative and check if the player is holding an axe. Is there also a way to send a message saying 'You can't break wood without an axe'? I tried this but didn't end up working.
How to make item a fuel for furnace minecart?
NanChik: There is no tag for this
Trying to make a kubejs Abyss carver to make a gigantic hole basically
Gromit Mug: This is my first kubejs script beyond the most absolute basic of things, so be wary...
.damageIngredient on a .replaceInput ?
Lens: trying to replace all crafting uses of framedblocks hammer with the c hammer tag:
Help pl
Kudaar4ik: I can't make the thermal series mod spawn apatite ore, but it's there. If you could provide me with a ready-made script, I would greatly appreciate it.
How do I remove nether portal activating using flint and steel?
Lucky: I want to make my own custom item to enable the nether
create: diesel generators distillation recipe keeps throwing errors
svansen_floven1: ```js
Errors Without doing anything
Poolwe: whenever i reload kubejs with nothing in the script it causes errors with other mods, just wondering if there is a way to stop the errors because they are not causing a problem with the mod pack
Kubedex not working
Pitersonix: Just like that, I have used it for some time before, but now it doesn't work. Any ideas why?
Removing tags to remove enchantability
Amber: I tried to remove some tags from swords bc I noticed every minecraft:sword has minecraft:enchantable/weapon, but couldn't make it work, the idea is to make wooden tools can't be enchanted
need help figuring out ways of altering alcocrafts food interaction with spice of life valheim refo
The N00B: well so me and my friends are makin our own little pack and we want to be able to use the buffs from alcocraft without it takin up the foodbar for spice of life. my first idea was to try and convert the beer mugs/kegs in to potions but still keep the crafting as is. but i am finding it a tad bit difficult to execute this idea.
how i can do multiblock structure?
Weak | Mann: stud me please, i have all custom block for it
Ex deorum hammer
Game_MasterHD: Is there a script that creates a drop from blocks using Ex Deorum's hammer? example: break smooth stone with the hammer, drop a normal stone...
custom potion effects on food items
Krispy: im wanting to take a pre existing consumable and give players the ability to infuse potion effects into the food when crafting, how would i go about that? nbt data?
[Tacz][L2 artifacts]Revisions to the Damage Calculation Formula
ใใณใฎ่ขใใจใใใขใฌ: Hello, everyone.
chance to get 0-16 out of crushing
Krispy: what would be the proper way to make a recipe output a random number of the output?
Package in KubeJS script appears to be wrong
CatfishGlubGlub: Line at the very top of my script that is supposed to remove item recipes but doesnt remove anything I want it to:
Create crushing
Game_MasterHD: How can I do a script for exemple: 0-5 iron_ingot, 70% chance 2 gold_ingot?
Play Sound Effect When Fishing Specific Item
ZonkoTheGreat: I am trying to make it so if you fish a sculk sensor, its bloom sound will play. Does anybody know how to do that?
Stop all forms of LMB use for item
the_mad_duck: Looking for a method to completely cancel the lmb event for an item. No attacking, no mining, no swinging at the air. I would like this script to be client side as we're not going to show this to the server, it's a small server and we like having a secret weapon :)
how can i make a fluid bucket drinkable ?
TheTntExpress: so i want to make a drinkable fluid bucket (just like the milk) for a custom fluid bucket but idk how to do it
As of right now, how do you change a tool's mining tier?
SkippyZii: I'm trying to make the Copper and Silver tools from Ice and Fire to be in mining tier 1 (Stone tool tier) instead of mining tier 2 (Iron tool tier)
Tinkers Construct Fluid Outputs
Blackout: I am trying to use the mod Oreganized alongside Tinkers Construct and both mods provide a molten lead liquid, I am wanting to replace all recipes that output the tinkers construct molten lead, with the Oreganized molten lead instead, and then remove the tinkers construct molten lead from the game, i've tried looking at documentation to figure out how to do this but i can't seem to understand. My initial thought was the replaceOutput command but i'm unsure how to get that to interact with fluids, also while this is only possible on 1.20.1 for now id appreciate figuring out a solution for when tinkers construct is compatible with 1.21.1 as well incase the solution is different in some way, but any help is appreciated, thanks
Adding JEI recipe displays to potion recipes
Atom Sorcerer: Trying to replace a few potion recipes with custom ones, and also add a few new ones, however literally none of this is working.
Adding an alternate item for waxing
Borntorule: How would I go about setting up an interaction where using a specific item as a right click interaction would wax the resulting block.
Using Tags for Stackable Items and Blocks
ZonkoTheGreat: I am trying to make it so all wooden planks stack to a certain number (the numbers I have are for testing) but I have only gotten the potion tag to work. Does anyone know why these are not working?
How can I stop structures from generating with KubeJS
PotatoBro: I want to figure this out, because I have multiple repeat structures across several mods and causes way too much of the same structure. How can I disable a structure with KubeJS?
replaceinput not working with Sophisticated Storage
Pip: I have this simple replace input:
i downloaded a modpack and this mod give error and i couldnt solve it can anyone help me please
fl1p: Message not found
Full Armor Set bonus?
Lucky: Is it possible to create a full set bonus, like for example if a player equips a full set of armor they will receive a bonus effect like ex. elytra?
Just trying to get a simple haunting recipe from create to work
EEX5: I've been trying to use the event.custom() function to make a custom recipe for blackstone and infested cobblestone with create haunting but I've been struggling. I'll share more information in a minute
Including certain potion in crafting recipe
PseudoSquared: I'm trying to include a specific potion in a crafting recipe, and I've used `/kubejs hand` to give me the id of the potion, but when I put it into the script it does not work.
Is there any way to detect when rain starts or stops
Riley: I don't think there's an event for that.
Event.custom in sequenced assembly
INVOKER๐: im aware of the 4 currently normal supported recipe types in a recipe sequence, but am wondering if there is a more hacky way to include other create recipe types or event.custom in a sequence. am also aware of some of the older 1.20.1 and earlier versions where a person or two were able to get that to work but it is not current.
Logging command
๐๐ธ๐ฟ๐ช: Hello! How would I log the user of a command when they use it in another file? So that when they run it, it writes who used it, when it was used and where
Change item display name after asset loading
Puff: I am trying to make lang keys work with ``.displayName()``, but uhh it seems assets load only AFTER item creation
Tried to add block tags to scaling health ores but nothing appeared
ThatOneIdiot34: followed tutorials online and even got some help from someone from the Modded Minecraft discord server and it added 0 tags to all 4 of the ores I wanted to add tags to, idk what I did wrong nor what I did to mess it up so any ideas as to why its not working?
item modifications throw error on client join to server "was com.google.gson.JsonArray: At path $"
radilime: event.shapeless(
Can I make AnimationJS animations using Blockbench?
DaGamer5T3w: I am really confused as to how the add-on works, and I think that it would be really handy to use blockbench to ease the workflow here.
Change modded item class type to act like a tool
SkyanUltra: I'm currently trying to add a custom set of tiered tools which are meant to behave like the Swept Axe from *Clash!*, but I'm running into a couple of issues.
Double " appearing before the message
Raven ๐งก๐ค๐ฉท: rhino-2101.2.7-build.77
KubeJS consumes 100% of one core in kernel space on linux
Gammamad: Running minecraft 1.21.1 neoforge 21.1.228 with just KubeJS (and rhino as a dependency) loads one core of a CPU to 100% with about 80% beingh a kernel time. It makes a system call in a tight loop. Here is the info from strace `accept(222<TCP:[127.0.0.1:61423]>, 0x7fd22e0fe7a0, [28]) = -1 EAGAIN (Resource temporarily unavailable)`.
create drill destroys regenerating block
Aqua: is there a way i can stop a mechanical drill from create to destroy my regenerating block completely?
Ender Eye Canceling
Cryptic: I’m wanting to avoid having to update the server if I can help it, we have kubejs to disable crafting recipes of eyes regardless but they’re still obtainable through structures
How do I get a custom reward's ID from a reward table?
ACCBDD: I'm using a reward table full of 'custom' rewards and a choice reward for a player to select one of the customs - how do I get the ID of those rewards in the table? I see the ID for the table itself, but no way to differentiate between the rewards themselves
dimension locking
milo: now this is more of a question meaning i dont have any scripts for it
Replace ores worldgen for a specific mod and dimension.
Gyzlad: hey people i'm having a problem with a specific mode called Aethersteel. the mod has
how do I use getRecipes
walksanator: so I found the function getRecipes. I am planning on writing a quick script to remap all avarita recipes to create mechanical crafting recipes
Removing and adding recipes, for specific players only.
Redj: I'm trying to use FTB Quests to create a specific path for unlocking recipes in a modpack. However, I want this to apply only to individual players, not to the entire server or the entire world.
Hiding items with components in EMI
Plazzy: I'm trying to hide all non-empty Creative Fluid Tanks from EMI my modpack, but I haven't come up with *any* working solutions. Does anyone have knowledge on this topic that they are willing to share?
mimic create train tracks with custom tracks
Lucky56: I want to mimic the Create: Steam 'n' Rails Monorail on a differently modeled block,
Remove tooltip that appears when holding shift?
YoyoXpo903: I know how to remove tooltips, but how do I do to remove the tooltip that appears when holding shift? (im holding shift in the screenshot)
Trying to nerf food when it enters players inventory
Wenelan: I used someone's code to nerf it when player types "tt" in chat as reference, it gets all the needed values but doesnt set them and I have no idea how to add a tag to nerfed food to stop it from recursive nerfing
Making Commandblocks mineable
Black•Phönix: For some reason some structures from a mod in my world generate with a commandblock on them that didnt destroy itself after the structure was finished creating. I want to make the commandblock breakable (with a fist), but it shouldnt drop anything when broken. I tried the following scripts found on the wiki and another post here, but they didnt work.
Remove Damage Immunity
dripdood: hello, I'd like to know if removing immunity to certain damage sources from mobs is possible with this mod because there's so much mobs in my pack that have hardcoded immunities to arrows
KubeJS Create: Can't remove bucket filling recipe
not: I'm unable to remove a spout filling recipe that seems to be automatically generated by create for all fluids. I tried removing it by its recipe ID and its output:
how can I make a block's item have a 2d texture in the inventory separate from the block it places?
minari: ive got this code so far, and it doesnt seem to error, but it simply doesnt work. the block item texture is just the block itself
Is there a way to change the default worldtype? Or remove the vanilla world types at least?
R8: Like for ex how would i make superflat the default worldtype? Or one added by a mod
Hide items that arent unlocked on the gamestage
Bode: I was wondering if there is a way that i can hide recipes that the person cant craft because of a custom gamestage, like for example: i create a gamestage for the mod create and i want that people who doesnt have this gamestage cant see creates itens on REI and when they unlock it REIs UI refreshes and the recipes would be there
Datapack Issue upon loading an existing world
MatsuKari: i'm getting this error for quite a long time now, for kubejs 1.21.1 NeoForge
Better Than Wolves Squid
kimaris: I'm wondering if there's a way to make squids behave like in BTW using EntityJS (Forge 1.20.1).
modded Item (create brass ingot) ID not being recognized in armor material repairIngredient method
Ging: This is probably a really simple fix, but I can't find anything on the wiki or the support forum about this exact issue. I'm trying to reference a modded item, `'create:brass_ingot'`, but it doesn't recognize the item id and crashes on launch. I looked at the create wiki for the item id list to make sure it wasnt a typo or anything, but it just doesn't seem to work. The error on launch is included in the screenshot.
How Do I properly fix missing item/block textures?
ChessPiece23: Basically, I've spent at *least* ten hours trying to add the missing item textures for all twilight forest doors, and the block textures for the transwood door. I tried doing it through kubejs but it just made a new item in JEI instead of adding the texture to the already existing item. I also tried making my own resource pack, but that did nothing (yes i had a mcmeta file).
Pyrium Staff BaseTier
eba: for 1.21.1 neoforge KubeJS ISS, is there a basetier for the pyrium staff? like:
(Create) How to make a recipe support .heated() but *not* .superheated()?
Mushroom: I want to make a recipe that makes gtceu:salt_water (from Gregtech Modern) out of minecraft:water in the mixer, and I want two different recipes: A heated one that does 50mb water to 5mb saltwater, and a superheated one that does 100mb water to 10mb saltwater (effectively double speed). I added both recipes but in testing the .heated() recipe takes priority over the .superheated() recipe.
Is it possible to continuously update an item's tint?
Teus: I am aware of setting the color based on NBT flags, but is it possible an item to have a different color depending on the dimension and time? Thanks.
Copying files into new worlds
DiscoTech doesn't understand JS: I'm using the CustomNPCs mod as part of a mod pack I'm putting together, and I've run into a roadblock. The mod saves most of its resources locally in the world save folder, but I want players to be able to create new worlds and have those things included. They're mostly .json files, but it also has its own scripting system which uses .js files.
Player animation plugin for NeoForge 1.21.1?
System404: So, I'm trying to make a scythe weapon for my friend in the modpack I'm making. However, traditionally, scythes are two-handed. So, just the normal player hit and hold animation will not work. And while I am aware of AnimationJS, it is not listed on CurseForge or Modrinth that it supports 1.21.1 - latest version is 1.20.1. Do you know of any player animation addon for 1.21.1 on NeoForge?
Fixing tag recipe
Miko_boi: So someone tried to automate these recipes with strings and tags but it doesn’t seem to work (outputs exist but inputs are all blank). Does anyone have an idea why this is? Haven’t played around with Java Script enough to figure it out myself.
item interaction not working
naik: trying to make it so right clicking this item (kubejs:saltbucket) give you a randomized amount of salt. right now it does replace the bucket but doesnt do the rest of what i want it to do. probably some syntax error i did or whatever
Disabling equipping an item to an armor slot
wioll: Is it possible to disable a specific slot for an item? I'm currently trying to make an item exclusive to curio slots without being able to be used as armor. I'm trying out KubeJS Curios right now, but I've only managed to make the opposite work with it.
Changing recipe for a specific NBT tagged item
U_nderscor_e: I'm trying to add a mixing recipe (Create JS) for Moa Fodder from the Deep Aether mod, but since the item uses tags to differentiate the types (like potions) I'm running into this error
Hunger and Saturation
cjaawesome: Would it be possible to disable hunger damage and saturation healing on the playertick or entitytick
Hold item interact
EMERALD: Is there some type of item interact, when player hold this item and while this, interact happens
weird error
Fusl: im hosting it on my pc and trying to join via localhost for test purp yet this pops up when im trying to join
My Block model doesn't get loaded
DummerSchuh: I want to make a block with kubejs and the model is 3x3x2 Ig big which ISN'T the problem because what I tested was that 1x1x1 also works not using the exact same way...
How to create your own block that functions as a chest?
Anonymous: I want to create a block through registration that will have the functions of a chest, as an alternative, I create it, add an inventory to it, but when opened, the inventory is completely broken and has no functionality`
Custom Ammo Box Recipes for TaCZ 1.21.1 Unofficial Port
Tim "Baby Legs" O'houlihan: First and foremost I'm a certifiable dumbass
I need help removing mob drops from lightmans currency
Big Pickaxe: I currently am trying to make a medieval rpg server and want a balanced economy however the lightmans mod adds mob drops that give way too many good coins early on heavily limiting my ability to balance the economy and I cant seem to figure out how to get the mobs to stop dropping it. I dont know if it will help at all but the mobs only drop this currency when killed by a player, not from something natural like sunlight.
A couple of questions.
System404: Yeah, I know the new docs site is in development, but why didn't the original docs site ever get finished first? And, uh, where can I find actual documentation for 80% of the events in KubeJS, considering 80% of the docs haven't been written yet? I'd kill for some documentation, even community-managed ones...
Hallo, very new.
Sequire: Just want to know how I can permanently add a tag to a liquid. I really only want to add the #c:xp_fluid tag to create_enchantment_industry:experience
NeoOrigins Question. Select a Race, then get teleported into corresponding Dimension
GamerPal: I need a script (if possible), that makes it, so people get teleported into a Dimension, when they choose a origin.
Block A change to block b after some ticks
Mellowitsch: how i write a kubejs script that change every block in the world thats loaded from block A to block B after 100 ticks.