Support Tickets


This page is still WIP!

KubeJS script crashes the server

Simple: The server hangs when there is this script to add a block:

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

custom geode feature

Jayquavius: I'd like to make a custom geode that is essentially the exact same as vanilla except somewhat smaller, rarer, has a sky stone shell, and certus quartz inside. Is this possible with kubejs?

๐Ÿ’ฌ 1 • 1.19.2 • Forge • 

kubejs create nonexistant for 1.20.1 fabric

SOSSALMON: Trying to get an update out for 1.20.1 on Create: Overstressed but some arguments don't exist anymore because of Kubejs Create not existing in this version

๐Ÿ’ฌ 13 • 1.20.1 • Fabric • 

Recipe output with NBT data

ClaireAlderwyrm: Trying to make a custom recipe, but the item I want needs NBT data, and I don't know how to specify NBT data in the output.

๐Ÿ’ฌ 36 • 1.20.1 • Forge • 

Hiding "jeresources:mob" Entry/Recipe

Terra: The Just Enough Resources mod adds a "Mob Drops" recipe type that displays entities and their associated loot tables. Is there a way to hide specific mobs from this "recipe type" with KubeJS?

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Event for just before a reload or when the server closes

Nanorasmus: This might be a dumb question, but is there an event for when your script is getting unloaded?

๐Ÿ’ฌ 8 • 1.19.2 • Fabric • 

Weird render issue

paikeday123: The bounding box on some of my blocks allows the player to see through them.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Can't reedem the output from AnvilUpdateEvent

Zaid Alaraji: So I'm trying to make a weapon damage change method via anvil and this is how i did that so far

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Script that runs every hour, on the hour.

Leah: Hi I'm trying to write a script that runs every hour, on the hour (eg: at 4:00, 5:00, 6:00, etc (It gives everyone online a lootbag every hour). What's the best way to do this?

๐Ÿ’ฌ 1 • 1.19.2 • Fabric • 

Model Textures Break Depending on rotation

แ‘ฒโซฏแ‘ฒแ‘ฒ09 ๐•‹๐•จ๐•  ๐•๐•ฆ๐•๐•”๐•’๐•Ÿ ๐•๐•š๐•๐•๐•’๐•˜๐•–๐•ฃ๐•ค: My model Textures get black in specific areas depending on the block's rotation. I also added a Blockbench screenshot for the intended textures.

๐Ÿ’ฌ 1 • 1.20.1 • Fabric • 

Replace event for create mod fluids

J0hnnyWalker: I have the mods “Create Weaponry” and “Create Matallurgy” and want to merge the molten iron recipes so that the input and output is the same liquid for both.

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

i need help with recipe removing

luluthepogcat: there is an item in the mod destroy called "silica", which has 4 create’s crushing recipe to obtain, i want to disable all of them except one crushing recipe, how do i do that? try to put a "not" in but doesnt work

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Filters just dont work whatsoever in my ftb quest (probably user error but idk how to make it work)

Anonymous: I put items in "or" filter, i put "or" filter as a task item, the quest wont complete when i have one of the selected "or" items in my inv

๐Ÿ’ฌ 2 • 1.20.1 • Fabric • 

Loading screen colors not changing through client.properties

Seaswimmer: So, I have the following client.properties file in my `kubejs/config/` folder:

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

commandRegistry how to make optional argument and how to make command expect specific argument

Wlnfr: 1. How do I make this argument `.then(Commands.argument("number", Arguments.INTEGER.create(event))` optional, so that it uses a default value if it's not provided?

๐Ÿ’ฌ 1 • 1.20.1 • Fabric • 

What should the first parameter (extra) of ItemEvents.dynamicTooltips() be filled with?

