Support Tickets
This page is still WIP!
Is there a mod that makes the error returning more consise?
โฉ Hiruka โฉ - ใฒใใ DEV: I try searching the error for why my recipe is not loading but nothing, what i do?
Okay so, why when i type /kubejs reload it returns an error?
โฉ Hiruka โฉ - ใฒใใ DEV: That error is annoying cus it's from KubeJS by default, it erroing only annoys me when i need to test my scrips
Smelting Result By ID
Morsuk (UV-UHV): Hello, is there a way to get the result of a smelting recipe from the ingredient id? So for example from 'minecraft:coal_ore' i would get 'minecraft:coal' without iterating over all recipes?
Question
Dumor1990: This is a app i can test my script for neoforce thing minecraft java?
How can I remove all recipes with a specified fluid as output?
Starwort: As per title - I tried using `event.remove({output: "<fluid_id>"});` but the recipes are still there. Is there a way to remove all recipes with a fluid as the output or do I need to just remove each recipe by ID?
Armor/Weapon Stat Order
tln_: Trying to get Armor and Weapon stats to be in the correct order on the tool tip, but unsure how to do it.
Define object reference that persists between script reloads
Micky: It would be really, really ideal to keep a constant reference to the `server`, often passed within events, in some custom class I am writing, instead of always needing to pass `server` into the functions that require it.
How to detect when firework explodes?
Geyrnauch: Trying to make a thing where pillagers firing rockets out of a crossbow will cause REAL explosions, not firework explosions, when going off.
Hiding every OTHER recipe feature?
the grungle: any way to hide every recipe from a mod besides a select few? (using REIEvents)
botania brew help
Create: Ive been trying to get the botania brew registry from kubejs botania to work but it hasnt and idk how to do it.
Issues nerfing waterfall swimming (walk speed slowed and bad ground detection)
Astral: So I've got most of this working but it also drastically slows down horizontal movement for some reason, which together with the faulty ground detection, makes it almost impossible to walk through flowing water even while touching the ground
Modifying block hardness and resistance
Mini_Martini: I am trying to modify and existing block in ae2 to be unmineable like bedrock, but able to be destroyed by an explosion of high strength. what would be the functions for that? all I have found is .setHardness and .setResistance, but they throw errors on boot probably because they are not functions within the skystone object.
change attribute display
Quadruplay: i'm looking for a way to change how non-default damage attributes are displayed. (blue is what minecraft shows, green is what i want)
Set window title from script
hyperstitiousdiskordianwarfare: Is there way to set the window title from a script directly through kubejs? i know you can set the window title through kubejs in its client config. usecase is setting the window title to my modpack name and the version dynamically generated from a fancy menu variable which is set by a placeholder. the script that i have so far seems to almost work but it resets after minecraft loads its own window title.
Enabling ore spawning after certain point in progression (tied to Majrusz's Progressive Difficulty)
LolsShow (Podcasting ARC): I want to make ores appearing in existing world after reaching Hard and Expert Modes of MPD mod. How is it possible (if possible at all)?
Shaped Recipe output inheriting data from input
Scout the Saneless [pls ping]: What I wanna be able to do is make a crafting recipe that take some component data from the input and apply that info to another part of the output.
How to hide pre-existing tooltip
Rhioost: Hello, how may I hide the highlighted text that comes with the mod?
Remove Create Diesel Generators Burner from valid heating block in JEI
hyperstitiousdiskordianwarfare: I'd like to stop the Create Diesel Generators Burner from showing up in JEI as a valid burner for the Heated condition. I've already tried hiding it from JEI and I have it in Item Obliterator. Any idea how I would go about doing this?
Spartan Weaponry Custom Weapon Tiers
Berlium: Trying to make custom spartan resonarium weapons for all material types in deeper and darker but the DDtiers doesn't exist
How to get when an item was smithed?
Annie: It doesn't seem to fire the event for... `ItemEvents.crafted((event) => {` so I'm unsure how to capture it.
Help creating a new create sequence recipe with a Create: New Age Energizer step.
Zurite: Like the title says, I'm trying to add a sequence recipe using the energizer. My current idea is to create a custom recipe, but it seems to not like me very much at the moment. If it's possible to use the energizer within a regular create sequence recipe I'd love to hear it :D
Productive keeps stats
Mays: Is it possible to have the item to keep its previous attributes and just change the tool to it results and keep any other data it had, such as enchantments apotheosis reforges/gems
Hooking up another mod to make a custom item
LolsShow (Podcasting ARC): I want to add a custom spear for Rose Gold from [Additional Additions](https://modrinth.com/mod/addadd) and use arguments and base from [Backported Spears](https://modrinth.com/mod/backported-spears). I know that you can do it, but how?
Can i use kubejs to change all ingame text colors to §5 (dark purple)
Cloud: I already changed some texts in the main menu to the color i wanted manually by adding the §5 in some lines in en_us.jason but doing all of it manually is way too time consumming there is 6000 lines of code in that file, any ideas to make it automatically changed all the text to the color i want ?
How to make mobs spawn in specific structures/biomes?
Kammy: I've spent the last few hours reading over the wiki but, I can't seem to understand what I'm doing wrong, if someone can point me in the right direction it would be a big help
How to prevent KubeJS trying to automatically put a fluid colour on a custom bucket item?
Geyrnauch: See the screenshot for details -- I have created custom bucket textures, but KubeJS keeps putting this annoying (default white) water-like fluid over the top of it. It would be great if this didn't show at all!
multipartState tries to interpret the callback as a string always
asof: ```js
Removing placed_structure / patches ?
JustNatan: trying to remove chalk patches amd cork trees from arts and crafts
Change a specific Jei renderer
Sinn Sinnamon ๐: I have this mod but I wanna change one little thing about the rendering (mainly because it doesn't work)
how to make biome specific villager trades?
Kruta Zhaba(the coolest frog): it's for my modpack
How to modify ALL items at once?
๐๐พ๐ซ๐ฎ๐ป๐ฝ๐ช: How would one go and modify the properties of all items or all items of specific type? To ie. make all items edible or all food inedible.
hasCollision not working
Danymaddox: Hey guys! Im trying to make ash block from Supplementaries to have no collision (so create plough can harvest layers/block) but i cannot modify the block no matter what i try. Here's my code:
Kubejs
Rantspider: Is this the right place to ask about a kubejs script? I wanted to set up something on an ATM10 server so when you do /rtp instead of teleporting you instantly a gui pops up where you can select the overworld, nether, end etc I know nothing about that as when I've made little servers for me an a few friends in the past I've always just used plugins or whatever but apparently ATM10 only likes neoforged as I've read online it's been racking my brain for hours trying different scripts to see if they work but nothing happens
Do tooltips have translation keys?
bog (ping if you reply): Hello! So, what I do for my pack is I register the items and then actually name them in `assets/kubejs/lang` since I personally like that method a lot more.
Help with unifying recipes (AKA: Please stop adding squid parts to your Farmer's Delight addons)
DiscoTech: I have four different mods in my pack which add some form of squid drop, whether it's the whole squid or just the tentacles or both. Some of their recipes use conventional tags. Some use their own mod-exclusive tags. Most don't use any tags at all.
Is it possible to add one loot table to another with lootjs?
Burning Sulphur: I know it is possible with datapacks, that's how fishing works. But i can't find any examples of people using a loot table instead of an item in .addLoot()
make ae2 crank charge thermal machines
Ggki: as the title says im trying to make the ae2 crank charge thermal machines (spesificly the energy cell for now)
Write Enchanted Books
archemagos: I want to add a cool mechanics where player write a long spell inside a book and use a lapis lazuli in offhand with book in main hand to trigger item swap for enchanted book.
Trying to add create sequenced assembly support to some AE2 recipes
Bladereaper: Hi, Currently I'm trying to understand how sequenced recipes for for KJS but its odd..
prevent Tempad in Biome
mr_ron: wondering if kjs supplies a way to prevent the use of Tempad https://modrinth.com/mod/tempad in a particular biome?
How to make a spell that shoot projectile?
Evan: how to make a spell that shot some thing like an arrow for example.
Entity with nbt not spawning
DANMATISK: the marker spawns successfully only without the setNBT line
detect and disable lgbt quark bees?
Aceplante: I know this is a long shot, but anyways: quark currently renders lgtb bees in game even if explicitly disabled in the config, at least in versions 1.16.5 and 1.18.2.
Playing sound when a quest gets completed
Ekazuya: I'm trying to make it so certain quests play a custom sound when completed and while this:
how do i make a villager only bed?
Kruta Zhaba(the coolest frog): so players have to make their own beds to skip the night
Change texture of custom fluid bucket
ggerald_: How do i change the texture of the bucket of my custom fluid
Add nether_quartz_ore to terralith:scarlet_mountains
AnderZytolga: I want to have nether quartz generate in scarlet mountains (because nether is disabled) and I cant see to get anything working
Changing what can break certain blocks
Misho: Hello everyone! I am planning on making a mod pack with similar progression to Terraria's, but I am very new to this stuff. I want to somehow make some of the blocks and ores to be only minable with certain pickaxes, but I am not sure how this could be done. If anyone is able to help me find out what to do I will be beyond grateful. Thank you and God bless!
Custom command replace
Estatrix: I'm trying to make it so that I can have custom commands that replace already existing commands, in this case, "Immersive Messages" mod.
Hot Item
Chdoorwe hellsin: how would i make an item that dmg the player when its in the player's inventory
Custom 3x3x1 mining tools
The Spy: Hello, I'm trying to create custom 3x3x1 mining tools E.G. Mining Hammer/Excavator I also want functionally to have the hammer/excavator to only mine one block of it's mining type while shifting
Getting an error after modifying weapon stats
tln_: A startup script, so it prevents me from launching my instance!
How to store a scoreboard in a variable
Tropico: It might seem simple but I can't figure out how to store a player's dummy scoreboard in a variable to reuse it later in a conditional statement I've only found how to see all the scores but not their values could you please help me
flammable blocks on fabric
Kruta Zhaba(the coolest frog): how do I do it?
Force Open Inventory
capa2: I configured that allows me to toggle on and off the inventory crafting slots (which i have currently triggered by the luck potion effect), and everything about this code works so far other than i want it to try to open the player's inventory when they rightclick the custom block I made, allowing them to craft until they close their inventory (because i really dont want to make a mod with that functionality it seems very hard and this method seems to work for what I need it to) .
Curio attributes don't stack
Wyvernity: ```StartupEvents.registry('item', event => {
Default Item NBT data for Thermal Series Augments
Nerx: trying to make custom integral components with some templates i found in this server, there are 2 slots for other items which i have no clue what they were, so i just placed some random create and minecraft junk into them for now to test, does anyone know what i should actually place in there?
Sound Registration and Startup Event not working
Kydian Nestoris: Neither the voicelines registration nor the StartupEvent login is working. No errors are shown for KubeJS, probably not even read => folder structure problem. I've attached the one I have + both files that don't work.
Converting translation key to string
Grim: I'm trying to get the name of an entity and convert it to a string to store a completion counter for Gateways to Eternity gates. I can get the name using entity.name, but when I try to do string operations on it, it starts giving me a translationKey. How can I just get the displayed name as a string?
Scaling attributes in Pehkui
Lampent51: I'd assume editing [Pehkui](https://www.curseforge.com/minecraft/mc-mods/pehkui) attributes would be the same as editing base Minecraft ones, but I can't seem to make it work? The `safe_fall_distance` works fine, but `knockback` doesnt. I tried making it `pehkui:generic.knockback` but it wouldnt work either.
How to read files in KubeJS
Lightning323: How do I do it? Is it even possible? I want to read the JEI blacklist from the config folder and erase recipes from the items listed.
Trigger entity event (cast spell) when mob attacks using onHurtTarget
marcnum2: The following code causes a spell to be cast every 20 seconds, however, I'd prefer the spell to be cast onHurtTarget.. Is there any way to incorporate this? Maybe I can link the server script to a startup script?
How to create Item Application recipes using KubeJS Create Addon?
MasterNinad: An example of doing it via JSON, how to do this dynamically using KubeJS Create?
EntityJS how do I add custom sounds to custom mobs?
LgndTheDredgen: I'm trying to update an old custom mob but I don't know how to add custom sounds to it, I also wanna add several sounds simular to how a zombie has multiple hurt sounds.
Scoreboard script help
DSTC: Im trying to get into coding and i have been using this to help me learn so im trying to make a scoreboard I have economy craft in my game that adds the scoreboard I used another economy mod that added players ranks and ping in ms above players heads and in scoreboard and is no longer in the game I wanted to make a custom script to do that and was wondering if I could get help with that roman is the newest player to the server after all that was done and none of the ping times update
Cobblemon Raid Dens addon & KubeJS cancel event
MisterLov: Hello everyone, I am a bit confused regarding this stuff. Does anyone know how to deal with custom events from tier mods ?
EntityJS help
WaterConsumer: I took the script of a older post here and tried to tweak it a bit. I want certain mobs to avoid lava and tfc bushes. My current code does not work. Any help?
Is there a common jar release?
SirEdvin: I am trying to implement some custom kubejs integration for my mod. Is supports both fabric and forge. Is there a common jar artifact I can use for this?
Convert number to int
Hajsori: Hello I want to convert a number to an int. I already tried this:
Bucket for Custom Fluid
Curlooo: I wanna make a few custom fluids, the issue is that the bucket has in-game the "no texture" texture, I tried .bucketcolour() .bucket(), in the event fluid creation, they both are invalid functions as the error says, as well as thickfluid() and thinfluid() I heard that they got removed in the 1.21 version, so my question is how do I make a fluid bucket that works and has at least some kind of texture.
crafting from an enchanting table
Syrax ๐: I'd like to make poisonous potatoes enchantable, and *only* when enchanted with a level 30 enchant in an enchanting table, instead of the regular item it replaced the output with a custom item (I already have that)
Block Modification for Generated Blocks through GTCEu Tag Prefix Method
Nill Bye: Some background, if anyone can help with this; I'm trying to program some compatibility between TFC and GTCEu, primarily by adding the non-vanilla TFC stone types to GTCEu's ore Tag Prefix. It's done through this code:
how do I make make spells from Iron spells and Spellbooks as enchantments?
Cr0w37: I have a spell here added as an enchantment but it doesn't work and I am unsure why please help.
Changing tamed mobs attributes
MonoRedBaron: Is there a script I can use to change the attributes of tamed mobs? For example, changing the max health of wolves to 20 when they're tamed.
Player Events
Algrate: Hello, I want to know how to make player event scripts. I checked the wiki but player events section wasn't complete. I'm specifically trying that whenever the player wakes up from the bed (when it gets day time) server sends a certain message. Can someone help me? Thank you!
Need help for making Brewin' n Chewin' recipes
fisto planet: Needing some help regarding BnC recipes, as I don't know how to properly register fluids for recipes(both input and output). I also want to know how I can assign fluids to items so when you right-click a Keg with their item, they dispense their respective fluid(example: create honey bucket dispenses honey into keg).
sound not registering/footstep sound question
MintiestKitKat: i'm attempting to make a block which sounds identical to glass, but doesn't have a footstep sound, but it isn't working. what's going on here?
Sync Player Data
Dusty: I have a script that lets players put a coin pouch in a curios slot. Coins will be automatically placed into the pouch and compressed.
add blocks that require support
asof: i could implement this pretty trivially with a neighbor changed event, but i'm not aware of anything like that so i'm kinda suck
need help with grass-like blocks
HoneyVee: i need to know how to make blocks like this require support at the bottom, and not be able to be placed on top of each other
Kubejs tool tip colours don't have all the vanilla colour options
Burning Sulphur: trying to add a ```dark_purple``` tool tip but can't
Mass replacing Modded items.
The Spy: Ok. this one is a tall order but I'm going to try. right now my pack has two mods Overgeared and Create: alloyed. they both add Steel armor and weapons/tools. I want to replace any instance of Overgeared's steel armor tools and weapons with Create: alloyed's. this includes both recipes that use them and recipes that have them as outputs. whats the best way to do this?
make block require support, like flower/lantern
Aceplante: I know how to create blocks, but what tag do i need to add to make it need to be supported? Currently it can be placed on walls or midair?
How to get a non-static method of a ClassJS class?
radzo73: Based on the example code:
Renaming items doesnt work at all
HottingGobllin: here is a code i found on yt but it doesnt seem to work as the items have the same name that they always used to have idk if there is something wrong with the code or something else
Kubejs-Curios item to apply imunity
Inflitraz: I'm trying to make a custom item with curiosCapability to make the player imunnity to blindness, I already try do make it using curiotick and player.potionEffects.remove,
Okay now i get a error thats only happening in turkish language epic instead of epฤฑc can anyone help
Asgore: im tryining to dowland the alienevo mod but this stops me from doing it you guys actually solved this but only in 1.21 can anyone help me with this
Need a loot of help to make books from Apotheosis
Gojo_Manjiro: Recreate the enchant books from apotheosis
About how quest tags work
Anonymous: There seems to be something called "tags" in FTBQuest's quest parameters, which is "used for kubejs events". How could I use this system to add a scoreboard value when a quest with a said task is completed?
1.18.2 Fabric Block Modify Script not working
Anonymous: I'm trying to make a script for specific blocks that makes it take longer to break for example stone, I'm using the KubeJS wiki provided script on how to change this, and yet still it crashes. Here is the script:
water purification
LLDJ: So i want to be able to purify the water in a canteen
How to detect if certain items are above a block?
sleepingoverrated: *please do not directly provide me with code , i wanna learn
Is there a good way to transfer all tags from one block to another?
DayTheMagpie: I'm trying to add all tags from Project: Vibrant Journeys's hollow logs to Quark's hollow logs. I know I can do it the long way adding each individual tag to each log, but is there a quicker way?