Support Tickets


This page is still WIP!

Custom Ingredient Action

Tuny: Hello everyone. I am trying to add a recipe to convert a bucket from a mod to another to have a simple way to be compatible. My problem is that an empty bucket remain. The thing that seemed the most promising was replaceIngredient, but I cannot replace with minecraft:air. The other thing I did successfully is making so the recipe needs a cobblestone block and a bucket, then transforming the bucket to cobble. Technically it's working but it feel wrong.

💬 1 • 1.21 • Forge • 

How to make particles appear during or after recipe event

gokke: I'm trying to make certain recipes from Create (specific compacting & mixing) have visuals by summoning particles to emulate steam, but I'm having trouble understanding how to make the commands run after/or during the recipe?

💬 5 • 1.20.1 • Forge • 

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).

💬 1 • 1.20.1 • Forge • 

changing amount of splashing output(create)

gugugaga: I want to change the amount of zinc nugget output (line 16) to 9,what should I do

💬 2 • 1.21 • Forge • 

Changing Enchantment Values

Nitai: Hey, Can anyone point me out to an example or something that let me change values of protection effects?

💬 12 • 1.21 • Forge • 

Adding custom enchanted fishing rod trade to villager?

ZonkoTheGreat: I am trying to make it so level 2 Fisherman only sell level 1 Lure enchanted fishing rods, this is my first example I am trying to make work. How do I fix the item registry?

💬 4 • 1.21 • Forge • 

I want to make the alexsmobs vulture and swordfish into living variants that spawn in the world

Not LumpyAcidFish: how would I go about doing that. Giving them neutral AI and spawning in the overworld.

💬 6 • 1.20.1 • Forge • 

Removing Potion Recipe

Zanguuz: I'm using MoreJS to remove a potion effect I don't like for my modded server, and I can't figure it out.

💬 10 • 1.21 • Forge • 

Everlasting

Krispy: Is there a way to make an item indestructible to the void, lava, cacti, and anything else that might destroy something?

💬 5 • 1.21 • Forge • 

How to take the functionality from a modded item and give it to another?

Bruno: title

💬 12 • 1.21 • Forge • 

raycast

WavyShark: I'm trying to understand raycasting, and add it to my script. I'm wanting it to turn whatever block I'm looking at to air, but it's just not working. Can someone help me out here?

💬 6 • 1.20.1 • Forge • 

Create a Timer

Lilo: Hey, good morning, does anyone know how to create a timer? Or a delay to be more exact?

💬 62 • 1.21 • Forge • 

Custom block not spawning in structures correctly

Lens: ```js

💬 6 • 1.21 • Forge • 

Kubejs Error during loading.

Fers: Every time the game is loaded the following error appears on the logs, it does not crash the game but it is there

💬 13 • 1.21 • Forge • 

Is it possible to remove enchants from the game using KubeJS?

UltraPlaysETC: essentially the title explains it, but more indepth, I want to remove specific enchantments for my server (like power, infinity, etc), is there a way to remove them so it cant be used? or what would be the best method to prevent players getting them?

💬 10 • 1.21 • Forge • 

Armor set with an Active Ability

frank mayonnaise: So what I’m looking to do is essentially if a player is wearing a certain set of armour, they can press a keybind to activate some sort of ability, (ex granting a player a potion effect). Optionally it would also be neat if it could consume and require mana from Irons Spellbooks as well if that’s possible

💬 3 • 1.20.1 • Forge • 

unlock a recipe via quest

harrison: hello i mean the tital says alot but basicaly all i need is a way to unlocka locked reicpie with a quest i have had a looka round and cant really figure out a way to do it is there a way i can ? (Ftb quests)

💬 21 • 1.21 • Forge • 

Is it possible to summon blue wither skulls?

minari: They're tied to the entity's NBT in Vanilla, so /summon cant spawn them, but I was wondering if KubeJS can?

💬 11 • 1.21 • Forge • 

Bug Create: Protection Pixel KubeJS

Meiseside: KubeRecipe.java#90: Failed to create custom recipe from json {"type":"create:filling","ingredients":[{"item":"protection_pixel:incompletehammer"},{"type":"fluid_stack","amount":250,"fluid":"minecraft:lava"}],"results":[{"id":"protection_pixel:incompletehammer"}]}: Failed to read required component 'ingredients: either<create:sized_fluid_ingredient, ingredient>[]' - java.lang.IllegalStateException: Failed to parse either. First: Unknown registry key in ResourceKey[minecraft:root / neoforge:fluid_ingredient_type]: minecraft:fluid_stack; Unknown registry key in ResourceKey[minecraft:root / neoforge:fluid_ingredient_type]: minecraft:fluid_stack; Second: Failed to parse either. First: Not a json array: {"type":"fluid_stack","amount":250,"fluid":"minecraft:lava"}; Second: Unknown registry key in ResourceKey[minecraft:root / neoforge:ingredient_serializer]: minecraft:fluid_stack

💬 7 • 1.21 • Forge • 

Is it possible to modify multiple model json files with kubejs?

titin: I'm using the butchery mod in my modpack and the render scale for some of the items (the carcasses) is too big. Is it possible to make a script that can modify the json files for the models? I've gone and manually modified a few of the items, but there are a lot of them and it would be much nicer to have a script rather than having to go through and manually modify each file individually.

💬 9 • 1.20.1 • Forge • 

is it possible to create a block that emits a redstone signal?

ducky: I want to create a block that emits a redstone signal constantly. Is is possible? I did not find anything in the blockbuilder wiki.

💬 4 • 1.21 • Forge • 

adding advanced tooltips in 1.21.1 neoforge (old 1.20.1 forge script)

duck: ```js