Mango is Me! (Ping when reply): ```ts

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Custom Items (Break the Loading on a modpack)

obsidian_mini_sword: When i try to get my Custom Paxel Upgrade Smithing Template it just Make the game never Load 100% up and insted crash with a itemBuilder error it works in a older Version of Minecraft.

๐Ÿ’ฌ 27 • 1.21 • Forge • 

Adding liquid to a block holding liquids

Kamyk: Hi! I’m looking for a way to add some liquids to blocks content that can input liquids. For example adding lava to cauldron or magmatic dynamo from thermal if netherrack is under the blocks.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

lock hotbar slot

Ari: i need to make it so only hotbar slot 4 5 & 6 are selectable is this possible

๐Ÿ’ฌ 16 • 1.20.1 • Forge • 

Effect doesn't remove attribute modifier when effect has ran out

KekeCreations: Is there something wrong with my script or is this a 1.21 bug?

๐Ÿ’ฌ 19 • 1.21 • Forge • 

placing ladders above and below system

jamm: trying to make a script that places a ladder above the one u click on

๐Ÿ’ฌ 1 • 1.20.1 • Fabric • 

How can I see if an item is inside a tag and it that tag contais any other item?

I'mKlayil: I'd need run that on a server event if possible

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

disable/edit player animator Animation

Ari: i have 2 mods that add a animation for the same thing im wondering if i can dissable some of them and replace others

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

AnimationJS Player Models

Ari: im wondering if i would be able to use animationjs or something like it that to make a segmented version of the player model to make smoother animation like epic fight

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

doesnt set torch block unless it has not facing orientation

jamm: for whatever reason the script only works if the torch is up right and isnt facing any direction on the side of a block

๐Ÿ’ฌ 13 • 1.20.1 • Fabric • 

How to import Create-mod scripts into new kubejs

beannn: This is the script i used for some items they no longer work, i checked the documentation but everything is labelled as "legacy"

๐Ÿ’ฌ 11 • 1.20.1 • Fabric • 

How would I make an enchantment that only applies to a specific item type?

M-CDevinW: I'm currently trying to make a few new enchantments with KubeJS. I've looked through the example scripts, and found someone named FalAut who made one using this startup script:

๐Ÿ’ฌ 1 • 1.20.1 • Fabric • 

Custom block

LduRenard: I would need help adding a small custom block.

๐Ÿ’ฌ 68 • 1.20.1 • Forge • 

Script error in startup script.

SamHammie: The attached links below are inaccurate. See [here](https://discord.com/channels/303440391124942858/1266106940459581490/1266118668996313181) for updated ones.

๐Ÿ’ฌ 48 • 1.20.1 • Fabric • 

JEI Bug

rasior29: When I use a script to hide an item, JEI bugs and no longer displays craft and usage and the script is client side

๐Ÿ’ฌ 4 • 1.16.5 • Forge • 

explosive chestplate

Ravvix: Is it possible to create a chestplate that explodes when broken?

๐Ÿ’ฌ 1 • 1.20.1 • Fabric • 

Trying to use method from mod class results in error

MundM2007: Im trying to use the getDisplayItemStacks method in the ItemFilterApi https://github.com/latvian-dev/item-filters/blob/1.20/main/common/src/main/java/dev/latvian/mods/itemfilters/api/ItemFiltersAPI.java#L83 . I'm passing a valid Item into it, but no matter what I use as the second argument iz results in the below error. I'm trying to call this client sided to then dynamically change the tooltip.

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

[ERROR] ! worldgen.js#19: Target block state is empty!

Spacex: when i launch a modpack this is the error im getting, i didnt make the modpack plus i dont have any experience with kubejs. this is a modpack that i did add mods too, please help

๐Ÿ’ฌ 4 • 1.19.2 • Forge • 

KubeJS error loading recipe

Baron74: Hello, I don't know well about kubeJS programming, but recently some recipe on kubeJS who worked before stopped to work for some mod. Here is a link to the log if someone can give me some assistance :

๐Ÿ’ฌ 5 • 1.20.1 • Forge • 

Forbidden arcanus recipe not working

FeSiTa99: I've made a few recipes, all following the same syntax, but one of them isn't working and i have no idea why. It says it loaded with no errors, but this specific recipe won't show up.

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

FTB Guides links

PLEASE Ping me if u answer: Is it possible to somehow provide a link to another guide inside ftb guides?

๐Ÿ’ฌ 5 • 1.12.2 • Forge • 

Is it possible to display NBT of an item for the input of a recipe?

JudgeRinder: I'm planning to use Thirst Was Taken but they've implemented water purity in the form of NBT instead of seperate fluids, would this be possible to prevent confusing players?

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

Mekanism fission help

MaybeMedic: can some one show me how to use the custom Fission Recipe Mod?

๐Ÿ’ฌ 12 • 1.20.1 • Forge • 

Using CraftTweaker Addons in KubeJS

PINPAL (ping when reply): I would like to use various addons for GameStages from wtihin KubeJS. Is this possible and if not, would installing CraftTweaker and using it explicitly for these cause issues?

๐Ÿ’ฌ 8 • 1.20.1 • Forge • 

How would a make a block spawn a structure

Squawkykaka: I want to make a block that when you click it and a structure is built around it spawns a metior at the highest y point above the structure how would i do this?

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

run command on player death/join

Octal: how do I make a command run like "/execute as @a run attribute @s tinyinv:slots base set -35"

๐Ÿ’ฌ 6 • 1.20.1 • Forge • 

Trying to change fishing loot tables with lootjs

girlzoi: Couldn't find any documentation for changing fishing, but my intention is to change the loot tables to be based off of biome/temp, time of day, and/or weather. Maybe even something with serene seasons? I'm also using Aquaculture, which I know already has some biome-specific changes that I'd like to preserve

๐Ÿ’ฌ 2 • 1.19.2 • Forge • 

Check if paint element is active to avoid log spam?

RQ: When using the ``PlayerEvents.tick`` event with ``.paint`` lots of general log spam occurs when removing an element which is not active, like here:

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Looking for a way to make an array of all items that match a specific set of arguments.

soap: Trying to clean up the tags on a pack and i'm looking for a way to create an array of all the items with a certain tag, like how you can with removing recipes, e.g. {mod: 'create', '#forge:plates'}

๐Ÿ’ฌ 2 • 1.19.2 • Forge • 

(Mekanism) Unable to edit basic, advanced, elite and ultimate factory recipes

ChicleDeFruta: Message not found

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

mekanism recipe help

Anonymous: need help creative recipe for mekanism tank

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

Cant get Botania To Listen!

ACrazyD (@ Me): ```js

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

