Support Tickets
This page is still WIP!
Running a script when an entity targets the player or their pets. Is it possible?
Spookysquid19: I've been trying to find a way to multiply a boss's hp by the amount of nearby players, and so far I've found a good method that works when a boss needs to be right clicked to begin the fight, and also in theory works when the boss is summoned right before the fight starts. However, there is one category I've been stumped by, and that is bosses who begin the fight when you approach them. Some examples would be Mowzie's Mobs's Ferrous Wroughtnaut and Frostmaw, along with Cataclysm's Netherite Monstrosity.
Making a Pre-existing block emit light in a state
The Spy: I have a block from a mod that acts like a furnace. but the mod Dev forgot to have the on block state emit light. can I fix this With Kubejs?
Animated texture for a custom block
CerealBox: Working on a modpack and I'm trying to make a custom item that looks exactly like the normal command block. Everything I've done so far only makes the default missing texture. I just copied the texture and mcmeta files from the minecraft asset folder, so why isn't this applying the texture to the block?
beacon beam
Lukis: can someone help me render a beacon or a beam upwords, i tryied to fix the code from the 1.16-1.20 channel but i cant fix it
modded interaction overriding ability to input
Aceplante: I am unable to place flint on arcane pedestals from ars nouveau (and likely any other right click interraction) because it will instead perform the "knapping" action from notreepunching. I cannot find a recipe for this, so I have no clue how to prevent it...
loadClass not loading all methods in the class
Lib: I'm currently messing around with getting KubeJS to apply forces to a sublevel in Sable for the new Create Aeronautics, I have already got one of the methods for applying them working, which applies the force at a specific point, `applyImpulseAtPoint(center_of_mass, force)` but there is another method, which is `applyLinearImpulse(force)` which even though in the java code its defined as having one argument, in the kubejs scripts looks like it was not loaded properly.
iterating over custom recipes + modifying custom recipes?
leia: hi! i'd like to iterate over all custom recipes, replacing x with y (i.e. replacing 'oritech:steel_dust' with 'immersiveengineering:dust_steel') in all fields.
Creating tools error
NanChik: kubejs changed 'tier' for smth else and Idk how it's called now
Adding ingredients to potion recipe
Atom Sorcerer: In my modpack there's three different potions of "Poison Resistance", and i'm trying to reduce it down to one. However I *also* want to add the ingredients of the other two potions as viable ingredients for the third.
Removing hunger value for items
Snas: I'm trying to remove the hunger value for a few items but the documentation isn't correct and wont change the value. I'm not sure why, maybe because its a modded item but I have no idea. I have reloaded and restarted the game multiple times.
How can I increase a boss's health when multiple players fight it and the boss is already spawned?
Spookysquid19: This has been my biggest "project" if you can call it that. I want bosses when fought by multiple people to have their stats increased, primarily health. I want it to scale with the number of players fighting it. My biggest issue right now is figuring out *how* to do that. The obvious solution on paper would be to adjust it when the boss is spawned, but this doesn't work because a majority of modded bosses like those in Cataclysm generate naturally in their structures. The fight only starts when you interact with them. And it *is* them. It's not some dummy mob, it's the actual boss in a state where it doesn't do anything.
Cannot Remove Brass Ingots from Immersive Engineering + Oritech Recipes
harrison: I’m trying to remove brass ingot production from my modpack using KubeJS, but it’s still appearing.
is it possible to register a block that breaks with its connected block like grass or torches do?
minari: similarly, can you register a block that the player replaces when placing blocks in the same way grass can be replaced? or add random offset to the model like grass and flowers?
is there a way to mimic vanilla leaf rendering?
minari: I'm struggling to add a new tree. .defaultCutout() removes ambient occlusion and everything else culls adjacent blocks. I also just haven't found a way to prevent the leaves from culling each other like Vanilla does it.
Old damage ( 3-5 ) for axes from the aether mod
Anonymous: I have used the latest versions of the mods and the following scripts:
Limiting multiple blocks and crops per dimension
CasimeCat: Hello, ive been trying to make it so you can only plant Mystical Agriculture crops per dimension, i found this piece of code here in this support channel but for some reason i cant seem to make it work with crops, both wheat and ma seeds still are able to be placed, i already tried with the block name and the item name but they still go through, yet minecraft:dirt is the only one actually blocked
changing ore generation
recklss: hello does anyone know if it is currently possible to change ore generation with kubejs? specifically i'm trying to remove gold ore generation from the overworld. I have dug through the wiki and only found bits and pieces of outdated information. any help would be appreciated thank you!
recipe remainders on custom recipe types?
Jakie! (alt): currently attempting to make a custom film developing recipe for Exposure, which mostly works but can't figure out how to make the recipe leave a bottle behind afterward.
Sounds.json in assets folder not seeming to overwrite in-game
Spookysquid19: I've got the mod Portable Pet Sphere (https://www.curseforge.com/minecraft/mc-mods/portable-pet-sphere) installed and I'm trying to change the pet sphere to a pokeball. So far I've gotten the name and textures changed, but now I'm trying to change the sound effects, and I'm having trouble. The mod has a `sounds.json` file in the path `assets/petcapturetool/sounds.json` with the code
Enchant tool losing enchants on craft
Inflitraz: I'm trying to make a new tool level, but when it's craft it's lose their enchants.
Can't set a different burnTime for a fuel
Snowy♡: I'm trying to set the burnTime for sulfar from the Sulfar mod, and I was able to do it with the sulfar block (which isn't normally a fuel), but doing the same for the sulfar item (which is normally a fuel) nothing changes.
Controlling mob spawning in a specific area and dimension
Chesco: I’m trying to control natural mob spawning in a specific area inside a custom dimension using KubeJS (Fabric 1.20.1).
Unable to change the processing time
Spud Ninja: Im working on my modpack, and Im trying to eliminate duplicate items (such as the various steels, leads, tins, etc.) So I'm trying to make an immersiveengineeringBlastFurnace recipe, but I don't know how to change the processing time of it.
Better combat/better weaponry with kubejs weapons
Engineer_Ashe: If I wanted to make weapons that work with the better combat aminmations but also have the weapon types that are in better weaponry. How would I go about creating this? Or is this more of thing that has to be done in a mod itself?
turning any sapling into another
philmigh: hey so im trying to make it so when you mix honey and any sapling together with create you get another random sapling back out but im just now finding that there's a limit to the number of random outputs a recipe can have and was wondering if there's a work around?
Hi, is this normal usage?
Anonymous: Hi, is this normal usage? I don't have any scripts or anything. I just have a startup that adds two items.? Client side
how do i disable a bucket remaining in the crafting grid?
Nova: when i craft this, the bucket stays in the crafting grid
Crash when loading kubejs with create on server only (Neoforge)
Anonymous: i am having this issue where
non-full block culling terrain below.
sayori a.k.a myself: I made 2 custom blocks that use the vanilla minecraft template anvil model and for some reason the block below it is hidden. Does anyone know how to deal with this issue?
custom item failed to create on server startup
Joy: so i read the wiki followed the wiki to a t and it still wont work heres the custom item script and texture
Can you add an Attribute in a crafting recipe
MeisterElifreak: I want to make a recipe where i put any armor together with a diamond and it gets the attribute
Kubejs botany pots - SOIL
ZZiphox: Hello, i am creating my own recipe for some crops, but i would like to know if there is a way to be all soils in one tag, if i add mysticl agriculture it adds the soil automaticaly etc
Lootr chest items also drop in animals, breaking blocks etc.
Ramon: Goodday! I am working on the lootr chest but when I put a filter in my loot table it puts items in the chest but also lets it drop via animals, breaking blocks, doors and etc..
What do I need to do to make loot tables appear in my recipe mod? (LootJS)
babyaintmoe: I did this to my iron ore loot table:
How to remove the KubeJS icon below item title for custom items?
TomatoSoupter: It's kind of annoying :(
Registry freezing/Object not found ON Custom Wine Creation
Berlium: Attempting to make a custom wine with modded effects but apparently the registery is too slow i think???
Village's Loot gives too much loot. [1.20.1, LootJS maybe]
Meeku( •̀ ω •́ )✧: https://www.youtube.com/watch?v=i9Uo2qFxXpA
What am i doing wrong?
Arsh the hooligan: I did what the site said but i still get an error, please help
Making a tool tier that can break obsidian, but not ancient debris
SkippyZii: Is it possible to make a tool tier that can break obsidian but not ancient debris?
Trying to make a damage "soft-cap" and "hard-cap"
Anonymous: Its giving me errors and the script wont function at all
Custom Egg?
akhill: How would one create an item with the same functionality as a chicken egg, except it spawns a different baby mob?
MobEffect to potion effect registry
LilMagy: I was trying to register some mob effects as potion effects, (to then add recipes for said potions) but my script always breaks at the "buzzier_bees:sunny" effect (throws non-existence error), even though looking at mod's source code the effect seems properly registered under ForgeRegistries.MOB_EFFECTS.
Remove Armor Stand on Player Login
QuackxD: I am trying to create a script where when player loggedIn armor stand with the player name will be killed.
LootJS: adding items from one loottable to another
Leopotion: i want to add minecraft:chests/simple_dungeon loot to multiple other loottables, similair to how the loot integrations mod does it, i checked the wiki for Lootjs and it only mentions adding specific items to another loottable.
Is there any way to make crafting recipes be based off of difficulty?
unknown.gif: Ello! I've been working on a KubeJS script that'll have it be so depending on the difficulty, some recipes will be dependent on the difficulty. So far, no proper results have shown from it. I know there's a sort of "ModifyResult" but I don't know if that can have any influence on input.
EntityJS clone builder for EntityJS entities?
Po: as the title says is it possible to use the clone builder to clone an entity i've made?
KubeJs compatible with multiworld?
Chesco: hey does someone knows if kubejs is compatible with multiworld (mod to create other worlds)
Industrial Foregoing
nobre: I want the laser drill ore to generate Nether Stars, and I want to use the vibranium ingot made of unobtainium alloy as the catalyst, but I don't know the code for that.
Remove block completely?
Moricrises: I have an online server and want to remove the "Spawn agitator" from my game. Its from Pneumaticcraft Repressurized and its something that keeps a chunk loaded, I do not want this in the online server. I already removed it from crafting but when I tried loot tables it just errored out.
Help me with my zone spawning script
Luhji: So Im trying to make the script spawn mobs in their designated zones. its failing to do tho. it acting like it does /summon and has alot of dupes of the mobs and it gonna lag the server
Loot table says guns are very rare but they keep spawning in pairs of 3 in lootr crate
Ramon: Goodday!
I tried a script someone had shown me and I cant quite seem to get it to work
Engineer_Ashe: I had asked for a script for when a item is right clicked it would activate a command, I tried the script but kept getting a error I dont quite understand
Replacing all the apotheosis recipes
Pafeu: Apotheosis is weird and you cant just remove a recipe so I wanted to replace all of them with dummy recipes
Iron's Spellbooks Addon Crashing
Cocoa: Game crashes when trying to add an item using the magic_sword type
Dumping all chest structure loot tables with LootJS Addon for 1.20.1
Frog.: Does anyone have a script or example on how to do this plss
attempting to modify the poltergeist item (Celestisynth) always returns with an error
RGBgamma/stockphoto: for some reason kubejs does not want to acknowledge the poltergeist. it works perfectly fine with the other celestisynth weapons but it just. doesn't like the poltergeist for some reason
Proplems with adding recipes Mekanism: More Machine
XantiFuchs: Hello everyone,
Trying to run a series of commands on world creation
Spookysquid19: I saw a similar post from a year ago but didn't want to necro it, so I'm making my own.
Control mob spawning
Xmapka: I want to control mob spawning and I'm happy with how everything works in related script except that baby cows keep spawning after breeding. Yes, I know about incontrol, but I'm curios in implementing it all on kubejs.
Not sure exactly what this error is, can someone please help?
Pagan: I'm trying to add custom cards to the Buddycards mod using KubeJS, but idk what I'm doing really. Is there anyone here who can help me with figure out how to properly implement it? Here is my item registry layout (which is what I got from the mod developer themselves), but obviously this is how KubeJS actually registers items/blocks etc. How can I change this enough to make it work with the systems already incorporated in the Buddycard mod itself? Along with the code are the `latest.log` and `startup.log` files incase someone is wanting to take a look and what happens when launching the game with this code specifically.
Custom music disc trouble
Alcates: I'm trying to use the example script https://discord.com/channels/303440391124942858/1236820803014627360/1236820803014627360 to register custom music discs, but they make no sound. The disc registers with the correct lang, tags, and texture. The jukebox accepts the disc and says it's playing, but there's no sound. I did verify that I could hear vanilla discs, so it's not a settings issue.
Can't access player inventory during openChestGUI
Pambo: Probably the same issue as here but I thought I'd try anyway.. maybe there is a solution by now https://discord.com/channels/303440391124942858/1409681502974902342
Having trouble with a recipe involving custom fluid in a modded recipe
TomatoSoupter: Trying to make a Brewin' and Chewin' fermenting recipe to create a custom Wardenzola fluid based on Wardenzola from Dungeon's Delight.
how to get arguments from recipe data
MeeM: I'm too lazy to see recipe data one by one(especially too many recipe data like an all TiC alloy recipe)
Kubejs and AStages Mod tweakin
Anonymous: So im trying to get it so that the crafting recipe for the mace is only accessible for players with the wind stage, but for some reason whatever i do and try to remake it over and over it wont work, it always lets me craft the mace.
How do I replace pre-existing biomes with other ones?
Veaper: For example replacing a plains biome with a birch forest
How do I replace ingredients in a recipe with a count of ingredients?
genderneutralnoun: Title. I want to replace the ingredients in a Create mixing recipe so that instead of taking 1 copper ingot, it takes 3. I searched the wiki pretty thoroughly for an answer; couldn't find one.
How do you make custom armor in KubeJS, as well as models for it?
SkippyZii: I've tried making armor at some point but I kind of am not clear on how you do the part where it renders in game on your character. Also, is it possible to have custom models for it, like for example I want to make armor that has the model of a wizard hat. Cheers!
Making an existing block transparent
Toastr125: Can it be done? I mean transparent in the sense of letting light through. I still want the texture to be opaque, just let through.
item disapier
roccop1101: Is there any kind of code or script (for example in KubeJS or similar modding tools) that allows items in a player’s inventory to disappear under certain conditions?
ctx.source.player is undefined
sylqui: i'm on kubejs 1802.5.5, trying to make a simple command that just teleports you to spawn:
Updated KubeJS, tooltip issues
qwerty97475: So I have this script in client scripts
Specifying input/output components
deaderg: Hey! I'm working with the KubeJS Create addon, and trying to use sequenced crafting to allow the player to craft one enchanted book into another (in this specific case, unbreaking books into indestructible books from a mod)
Transparent slab
Tyco: I am trying to make a transparent slab, but the block faces between the slabs are still showing up which seems unusual. I've attached my code below. Any help would be appreciated, thanks!
Facing Block from block builder
Text settings: Sorry if this is a dumb question but I'm not sure how to get the custom block I'm creating to face you when placed.
How do I remove or change certain AI for the dragons from Ice and fire?
Cr0w37: I want to remove the breath attacks from the dragons.
how do I change an entities hitbox?
Cr0w37: I want to change which hitbox the spells from ISS are casted from on an Ice and fire dragons. Is this possible?
changing entity model based on player input
Po: i made a spell that allows players to summon a shield. The player must provide 3 inputs;
How to alter the effects and food of existing food items
TomatoSoupter: Trying to nerf Neopolitian strawberries and was wondering if there is a way to do this via KubeJS or any of it's addons.
plz help
Anonymous: im using create northstar and i want to make a resipe that make it so i can make martian steel with one iron ingot and 8 charcoal and i want to make it a non spesific order
Add a translucent background under the text that changes size dynamically according to the text size
Xmapka: Have what is in the first video, want what is in the second, is there an easy way to do this? Wish it was just like another object property next to the shadow
Is it possible to set default gamerules with KubeJS?
Sacri Pan (ping me please): for the next created worlds just in case
override get collision methods entirely/manually decide which faces are solid
asof: i'm trying to make a block with no entity collisions that's always waterlogged (basically as a "water block") but i'm struggling to get it working.. any suggestions? (currently it spills when given a block update)
how to change initializing order for startup scripts
MeeM: https://discord.com/channels/303440391124942858/1492401576877228042
Custom eat/drink sound?
moonst0ne (please ping reply): How can I give an item a custom eating sound, or use a vanilla sound? For example, I have a jam jar that I would like to sound like a honey bottle when consumed.
EntityJS - Finger Shananigans
Berlium: Im attempting to make a custom hand projectile entity that spawns the actual hand but im having issues with that + glowlayer and animation issues in the actual entity
help splitting ability for item summon and adding sounds and particles (palladium)
Monkonpo: i made this ability to summon my weapon as i want to let you later on upgrade it but the way its set up now only works on toggle and it makes it so when ever you scroll in the hot bar it just spawns more keyblades also if anyone knows how to also make it where when wearing a curios accesory it changes the weapon that would be really helpfull
forceload a chunk to spawn entity
leon: how can i forceload a chunk to spawn there a entity like a immersive portals portal?
Removing create stone from world gen
pipobutter: I'm making a pack but i just hate the create stones and wanna know if there is a good way to just remove their whole generation from the world
[ISS] Add player resistance to ALL schools when armor equipped
Leha_Vasya: its possible?
Any way to create new potion recipes without MoreJS ?
DariusZeBaguette (ping me): Is there any way in KubeJS forge 1.20.1 to make potion recipes for a custom potion (already created) WITHOUT using MoreJS in ANY way possible? I have quite a lot of issues with MoreJS that prevents me from using that mod, is there any other obscure way?
argument types are invalid for creating a block tag
Crabus: pasting the log incase and the file i'm using that's being loaded (which isn't made by me but I'd still like help for it)
Fluid Bucket Texture
Anonymous: Currently trying to make a bucket for a fluid based on brewin and chewin's jam jar using the .bucketItem method but I can't seem to get a custom texture to work as it keeps auto-generating the texture instead
Custom Armor doesn't display Armor Trim on Item Sprite
ildiem: If I add the `minecraft:trimmable_armor` tag to armor I created with KubeJS, it can be trimmed but will only show the trim on the player model, not the item sprite.
I need a working Custom ISS Spell and Item
DarkHunter: Hey, I'm looking for working custom spells and Items for Iron's Spells and Spellbooks.