💬 5 • 1.21 • Forge • 

custom item recipe using fire fan

Ilayst11.999999999999: event.recipes.create.smoking(['zcoffeecraft2:steamed_milk', 'minecraft:bucket'], 'minecraft:milk_bucket') EROR event.recipes.create.haunting(['zcoffeecraft2:steamed_milk', 'minecraft:bucket'], 'minecraft:milk_bucket') NO EROR WHY

💬 16 • 1.21 • Forge • 

lootjs custom drops seem to overwrite default drops

naik: i wanted to replace leather with my custom drops but this seems like replaces all of its drops

💬 24 • 1.21 • Forge • 

How to get attack cooldown?

Anonymous: Currently i'm using EntityEvents.hurt but I can't get the attack cooldown of the attacker

💬 5 • 1.20.1 • Forge • 

Remove Tall grass from bonemeal

Sketched Dunes 🏜: Hey there! I have started using KubeJS over this last week, with minimal programming knowledge. However, I've been following tutorials and looking at existing scripts to figure things out.

💬 10 • 1.21 • Forge • 

please help me, i need glass block, and i need guide for all block events, or how to get block xyz

Weak | Mann: help pleeeease!!!

💬 48 • 1.18.2 • Forge • 

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

💬 1 • 1.21 • Forge • 

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

💬 15 • 1.21 • Forge • 

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?

💬 116 • 1.20.1 • Forge • 

spells

WavyShark: I need help making a spell a friend of mine gave me work

💬 5 • 1.20.1 • Forge • 

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?

💬 16 • 1.20.1 • Forge • 

Can someone help me? stats cmd

Anonymous: Hey everyone, I was wondering if someone could help me create a script to display stats, like using `/stats`.

💬 13 • 1.21 • Forge • 

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.

💬 2 • 1.21 • Forge • 

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?

💬 6 • 1.20.1 • Forge • 

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

💬 7 • 1.21 • Forge • 

item model

TugkanDeMan: im struggling to find the documentation on how to make an item a 3d model

💬 16 • 1.21 • Forge • 

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.

💬 6 • 1.19.2 • Fabric • 

How to make item a fuel for furnace minecart?

NanChik: There is no tag for this

💬 9 • 1.21 • Forge • 

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...

💬 4 • 1.21 • Forge • 

.damageIngredient on a .replaceInput ?

Lens: trying to replace all crafting uses of framedblocks hammer with the c hammer tag:

💬 1 • 1.21 • Forge • 

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.

💬 38 • 1.20.1 • Forge • 

How do I remove nether portal activating using flint and steel?

Firefly: I want to make my own custom item to enable the nether

💬 9 • 1.21 • Forge • 

create: diesel generators distillation recipe keeps throwing errors

