Support Tickets
This page is still WIP!
How to make an item that is consumed to give the player items from a loot table?
TomatoSoupter: Trying to make a grab bag sort of item for my modpack but I have no idea where to start
[KubeJS] How to hide items in JEI by NBT (same ID, different NBT)?
雪碧: Hi everyone, I'm trying to clean up JEI using KubeJS.
Multiply a boss's health by number of nearby players when the fight starts
Spookysquid19: I want to make it so bosses, particularly modded ones, get more hp when more than one player fights them. For the most part this has been relatively simple. I ended up getting to this script which works when a player right clicks a boss.
Having a Block State modify Event Trigger on Block State
The Spy: Hey I am trying to fix the mistake of another Mod Dev using Kubejs. They made a Furnace Like Block But Forgot to have it light up when it's block state is `lit=true` I'm trying to have a Block Modify Event only trigger when the block state is `lit=true` (The Modifying of the block is to make it emit light like a vanilla Furnace)
Replicate Vein Mining flavor-text/tooltip optimally
Acenthus: So all I want to do is add a tooltip to the bottom of the tool if it has the Felling enchant similarly to how it shows in the veinmining enchant. But I can't for the life of me think of how to do this without checking every time an item is modified. Is there some way to just check when an item is enchanted specifically? I couldn't find anything about that in the wiki so I'd assume not. But if anyone knows a workaround that doesn't take an insane amount of resources any help is appreciated!
Fluid only show no texture
MeisterElifreak: the textrue of the bukcet end fluid itself is for some reason always empty
Armor Attributes overwriting eachoter
MeisterElifreak: I wrote this script thad adds the Ars nouveau max mana and mana regen attribute to the armor.
Modifying copper ore tag
Lachry-mosa-D: About a few days ago I started on a Neo-Forge 1.21.1 vanilla+ modpack and I started on the progression. I added copper tools using KubeJS to replace stone and am now trying to modify copper ore to be mineable with a wooden pick. I looked at the wiki and went to the block modification tab but couldn't find anything to add the tag.
canSurvive, mayPlaceOn, and randomOffset blockproperties for custom grasses/torches/crops/etc
minari: these would be super useful, and its super hard to do this atm without blanket copying the block properties of something like roots or torches, which seems almost impossible to configure in any more detail - for example, you cant apply other block properties to these copied blocks, or select which ones should be inherited, or change much about them.
make items enchantable with enchantjs
Aceplante: the curseforge page says this is one of the things it can do, but then gives no example. I see no wiki, so how can this be done?
Removing block collision/removing cobweb-like slowdown from a block
Snowy♡: This worked for me in making a block not have collision. Perhaps if you arent "colliding" with it, it wont slow you down?
Cant seem to remove the recipe for the slurry through output or recipe ID how can i force remove it?
Yurik: Message not found
modded interaction overriding ability to input
Aceplante: isnt there a config option on which blocks can you knap the flint?
make custom item support enchantment
Aceplante: pretty sure everything supports fortune by default
loadClass not loading all methods in the class
Lib: I'd assume its the fact that the [`applyImpulseAtPoint`](https://github.com/ryanhcode/sable/blob/fec100317132d7b50564e0884d73e806cd74b0e1/common/src/main/java/dev/ryanhcode/sable/api/physics/handle/RigidBodyHandle.java#L88) method can be called with `Vec3` arguments (which Rhino can convert your values to), while [`applyLinearImpulse`](https://github.com/ryanhcode/sable/blob/fec100317132d7b50564e0884d73e806cd74b0e1/common/src/main/java/dev/ryanhcode/sable/api/physics/handle/RigidBodyHandle.java#L117) takes a `Vector3dc`.
Create an item based on an existing one
Xmapka: I like the yyzsbackpack mod and how it integrates into vanilla containers, but it only adds four types of backpacks, so I'd like to add a few more. Is that possible? While maintaining the functionality, of course. Maybe copying some Java class or something, I'm not really familiar with it.
iterating over custom recipes + modifying custom recipes?
leia: `thank you thank you thank you`
adding items to existing creative tabs not working properly.
Miko: I have a problem with this, for some reason my item doesn't go after the item I've specified with event.addAfter, it still goes in right tab but it just goes to the bottom of that tab? does anyone know why?
Is it possible to remove a generated shapeless crafting recipe by create?
eongyro: I am currently trying to ONLY remove the shapeless crafting mixer recipes that are automatically generated and not the shapeless crafting recipe itself, so I know for example if I made the shapeless crafting recipe have a shape that would remove shapeless crafting mixer recipe but that's not what I want. What I want is the ability remove ONLY the shapeless crafting mixer recipe in order to replace it with something else. Is this possible?
event of block in render distance
Lukis: i need to know if specific block gets rendered in render distance any way of doing it without scaning each chunk block?
How to use multiple Items while also using ` Ingredient.of `
The Spy: Hey trying to figure out a recipe where I am using `Ingredient.of` to use a tag. but I want to use more then one of the item. how do you do that?
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.
input and output nbt (ars nouveau enchanting apparatus)
Aceplante: I cannot seem to figure out how to check nbt on input and output. Here is what I tried:
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.
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
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
Energy-using Block Entities
bwhitta: Howdy! Is it possible to make it so that a custom block entity requires energy/power?
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