Loot Tables.

Morro™: I need to modify all loottables in the game. like what zombies drop or what spawns in lost city chests. i have no clue how to start and reading documention doesnt make sense to me.

๐Ÿ’ฌ 5 • 1.20.1 • Forge • 

How to make duplicate recipes with a single changed output?

foggywizard: A bit more context: I want to have all my recipes dynamically work with tetra, so I'm using tetracelium and this code to make it compatible with the tetra knives: ``` event.replaceInput({type: "farmersdelight:cutting", input: "#forge:tools/knives"},

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

explosión mob crafting

SrNadien™: some way that when you hit a chicken with a certain item and make it explode and usually an item, example 1 diamond

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

(EntityJS) Can you make a enderman no longer aggressive towards endermite?

Peti: *Title*.

๐Ÿ’ฌ 1 • 1.20.1 • Fabric • 

error in ATM 9

charlierogersCretoxyrhina: hey, slight problem. I've added some mods to ATM 9, and (ignoring some other issues that took priority), there's an error related to aether redux regarding the gregtech greenhouse and aether redux short grass. it breaks the whole setup, meaning none of the features that kubejs brings to the pack work. Can anyone help me figure things out without removing Aether Redux? I have the error attatched to the post.

๐Ÿ’ฌ 7 • 1.20.1 • Forge • 

How do i remove enchantments with kube js?

rigbyy: I just need someone to explain how i can remove an enchantments as a whole and how to get rid of levels of an enchant (for Ex: Sharpness 5 can only go up to Sharpness 3)

๐Ÿ’ฌ 8 • 1.20.1 • Forge • 

