Support Tickets


This page is still WIP!

How do I check if a recipe with a given output exists?

Agencia Tributaria: `firingOutput === output`

💬 2 • 1.21 • Forge • 

Adding a tooltip with multiple colors creates several lines

swifswaf: This:

💬 7 • 1.21 • Forge • 

Is it possible to detect when a player hovers over an item with another item and right clicks?

WiiSafetyManual: There is an event `PlayerEvents.inventoryChanged` but I'm not sure exactly how to use it to do whatever you want here.

💬 3 • 1.20.1 • Forge • 

item combination but prevent if item already has nbt

duck: ```js

💬 9 • 1.21 • Forge • 

detect if player is in water and or swimming

naik: is there an event to do this? i wanna make it so that the player eventually gets freezing if they swim for too long without armor (maybe change the time until u freeze with each tier but i wanna figure that out on my own)

💬 1 • 1.21 • Forge • 

Having trouble with ItemEvents.modifyTooltips for Durability Tooltip

Waris Kung: Hi everyone! I'm trying to make a script that adds a custom durability tooltip to all damageable items. However, my current code isn't working

💬 1 • 1.21 • Forge • 

Speed up suspicious block brushing

RoarkCats: Is it possible to speed up suspicious block brushing from somehow for tiered brushes?

💬 2 • 1.21 • Forge • 

Create a Crop

SuCr1lh0sツ: Can someone help me create a simple crop for my world? I'm a beginner and I can't find anywhere that teaches how, and I don't want to use AI.

💬 1 • 1.21 • Forge • 

The effect applied by scripts does not appear in the player's inventory

imBL4CK_: I wrote a script that applies a custom effect when the player is in dark places and can't see the sun, but the applied effect simply doesn't appear in the inventory GUI.

💬 7 • 1.21 • Forge • 

Play sound periodically while wearing specific item(s)

Sketched Dunes 🏜: Hey there! I was going to try reading up on the wiki to figure it out myself, but since it's down, I might as well ask.

💬 1 • 1.21 • Forge • 

Tough As Nails

Lilo: Hey, good morning, does anyone know where to find the commands to edit things in the Tough As Nails mod using kubejs?

💬 1 • 1.21 • Forge • 

Modifying Existing Projectile Spells Provided by Iron's Spells and Spellbooks (and addon mods)

Io: I'm using the startup kubejs script attached to apply a potion effect to a spell that otherwise did not have such a function. I used EntityJS to apply the effect on the "elemental_synergies:brimflame_bolt" projectile entity. However, using the same code for the "elemental_synergies:brimstone_hellblast" did not result in applying the effect on hit entities.

💬 2 • 1.21 • Forge • 

replaceInput dye tags

RoarkCats: Trying to fix a set of recipes that use the wrong `c` dye tags, this should work, no? (it's not)

💬 11 • 1.21 • Forge • 

registerIgniteEvent with customportalApi

LOLTIME: hey I'm going to assume that I'm doing something dumb but I'm trying to call a event in the customportalAPI to call a event after the portal has been created and it keeps giving me the same error

💬 34 • 1.20.1 • Forge • 

Curios Slot Get/Set

Owen: how would i "get" an item in a curios slot, without using the kubejs-curios mod (dont want loads of dependencies). similar to `entity.getItemBySlot()` but for curios slots

💬 7 • 1.20.1 • Forge • 

Having trouble with tier.incorrectBlocksForDropsTag

Darkus: So I have given a modded pickaxe a tool tier that allows for breaking obsidian but not ancient debris... But for some reason it can break ancient debris. here's a toll modification that I used:

💬 6 • 1.21 • Forge • 

Im trying to import my code into datapacks but it keeps denying it, why?

The_Good_Guy: Message not found

💬 18 • 1.21 • Forge • 

how to make a block not place on another

echoing bunny: im trying to make a new sapling for my pack but it keeps being placed on blocks i dont want it to i tryed makeing a start up script were it tryed to diable the right click on other blocks but it will places

💬 108 • 1.20.1 • Forge • 

New redstone stuff/block tinting

echoing bunny: How do I add a new redstone block and also how to add biome tints to greyscale blocks

💬 6 • 1.20.1 • Forge • 

How to make blocks flammable?

Xmapka: `.soundType` does not copy this property

💬 19 • 1.21 • Forge • 

Curios rendering

Captn138: Hello, so I wanted to have the Create Aeronautics' aviator's goggles as a curios for the head slot, just like the Create's engineer's goggles.

💬 3 • 1.21 • Forge • 

My Shaped recipe isnt working and Idk why

DemonyoTV: ```//onEvent('recipes', event => {

💬 52 • 1.20.1 • Forge • 

Kube js doors/trapdoors

echoing bunny: I need help adding new door types/trapdoors to my modpack im useing kube js for pretty much most of it

💬 118 • 1.20.1 • Forge • 

registering a bed with a custom model

Alterated: im having trouble registering a bed with kubejs, got this from a friend:

💬 59 • 1.20.1 • Forge • 

leave block block tint

echoing bunny: i need help meking my new leaves have biome tints but also have the apple texture on them i been struggleing even getting the tint to work idk if im doing something wronge or not

💬 15 • 1.20.1 • Forge • 

custom spells

▄︻╦芫≡𝓚𝓲𝓷𝓰𝓟𝓱𝓪𝓷𝓽𝓸𝓶══-➖: im trying to create a spell, i managed to make a school but i cant figure out how to make the spell particle effects, make the spell damage entity, icon, name, and a texture, but i did make the spell appear in game but thats abt it and the wiki doesn't really help much, and i cant find any tutorials videos, so can someone help me with this

💬 1 • 1.20.1 • Forge • 

Modifying a modded recipe

corvus: I just wanted to run this by people with more experience than me. I'm modifying a recipe for food in a minecraft server and I don't wanna mess something up.

💬 12 • 1.21 • Forge • 

item crafting with any food item

duck: this is a weird combo of old and new code

💬 15 • 1.21 • 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).

💬 12 • 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

💬 6 • 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?

💬 15 • 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?

💬 6 • 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.

💬 8 • 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.

💬 13 • 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 • 

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

💬 8 • 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 • 

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?

💬 18 • 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?

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

💬 14 • 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

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

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?

💬 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 • 

Showing 100/12042 posts