Support Tickets

This page is still WIP!

How to add biomes to a tag?

NonplussedUltra: The tag #sereneseasons:tropical_biomes prevents snow in a biome, among other effects. I'm trying to add a bunch of tropical WWEE biomes to the tag. I'm using the server script attached, which throws no errors, but also fails to add biomes to the tag. Do I have the event name wrong? Do biome tags not work like item tags in KubeJS? I appreciate any advice.

πŸ’¬ 3 • 1.20.1 • Forge • 

How can I rename an item?

Reabstraction: I need to rename `item.sophisticatedbackpacks.netherite_backpack` to `Steel Backpack`

πŸ’¬ 24 • 1.20.1 • Fabric • 

Bug with KubeJS on a server

KC: I have the same version as the server and it says this is wrong... any advice?

πŸ’¬ 11 • 1.19.2 • Forge • 

replace original recipe ingredients

Lirue: I think Lexxie helped me making this script in 1.19.2, but its not working anymore, I think its broken now, can anyone help me fix it?

πŸ’¬ 170 • 1.20.1 • Forge • 

Durability Setting Script (1.18.2

shardskye: I swear I can't figure out how to get the code to work for making the elytra only have 12 durability. Can someone help me with a script that does this? This is the script I've been using;

πŸ’¬ 28 • 1.18.2 • Forge • 

Script to spawn near a village every new world created

MisterZam: is this possible?

πŸ’¬ 16 • 1.20.1 • Forge • 

getting an items name and setting an items name

Deaded: its just as the name says, how would i go about getting the name of an item in my hand so i could store it somewhere,

πŸ’¬ 3 • 1.20.1 • Forge • 

Forge fluid capability for draining a custom itemstack

omgimanerd: I've got the following PowerfulJS fluid capability callback for `.onDrain()`

πŸ’¬ 6 • 1.20.1 • Forge • 

Is there any equivalent method to check for bosses like entity.isMonster()

RQ: isBoss() does not seem to exist, so I was wondering what the alternative method would be?

πŸ’¬ 7 • 1.20.1 • Forge • 

Custom Command to adjust FE levels to Scoreboard

FSang18: I was wondering if there was a way to create a custom command to either tie an FE value to a scoreboard, or to just make a command to pull FE out of an object?

πŸ’¬ 1 • 1.20.1 • Forge • 


CrustaceanCruncher: Am I able to add attributes to items, and if so, how?

πŸ’¬ 6 • 1.20.1 • Forge • 

Add drops

SrNadien™: all eyes not work drops all eyes end remastered mod

πŸ’¬ 61 • 1.20.1 • Forge • 

Custom Cape Mod πŸ”’

✩°ο½‘β‹†βΈœ Jaden qο½₯:*˚:✧q: I'm looking for a custom cape mod. Preferably server side so others can see my cape. Any ideas?

πŸ’¬ 15 • 1.20.4 • Fabric • 

Automatically open Quest screen on first world join

Katu: Hi! So I was hoping to set a custom kjs screen to welcome players on first join, but apparently that's not available in 1.20.1. So I decided to customize the first page of the quest book, and am trying to open that the first time a player joins a world.

πŸ’¬ 2 • 1.20.1 • Forge • 

create recipe not showing correctly in jei

ALATON17: i have a few create recipe that extends outside the normal JEI square for recipes and it doesnt show the item that the deployer is meant to have, it shows the deployers but not the item it needs to hold

πŸ’¬ 1 • 1.19.2 • Forge • 

What can I do about entities?

seriousFreezing: Can I change the attributes? The size?

πŸ’¬ 5 • 1.20.4 • Fabric • 

Help with custom dog mob

vred: how do I make a custom mob that is already tamed (owner is the person that summoned it) and has the default dog animations?

πŸ’¬ 46 • 1.20.1 • Forge • 

Will this work?

Sketano: I've got 3 questions, Will the following Script work? and also, how can I add onto it so it also runs the command when a player logs in? and is there an easier way to set a default attribute?

πŸ’¬ 11 • 1.20.1 • Forge • 

LootJs is not working on server

Xorsiphus: ```

πŸ’¬ 8 • 1.19.2 • Fabric • 

Create a custom item with a Quark rune enchantment glow?

CubeBotFan: Is there any way that it's possible to do this or no?

πŸ’¬ 2 • 1.18.2 • Forge • 

Click to view the required structure

chris666: Clicking but nothing happens.. do I need to do something special? Do I need to have the items in the inventory already?

πŸ’¬ 7 • 1.16.5 • Forge • 

ForgeEvent crashing game only in Multiplayer

RQ: ``latest.log``:

πŸ’¬ 6 • 1.20.1 • Forge • 

Changing a Create mod recipe

MrRokhead: I want to adjust this recipe to require a steel sheet instead of a steel ingot. What command would I use? I tried this:

πŸ’¬ 44 • 1.20.1 • Forge • 

Check if recipe exists (with specific id/output)

Ferret With A Cat Hat: So, I have the folllowing code:

πŸ’¬ 2 • 1.20.1 • Forge • 

Chest Inventory Event

Marc_roma: How can I create an event to check if a chetst inventory has changed or something like that

πŸ’¬ 1 • 1.20.1 • Forge • 

Block owner

Marc_roma: With kubejs can I know who is the owner of a block. I mean if I place a chest can I know the owner of that chest?

πŸ’¬ 9 • 1.20.1 • Forge • 

Player gains effect in the water

Alitum: What's wrong with this code?

πŸ’¬ 8 • 1.19.2 • Forge • 

Ex Deorum

Lirue: trying to make a function for Ex deorum sieve recipes I guess?

πŸ’¬ 269 • 1.20.1 • Forge • 

Rotate Hitbox and Block

PizzerLover123: This is kind of a Double Problem, i have a block with a custom model json, that i want to rotate to the player when it's placed

πŸ’¬ 2 • 1.20.1 • Fabric • 

One item is not renaming but the others are

PancakeInvaders: I'm doing some kubejs scripting for a minecraft modpack.

πŸ’¬ 2 • 1.20.1 • Forge • 

Specifying what mobs an enchantment deals extra damage to

raspmary: i've been trying to find out how to create an enchantment similar to smite or bane of arthropods which deals extra damage to certain mobs - but i'm not sure how to specify which mobs it should affect (and also how to increase the damage dealt with each level of the enchantment)

πŸ’¬ 22 • 1.19.2 • Forge • 

Need Help with adding forge Tags to fluids

Ra'Ahm and not Milch: I want to add or modify existing fluids in my modpack and add the different material tags to TCon and GT them, so that they can all be used interchangeably. I couldn't find any examples or documentation on how i would go about this and thus am asking for help.

πŸ’¬ 4 • 1.19.2 • Forge • 

Doubled tooltips?

squoshiα΅α΅˜α΅‡α΅‰α΅ˆ (@): I'm making tooltips for some of my custom items and have come across an issue. My tooltips are being doubled. What is wrong with my code to make this happen?

πŸ’¬ 10 • 1.20.1 • Forge • 

VSCode ProbeJS Suggestions

Jimster: I want to get suggested code in kubejs, but probjs doesn't work. I've tried

πŸ’¬ 9 • 1.20.1 • Forge • 

Help me about kubejs Lootr

Dudu: for example, I have a coins mod but I don't want coins to appear in lootr chests

πŸ’¬ 12 • 1.20.1 • Forge • 

Funny moment

NullPointerException: So I get this error in my `common` class

πŸ’¬ 13 • 1.20.1 • Forge/Fabric • 

/fill command from block position?

ZeroOne: In the BlockEvents.rightClicked event i want to run a command: event.server.runCommandSilent('fill -5 ~1 ~5 ~5 ~3 ~-5 air destroy')

πŸ’¬ 8 • 1.20.1 • Forge • 

Translate key in mod name

О, Ρ…ΠΎΡ‡Ρƒ пСльмСни: How the hell it erroring like this

πŸ’¬ 5 • 1.20.1 • Fabric • 

BlockDestructionProgress class keeps returning 0

DemonSlayer112 - [Ping for msg]: Im trying to use the `getProgress()` function from the `net.minecraft.server.level.BlockDestructionProgress` class, but it only ever gives back `0.0`.

πŸ’¬ 2 • 1.20.1 • Forge • 

Get all of Tinker's Modifiers.

Atobá Azul: I need all of the tinkers modifiers ids for adding random modifier crystals to loot.

πŸ’¬ 1 • 1.19.2 • Forge • 

Is there a way to add Better Combat weapon animations with KubeJS?

azurepattycake: I have some weapons in my modpack that aren't assigned animations by the Better Combat mod. Any way to rectify this with KubeJS?

πŸ’¬ 2 • 1.20.1 • Forge • 

Create basin mixing with more than 2/3/4 fluids

very bad name: I'm making a modpack that will need a recipe with a basin that needs 5-10 fluids. How can I override create's default 2 fluids? I know with glitches I can get 4 fluids, but thats about it.

πŸ’¬ 5 • 1.20.1 • Forge • 

Any way to add mushroom patches that generate in caves in 1.18.2?

CubeBotFan: I'm using the Expanded caves mod which is _supposed_ to generate new mushrooms in the world but they don't seem to generate for whatever reason. Is there any way to add mushroom clusters that generate in caves using Kubejs?

πŸ’¬ 3 • 1.18.2 • Forge • 

Expected whitespace to end one argument, but found trailing data

vivi: Trying to execute a command except it keeps telling me this error, the command works perfectly fine in a command block but doesn't work in my kubejs script. Any help would be appreciated.

πŸ’¬ 10 • 1.20.1 • Forge • 

Sequenced Assembly Sandpaper Polishing

Keks: I've used createDeploying and createPressing and those work, but my recipe doesn't work and doesn't show up if I have createSandpaperPolishing in my sequenced recipe.

πŸ’¬ 44 • 1.20.1 • Forge • 

Fluid tag recipes

PancakeInvaders: I have managed to make fluid tag recipes works, but it feels pretty hacky

πŸ’¬ 12 • 1.20.1 • Forge • 

VScode KubeJS suggestions

Jimster: How can I get suggestion code in my vscode for kube js?

πŸ’¬ 25 • 1.20.1 • Forge • 

adding a mod item to creative menu

Xirall: i want to add chromatic compound and its related items to the creative menu

πŸ’¬ 4 • 1.18.2 • Forge • 

Game Crashed when I start minecraft with kubejs

Jimster: I get this screen when I load minecraft with just kube js in the mods folder

πŸ’¬ 19 • 1.20.1 • Forge • 

button press detection?

Sketano: Is there an Event or something that lets my script know when a specific keybind is pressed

πŸ’¬ 10 • 1.20.1 • Forge • 

Allow custom block to burn

Yawp Baron: I'm trying to figure out how I can make my custom wood blocks burn for consistency with the other planks. to further clarify, I don't mean make them usable as furnace fuel, I mean burnable when placed down In-world. I've looked through the wikis and haven't seen anything about It and searched through the server with no luck, so I'm making a post to see If It's possible.

πŸ’¬ 8 • 1.19.2 • Forge • 

Translate key in name

О, Ρ…ΠΎΡ‡Ρƒ пСльмСни: Somehow possible to use key in language file (en_us.json)

πŸ’¬ 15 • 1.20.1 • Fabric • 

Remove crafting Recipe

Gavin2099: Hi- im looking for a way to remove the crafting recipe from Hoppers and Hopping Bonsai pots on my server, but I am not very experienced with coding/ scripting, is there any way that someone can help walk me through what to do? thank you so much

πŸ’¬ 6 • 1.19.2 • Forge • 

Got custom music discs to work, but they all play the same soundtrack for some reason

Celeste: ```js

πŸ’¬ 26 • 1.19.2 • Forge • 

modify attribute of held item

mood: ```js

πŸ’¬ 3 • 1.20.1 • Fabric • 

Recipe won't generate

NullPointerException: The orignal mod has no way of obtaining rebar stuff, so I made the recipe, and this is the ONE recipe it won't do

πŸ’¬ 3 • 1.20.1 • Forge • 

get side of block broken

DemonSlayer112 - [Ping for msg]: How can i get the side of the block the player breaks?

πŸ’¬ 64 • 1.20.1 • Forge • 

Item DisplayName

mum's spaghetti: Is it possible to change the displayed name of an item mid game?

πŸ’¬ 13 • 1.20.1 • Forge • 

create sequenced_assembly

MCSwinxbot: Hi,

πŸ’¬ 12 • 1.20.1 • Forge • 

KubeJS Immersive Engineering 1.20.1 port

KakashoLin: I noticed the Kubejs Immersive Engineering only goes up to 1.19. Would it be possible to get a 1.20.1 version since Immersive Engineering is on that version now.

πŸ’¬ 1 • Unknown • Forge/Fabric • 

Lock keys or prevent user from using some keys

Marc_roma: Is there any chance I can lock some keys so users cannot change the key bindings or some event I can get the action that is being done when users press a key?

πŸ’¬ 1 • 1.20.1 • Forge • 

Only do X thing if player has Y amount of items in their hand

a1qs: so im trying to prevent players from having totems stacked beyond exactly one, but im unsure how to check exactly if the player has more than 1 item amount in their hand

πŸ’¬ 8 • 1.16.5 • Forge • 

Actions after minecraft world/server has reloaded.

Gallucky: I am trying to print to the server chat a message after the server is loaded.

πŸ’¬ 1 • 1.20.1 • Forge • 

Is there a way to iterate over every entity present on (re)load?

β„€∪β“©β‹“πŸ±∋βˆ˜β…™™πŸΎ: Hi, the title says it all. I'm trying to replace the `/execute as @e` and the `/execute as @e[tag=someTag]` commands I used in functions with KubeJs scripts because of better performance and flexibility.

πŸ’¬ 5 • 1.19.2 • Forge • 

Help with custom arrow/projectile entity

vred: Basically I want to make a custom arrow entity that has damage based on spell level + spell power attributes and also makes an explosion on hit (the damage based on spell level + attributes spell power too).

πŸ’¬ 252 • 1.20.1 • Forge • 

Conditional Create Spout filling recipe on arbitrary input amount

omgimanerd: I want to allow Thermal's Insightful Crystal (an xp item store) to be spouted into. The insightful crystal stores its XP contents as an NBT value, so I can create one with.

πŸ’¬ 91 • 1.20.1 • Forge • 

Can I modify much of MCA Reborn with this mod?

PeterTheGM: Hey all, I'm making a modpack that uses MCA Reborn and I was wondering if there's any potential way to modify stuff like names and clothing with KubeJS

πŸ’¬ 3 • 1.20.1 • Forge • 

how i can suggest some variants of command arguments for player?


πŸ’¬ 12 • 1.20.1 • Fabric • 

Check an item for recipes?

deepa: Trying to make a script to add items to an array for hiding/tag removal using forEachRecipe and input checks right now but it's still showing up with items that have recipes, so I am wondering if I can do this another way by checking if a specific item DOES have a recipe and query ingredients?

πŸ’¬ 4 • 1.20.1 • Forge • 

Custom Blockbenchmodel in Minecraft

Leon: I would like to bring this katana into the game as a sword. How can I do that and how do I get the texture in?

πŸ’¬ 70 • 1.20.1 • Fabric • 

Modded wood log has correct tag for recipe but doesn't get smelted

tanya: ```event.replaceInput(

πŸ’¬ 5 • 1.20.1 • Fabric • 

Question of possible integration with JEI/REI and crafting

Kragnoth: Can an item be created that utilizes NBT data to represent a JEI recipe for non-standard crafting grids (larger than 3x3)? The idea is for this item to facilitate the automatic placement of components into machines or crafting setups like Create's mechanical crafters.

πŸ’¬ 1 • 1.20.1 • Forge • 

Entity crashing the game (EntityJS)

vred: I only spawned it πŸ’€

πŸ’¬ 27 • 1.20.1 • Forge • 

how to make it so when breaking a block it will drop a different block/items

Jack the dripper: i have been trying to figure it out on my own with looking throughout wikis and subreddits and seemingly cant find a solution unfortunately can yall help?

πŸ’¬ 194 • 1.20.1 • Forge • 

id like to make an item that can hold items collected by a mob

DataBunii: im making a soul wisp which is a looting mob that just moves nearby loot into a nest

πŸ’¬ 8 • 1.20.1 • Forge • 

Is it possible to create armor that consumes energy instead of Durability?

imBL4CK_: I would like to create armor that consumes energy instead of durability, similar to the armor from the "Redstone arsenal" mod

πŸ’¬ 1 • 1.20.1 • Forge • 

Help with immunities to potion effects

miner_sd: I'm looking to give certain players immunities to specific potion effect, what would be the most reliable way of doing this?

πŸ’¬ 29 • 1.16.5 • Forge • 

Recipes still show up after having their outputs/inputs removed.

gayasslily: Im using this script (by murao) to disable all recipes in every category that contain any of the items in my kubejs/assets/emi/recipe/filters/disabled.json. Yet a lot of these recipes still show up.

πŸ’¬ 15 • 1.20.1 • Fabric • 

IE Crusher recipe

Gupta: Maybe I'm dumb but I can't get the recipe I need in crusher from Immersive Engineering. Wiki says:

πŸ’¬ 7 • 1.19.2 • Forge • 

default options not working

gayasslily: i have a big fat defaultoptions.txt in minecraft/kubejs/config but its completely being ignored when starting the game for the first time

πŸ’¬ 3 • 1.20.1 • Fabric • 

make a script to pump out Liquid from Botania Manapool

Ra'Ahm and not Milch: Is there a way to make a script that allows me to pump out [insert liquid] from the Botania Manapool and update the contents in the pool itself?

πŸ’¬ 25 • 1.19.2 • Forge • 

How can I make it so silk touched spawner blocks do not give Experience Point?

diNkd: Would that even be possible? (1.19.2 Fabric)

πŸ’¬ 3 • 1.19.2 • Fabric • 

zombies can hear gunfire?

Cr0w37: Is there a way to make zombies hear your gun shots from mrcrayfish gun mod?

πŸ’¬ 14 • 1.19.2 • Forge • 

God apple recipe too OP?

✩°ο½‘β‹†βΈœ Jaden qο½₯:*˚:✧q: A member of my server suggested this:

πŸ’¬ 8 • 1.20.4 • Fabric • 

Use NBT for items in modifyCreativeTab

gayasslily: yeah im trying to use nbt to sort items (the stupid ominous banners) and cant get it to work :(

πŸ’¬ 17 • 1.20.1 • Fabric • 

Is there a way to have an entity cause nearby torches to be destroyed?

Ahowell610: Hello, so I am attempting to make certain enemies way more threatening and one way I thought of would be to make torches drop when they come within 5 blocks of the torch. This would mean that as they approach you the torches slowly blink out in your mining tunnel or cave which I think would be a really cool effect. Is there any way to do this with KubeJS? Any help would be greatly appreciated, thanks.

πŸ’¬ 6 • 1.20.1 • Forge • 

effect immunities applied by team

miner_sd: im looking to give players immunities to certain effects (poison and such) based on what team they are a part of.

πŸ’¬ 1 • 1.16.5 • Forge • 

Ambigous method call

sashafiesta: I'm calling `Client.font.width(timeString)` in my script

πŸ’¬ 3 • 1.20.1 • Fabric • 

my custom food items .eaten(ctx =>) runs twice

RemedyπŸ«€: This script is largely the example code from the wiki, but for some reason the callback calls twice? (I've tried with and without global function)

πŸ’¬ 3 • 1.20.1 • Forge • 

idk how to delete crafats for all items with some tag except a few

NanChik: I understood how to delete for 1 but for a few idk.

πŸ’¬ 31 • 1.20.1 • Forge • 

TextPlaceholderAPI placeholder register

s3nkwr: Hi i'm trying to register a placeholder to use it, but there an error:

πŸ’¬ 2 • 1.19.2 • Fabric • 

How to: Create-mod casings

OracularSpy: Basically, i want to figure out how to make a block have the properties of a create-mod casing, including encasement properties, wrench properties, and most importantly, the connected textures, exactly the way the create mod does them

πŸ’¬ 1 • 1.20.1 • Forge • 

ItemEvents.modification max health

mood: trying to edit an item to have the max_health attribute off the start

πŸ’¬ 1 • 1.20.1 • Fabric • 

Putting NBT data

Arber: the getDouble works fine, putDouble though does nothing to the NBT data of the player

πŸ’¬ 8 • 1.20.1 • Forge • 

registerRecipeTypes Does Not Exist

NullPointerException: So on the recipe wiki it says to use to the following. But it does not exist

πŸ’¬ 5 • 1.20.1 • Forge • 

Hi I am trying to remove all epicfight attributes from all tooltips

Boredom: tryna remove all epicfight attributes, can anyone can help me get started

πŸ’¬ 1 • 1.20.1 • Forge • 

How to: Face Blocks according to how one would expect

OracularSpy: Im building a tinkers construct reboot, in the style of the create mod, but i encountered a little bit of trouble while making it face the player: while it has the facing property, it refuses to face anywhere but north, even if i set the facing value to anything that isnt north.

πŸ’¬ 2 • 1.20.1 • Forge • 

JEI Hide dozens of GTceu Tools, TConstruct Tools, Stations and Anvils

Ra'Ahm and not Milch: exactly as Title says, I want to hide several dozens of items from GTceu and TConstruct, that clutter up the whole JEI interface.

πŸ’¬ 18 • 1.19.2 • Forge • 

how to make an item. like a pickaxe

ALATON17: I'm looking to make the hammers for my pack like from FTB.Stoneblock but I'm new to kubejs and don't know how

πŸ’¬ 4 • 1.19.2 • Forge • 

[NeoForge] Conditional Recipe JSONs break when adding KubeJS Recipes?

TaΝ₯zΝ£zΝ«: When making a conditional recipe in a datapack, it works fine, untill you add a recipe through

πŸ’¬ 6 • 1.20.4 • Forge • 

Showing 100/3538 posts