svansen_floven1: ```js

💬 11 • 1.21 • Forge • 

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

💬 4 • 1.21 • Forge • 

Kubedex not working

Pitersonix: Just like that, I have used it for some time before, but now it doesn't work. Any ideas why?

💬 17 • 1.21 • Forge • 

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

💬 3 • 1.21 • Forge • 

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.

💬 1 • 1.21 • Forge • 

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...

💬 1 • 1.21 • Forge • 

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?

💬 24 • 1.21 • Forge • 

[Tacz][L2 artifacts]Revisions to the Damage Calculation Formula

パンの袋をとめるアレ: Hello, everyone.

💬 1 • 1.20.1 • Forge • 

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?

💬 17 • 1.21 • Forge • 

can anyone help me please?

AwareFreak_97: Message not found

💬 30 • 1.21 • Forge • 

Create crushing

Game_MasterHD: How can I do a script for exemple: 0-5 iron_ingot, 70% chance 2 gold_ingot?

💬 8 • 1.21 • Forge • 

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?

💬 2 • 1.21 • Forge • 

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 :)

💬 5 • 1.21 • Forge • 

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

💬 1 • 1.21 • Forge • 

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)

💬 6 • 1.21 • Forge • 

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

💬 1 • 1.20.1 • Forge • 

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.

💬 7 • 1.20.1 • Forge • 

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.

💬 4 • 1.21 • Forge • 

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?

💬 16 • 1.21 • Forge • 

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?

💬 5 • 1.20.1 • Forge • 

replaceinput not working with Sophisticated Storage

Pip: I have this simple replace input:

💬 3 • 1.20.1 • Forge • 

i downloaded a modpack and this mod give error and i couldnt solve it can anyone help me please

fl1p: Message not found

💬 29 • 1.20.1 • Forge • 

Full Armor Set bonus?

Firefly: 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?

💬 16 • 1.21 • Forge • 

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

💬 7 • 1.21 • Forge • 

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.

💬 23 • 1.20.1 • Forge • 

Moving EntityJS script from 1.20.1 forge to 1.21.1 neoforge

Deano: ```

💬 15 • 1.21 • Forge • 

Is there any way to detect when rain starts or stops

Riley: I don't think there's an event for that.

💬 3 • 1.21 • Forge • 

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.

💬 8 • 1.21 • Forge • 

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

💬 4 • 1.20.1 • Forge • 

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

💬 1 • 1.20.1 • Forge • 

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?

💬 7 • 1.20.1 • Forge • 

item modifications throw error on client join to server "was com.google.gson.JsonArray: At path $"

radilime: event.shapeless(

💬 1 • 1.21 • Forge • 

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.

💬 1 • 1.20.1 • Forge • 

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.

💬 7 • 1.20.1 • Forge • 

Double " appearing before the message

Raven 🧡🤍🩷: rhino-2101.2.7-build.77

💬 1 • 1.21 • Forge • 

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)`.

💬 1 • 1.21 • Forge • 

create drill destroys regenerating block

Aqua: is there a way i can stop a mechanical drill from create to destroy my regenerating block completely?

💬 25 • 1.20.1 • Forge • 

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

💬 4 • 1.20.1 • Fabric • 

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

💬 1 • 1.20.1 • Forge • 

dimension locking

milo: now this is more of a question meaning i dont have any scripts for it

💬 1 • 1.20.1 • Forge • 

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

💬 1 • 1.21 • Forge • 

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

💬 14 • 1.21 • Forge • 

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?

💬 2 • 1.21 • Forge • 

mimic create train tracks with custom tracks

Lucky56: I want to mimic the Create: Steam 'n' Rails Monorail on a differently modeled block,

💬 1 • 1.21 • Forge • 

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)

💬 1 • 1.21 • Forge • 

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

💬 4 • 1.21 • Forge • 

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.

💬 2 • 1.21 • Forge • 

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

💬 1 • 1.21 • Forge • 

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:

💬 2 • 1.21 • Forge • 

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

💬 1 • 1.21 • Forge • 

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

💬 1 • 1.20.1 • Forge • 

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

💬 4 • 1.20.1 • Forge • 

Kubej Crash often while create map

Takoyaki: Message not found

💬 5 • 1.21 • Forge • 

Datapack Issue upon loading an existing world

MatsuKari: Datapack Issue upon loading an existing world

💬 9 • 1.21 • Forge • 

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.

💬 5 • 1.21 • Forge • 

How to do .addLoot() efficiently? (LootJS)

jersey .: ```js

💬 2 • 1.20.1 • Forge • 

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).

💬 1 • 1.16.5 • Forge • 

Showing 100/12020 posts