Trying to create custom gravestone using the block type from the graveyard mod (It lets you write on

Untrustedlife: But when i do so the wya i se eon here (defning propertoies) i get an error, turn sout Gravestone's constructor actually takes in a resourc elocation. SO im totlaly lost lol. Using a model location or using the id of a block didn't appear to work either (it just doesn't show up at all)

๐Ÿ’ฌ 355 • 1.19.2 • Forge • 

Making a new "cake" block/food

Sacri Pan /\^._.^/\: What I wanna make is Stuffed Squash, wish work exactly like farmer's delight's Stuffed Pumpkin but for Deep Aether's Squash, how I do that? Do I have to create each block for every single individual stage?

๐Ÿ’ฌ 11 • 1.20.1 • Forge • 

Issues with 1.19.2 immersive engineering crushing

Gabe Lily: I've been trying to migrate a 1.18.2 script to 1.19.2, and it includes this code:

๐Ÿ’ฌ 16 • 1.19.2 • Forge • 

Need to fix script

Isaac Faro, the Stellar Cook: Hey guys, how I can fix script to make it changing player's attribute? I'll send it down under this post

๐Ÿ’ฌ 19 • 1.20.1 • Forge • 

energising

create: can i make energising work from create new age with kubejs/createjsvV

๐Ÿ’ฌ 13 • 1.20.1 • Forge • 

How to make KubeJS Smelting recipes give XP?

qwerty97475: Vanilla recipes give you XP for smelting, I couldn't find a way to give XP with smelting on the docs.

๐Ÿ’ฌ 18 • 1.20.1 • Forge • 

Removing a recipe given multiple inputs

felipe: why that doesnt work ?

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

IE Crusher Secondary outputs not working

Pip Ping for replies: ```event.recipes.immersiveengineeringCrusher('3x thermal:blitz_powder', 'thermal:blitz_rod', [{chance: 0.25, output: 'thermal:niter'}])```

๐Ÿ’ฌ 11 • 1.19.2 • Forge • 

ProbeJS not dumping?

Sam-e: I Really don't know what the problem is even when looking at the logs, it just hints at Satin but thats a fabric API.

๐Ÿ’ฌ 7 • 1.20.1 • Forge • 

Removing a mods items from loot pools

OxiiGiin: I'm trying to remove all items from all loot pools from Scaling Health. I've already removed all the recipes now just want to make sure players can't receive items from the mod.

๐Ÿ’ฌ 27 • 1.20.1 • Forge • 

Chopping Block

Sivi: So I use a mod called choppingblock which adds a choppingblock. This block is created in the craftingtable with two stripped logs and two leather. I want it so I can just rightclick a stripped log with an axe to turn it into the choppingblock, like the same mechanism which is used to create the stripped log from a normal log. How can I do this with kubejs? I believe the code should look something like this, but I can't get it to work:

๐Ÿ’ฌ 31 • 1.18.2 • Forge • 

Instantly Tame Tamable Entity?

their: Im trying to create a curio that allows taming entities on the first attempt. I tried this, is there another method to detect and tame entities?

๐Ÿ’ฌ 46 • 1.19.2 • Forge • 

loot table

Chdoorwe: how do i do loot table

๐Ÿ’ฌ 8 • 1.20.1 • Forge • 

Getting a users Rank using KubeJS for a custom command

Jamie: I was wondering how i would go about getting a users ftbrank for a kubeJS custom command to only run if they have a specific rank

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Stone technology ultimate error

eXib0: Anyone help ? error only in server, single player works fine

๐Ÿ’ฌ 10 • 1.18.2 • Forge • 

How to Disable Certain items ?

Angel Cartel: I want to disable certain items in my pack. Some items are obtainable via craft, some - loot tables

๐Ÿ’ฌ 9 • 1.20.1 • Forge • 

adding armor

Aziraphale: Hello I'm looking for an example script for adding an armor set to the game does someone have an example on how to make armor in kubejs didn't see a video and if I do make the item I don't know how to get the texture for when you wear it

๐Ÿ’ฌ 5 • 1.20.1 • Fabric • 

Recipe translation

ะ˜ะฒะฐะฝ ะะผะธะด: I want to take all recipe of create smelting and add them to another mechanism(create: ratatouille furnace), and take the ability to Do this from normal fan. Is there short way to Do that?

๐Ÿ’ฌ 2 • 1.19.2 • Forge • 

I cant go to GoG

Anonim Player: i cant go to Glass of garden island

๐Ÿ’ฌ 7 • 1.20.4 • Fabric • 

what is addCreateRecipeHandler? i have kubejs create and it says it's not defined, is it required?

GeneSy: i can't find anything regarding it. i assume its from kubejs create but the mod description doesn't have it only the bot here seems to know anything about it

๐Ÿ’ฌ 18 • 1.20.1 • Forge • 

Adding Crop Drops

Swifty: How can I add an item to all full grown crops to drop at a percent chance?

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

multiple filters for recipe replacements?

willow: hi, im trying to add multiple filters to this function, it works and removes everything else but minecrafts glass bottle recipes, but when i try to put more than one filter, it just gets weird. how do i format/do this?

๐Ÿ’ฌ 20 • 1.20.1 • Forge • 

how do I make it so an enchant can go on a item that normaly doesnt allow that enchant

Octal: how do I do that ^^^

๐Ÿ’ฌ 9 • 1.19.2 • Fabric • 

Problem with lead_vein.js

Last_Dovahkiin: I have two errors currently:

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Bundle like behaviours

Ale2105: Hi,

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Detect if a conduit block is active

hexagonelle: Hi, I am making a script so that if the player right clicks an active conduit with a Heart of the Sea while in a Deep Ocean, it spawns an Elder Guardian.

๐Ÿ’ฌ 12 • 1.20.1 • Forge • 

Is it possible to give a custom block entity a loot table?

Habb: I made a simple custom block entity with a 9 by 3 inventory and was wondering if I could give it a loot table?

๐Ÿ’ฌ 3 • 1.20.1 • Forge/Fabric • 

Specify Apotheosis item in crushing recipe

omgimanerd: Apotheosis specifies some compat recipes like the following:

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

replace all items in custom/weird recipes for mods without addons

Kragnoth: Is there a replaceitem thing that works on all recipes if you don't have the addon? I'm looking at parsing all ae2 recipe types, and was just wondering if I'd be better of writing a python script to go through the data/ae2/recipes folder instead.

๐Ÿ’ฌ 47 • 1.20.1 • Forge • 

Possible to create a new block of an already-defined Block object from another mod?

Cephelo: There's a mod called Respawn Obelisks that replaces the respawn abilities of beds and respawn anchors, and it adds one for each vanilla dimension. I'd like to add more variants of the obelisk block - the only differences i'm aware of is the texture and what dimension they work in.

๐Ÿ’ฌ 13 • 1.20.1 • Forge • 

Alex Caves and Mekanism hazmat parity

Jane Watson: Is there a way to make these two hazmat sets protect against each others radiation? It's a little above my abilities but would be nice as I have both in a modpack I am working on.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

how do i get all sapling in my modpack and excluding only a mod?

Aryxst: ```js

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

Playsound on right click with my item

M0l1bden: How to make script which plays sound when I right-clicking my item

๐Ÿ’ฌ 19 • 1.20.1 • Forge • 

Items/Blocks not show in JEI

แƒฆ ๐“ก๐“ช๐“ฒ๐“ญ๐“ฎ๐“ท ๐“ข๐“ฑ๐“ธ๐“ฐ๐“พ๐“ท แƒฆ: i create lead ore and lead deepslate ore and dont show in JEI

๐Ÿ’ฌ 15 • 1.20.1 • Forge • 

Handling a recipe schema key with a "pseudo-array": {0: element, count: 1}

9thCore: apologies for the word spaghetti but i dont know how else to explain it

๐Ÿ’ฌ 30 • 1.20.1 • Forge • 

Ways to improve this code

NullPointerExpectation: ```js

๐Ÿ’ฌ 7 • 1.20.1 • Forge • 

Create TFMG creosote as fuel

Dae Blackheart: Create TFMG has Creosote that can be used as a fuel to power an engine. the issue is that it seems that it does not recognize other mods creosote. I wish to remedy this and add compatibility withing kjs. i have tried modifying the IE blast fernaces output to TFMG creosote but doesnt seem to work with event.replaceOutput and it seemed to not work. fitlered or un filtered

๐Ÿ’ฌ 34 • 1.19.2 • Forge • 

hello ฤฑm getting kube js failed to load correctly when ฤฑ start the game

cyber_pioneer: Message not found

๐Ÿ’ฌ 53 • 1.19.2 • Forge • 

How to remove recipes from Thermal Expansion machines

defineduser: I want to remove redstone furnace, I removed it recipe and hid it but REI still shows it

๐Ÿ’ฌ 7 • 1.20.1 • Forge • 

Make crafting takes time

Sen: Make crafting takes time like furnace.

๐Ÿ’ฌ 11 • 1.20.1 • Forge • 

Creative Tab Editing

Luridum: According to the wiki you are able to modify and create creative tabs. Are you able to remove or hide tabs?

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Make fluid behave like lava

Ash: How can i make the fluid deal damage and move slowly like lava?

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

weird arrow/projectile position from ProjectileImpactEvent

Toaster (@ when reply): basically, when i fire an arrow and it lands relatively near me, it's position in the event snaps to my exact location at eye level (about). Is this forge being jank or kube?

๐Ÿ’ฌ 12 • 1.20.1 • Forge • 

Recipe conversion

SamHammie: I want to take all of the furnace recipes that use specific items as fuel, then convert all of those into recipes able to be performed on the crafting table.

๐Ÿ’ฌ 9 • 1.20.1 • Fabric • 

event.remove not working for some items

Dakota: I am trying to remove a recipe but it is not working. I tried to remove it by ID and by output to see if either worked but neither worked. The following code is in server_scripts and loads without errors or warnings:

๐Ÿ’ฌ 54 • 1.20.1 • Forge • 

Oregen with kubejs

แƒฆ ๐“ก๐“ช๐“ฒ๐“ญ๐“ฎ๐“ท ๐“ข๐“ฑ๐“ธ๐“ฐ๐“พ๐“ท แƒฆ: I saw that you can't use worldgen events to generate minerals but you can use kubejs to "create" datapacks for custom ore gen

๐Ÿ’ฌ 32 • 1.20.1 • Forge • 

NeoForge Attachments in KJS

Swedz: In NeoForge, there are attachments (see [here](https://docs.neoforged.net/docs/datastorage/attachments/) for docs on attachments). These can be accessed by calling `getData(AttachmentType)`. Is there a simple way to interact with these in KJS? I'd just load the class (like with `Java.loadClass(...)`) that has the attachment type variable saved and then reference that variable in the `getData(AttachmentType)` call, but I want to check if there's a "more correct" way of doing this.

๐Ÿ’ฌ 2 • 1.20.4 • Forge • 

Showing 100/4449 posts