Support Tickets


This page is still WIP!

Is it possible to assign all dimensions a number

Momo725: Like old minecraft so 1 = end, -1 = nether, 0 = overworld

💬 1 • 1.20.1 • Forge • 

How do I get a Prefix from LuckPerms?

Returner: I would like to rework the chat, but I have prefixes, how can I get them?

💬 1 • 1.20.1 • Forge • 

Multiple errors attempting to link mods I don't have installed & 1 due to a config not being found

Electro-Hawk: Similar to Elan, I am having an issue with the 'brewinandchewin-common' config not being able to be found by my server when it isn't referenced - singleplayer is fine.

💬 7 • 1.21 • Forge • 

Can you save the result of a command?

Norevex: I want to get hold of the players current points in the pufferfish skills skill tree, however as far as i can tell the only way to do this is with this command:

💬 4 • 1.20.1 • Forge • 

Recipe script erroring due to unrelated config

Elan: My basic recipe script works in singleplayer, but doesn't work on my server. It throws up this error in log:

💬 2 • 1.21 • Forge • 

creating block and colorize one texture layer

Trystero: I suppose color(tintindex, color) the "tint-index" part refers to a layer, but how I can create layers automatically in the script?

💬 1 • 1.19.2 • Fabric • 

preserve effects after death

duck: reapply certain effects you had when you died, how would I do this? in this case

💬 2 • 1.20.1 • Forge • 

How can I take a fluid out of a Create Basin with a Bottle

P1x3L_Cr4ft3R: I want to fill up a Glass Bottle with a custom fluid out of a Create Basin

💬 10 • 1.20.1 • Forge • 

Category Log RecipeViewerEvent not working

frank: trying to get recipeviewer to list all category ids to logs/kubejs/client.txt

💬 20 • 1.21 • Forge • 

lowering player max health depending on how long the mob effect has been applied

duck: so the longer it has been on the lower the max health, it needs to reset to normal max health ofcourse after, I know I can grab the entity age but that's not exactly the age of the effect.

💬 5 • 1.20.1 • Forge • 

Make armor unequippable

Lume_: I'm trying to make the mekasuit from Mekanism unequippable. Is there any way to do this? Also, I have Craft Tweaker installed.

💬 2 • 1.19.2 • Forge • 

How to edit display name of existing block/item?

Winteragon: I have multiple items with the same name in the modpack I'm making. I wanted to make them distinct item so I edited the recipes to obtain them. I also want the blocks to have different names, so I followed the example to modify the block title with ```ItemEvents.modifyTooltips()```. That works fine to change the display name in the GUI. However, the block doesn't show up in EMI when searching with the new name and the change doesn't appear when the block name is displayed with other mods like wthit.

💬 4 • 1.21 • Forge • 

is it possible to stop the player from using scroll wheel?

Habb: I basically wanna lock the scroll wheel so it's not usable to scroll through your inventory

💬 6 • 1.20.1 • Forge/Fabric • 

Is it possible to use cryptography in KubeJS?

Returner: I want to write a code to enter the server and for this I would encrypt the players' passwords sha256 add-on for working with files I use FileJS here is the "documentation"

💬 16 • 1.20.1 • Forge • 

Get more damage based on armor

GreenApple: i want to make it so when u have 0 armor u get 20% more damage when u are attacked

💬 3 • 1.20.1 • Forge • 

KubeJS to halve or modify vanilla ore spawning?

LogicZock: Is this something can be achieved in KubeJS in 1.21.1 right now? I am having trouble finding documentation one way or another. Thanks.

💬 11 • 1.21 • Forge • 

World-Gen: removing ores from Ore-Gen not working

Selsus: We are trying to remove all ores(almost) from world-gen cause we add our own via EE(EmendatusEnigmatica). We successfully removed all vanilla ores. But not all ores are possible to remove as it seems. For example Tinkers Reforged Ores like: tinkers_reforged:aluminum_ore can't be removed (or i am making a mistake). We did everything like with other ores (which work fine). But Aluminum from Tinkers Reforged still spawns. Does someone have an idea why this is happening, are there incompatibilities?

💬 1 • 1.19.2 • Forge • 

Need help for a big pvp event server script, almost working,

Gwen_&_Gan: with kubejs-forge-2001.6.5-build.7 in my modpack, please help me i had spend so many hours for that script

💬 23 • 1.21 • Forge • 

Require is not defined ReferenceError

Laxystem: ```

💬 13 • 1.21 • Forge • 

Trying to change recipes from Eidolon Rebrewed.

MundM2007: Hello I'm currently trying to change recipes added by Eidolon rebrowed. I've succedfully done this for the recipe in the first screenshot using this code:

💬 31 • 1.16.5 • Forge • 

Minecraft structures in TFC(TerrafirmaCraft) Biomes

Rynareen: I'm trying to add Minecraft structures to TFC (TerraFirmaCraft) biomes. Does anyone have an idea how to do this?

💬 2 • 1.20.1 • Forge • 

LootJS nerf all chests?

gisketch: We have a server where chests are OP, is it possible to nerf global chest loots to have less loot?

💬 6 • 1.21 • Forge • 

create a crafting recipe that adds a tag to an item(food, and then add effects to items with the tag

Speedy: goal is to basically, allow me to combine sugar with any food(what counts as a food based on a food tag), and then once I add sugar to it, it gets a new tag called "sugary", and then I want to add a potion effect like speed 3 whenever you eat a "#sugary" item

💬 23 • 1.20.1 • Fabric • 

Invalid Player Data when creating world

ChaosCraft: whatever script i put in server scripts in the KubeJS folder i get Invalid Player data when creating a world but i can still go into the world after rejoining the world

💬 21 • 1.20.1 • Forge • 

How to Lower Evoker's Totem drop rate

BlazingDeck :D: i want to make the drop chance of totem from evoker from all the time to 25%

💬 8 • 1.20.1 • Forge • 

Changing mining speed of blocks

wispr: I don't understand what's wrong with it. I must be overlooking something...

💬 2 • 1.20.1 • Forge • 

Could not find unrelated config (Neoforge 1.21.1)

Elan: My basic recipe script works in singleplayer, but doesn't work on my server. It throws up this error in log:

💬 9 • 1.20.1 • Forge • 

how do I add cooldowns/modify cooldowns of items using kubejs (fabric 1.20.1)

Speedy: for example, changing the cooldown of an enderpeal

💬 4 • 1.20.1 • Fabric • 

better combat dual wielding

NotNagato: hey im not sure if its possible/where to start with this but im wondering if its possible to make an item that when equipped allows you to dual wield 2 handed weapons from better combat. dont rly know where to start with this since i can spawn in items with commands that have a 1 handed animation when the base weapon is 2 handed

💬 6 • 1.20.1 • Forge • 

Tooltip removal

CostlierSquid: Hello, so I was interested in whether this was possible, as I saw the pack rasberry flavoured do it, and I was wondering how you would remove the tooltips like "Minecraft" or "Create" from showing up under the item for better modpack integration. I know it is possible but I am not really sure how you would even go about doing that. Thank you so much in advance.

💬 9 • 1.20.1 • Forge • 

Mobs dont cast spells ISS/EntityJS

J B: I'm trying to make some vanilla mobs spells specific spells includding addons for ISS

💬 22 • 1.21 • Forge • 

Base KubeJS Entity Loot Chance Modification

Cryptic: Hi, I know I have made a lot of questions in the past few days, but this server is making me config a lot!

💬 4 • 1.20.1 • Fabric • 

Cancelling Command Question

Cryptic: Hi, I have the following code for a server we are playing on, which stops certain commands from being executed within the dimension.

💬 15 • 1.20.1 • Fabric • 

remove farmers delight action type recipes

JustNatan: im removing items from tags however they stay in farmers delight recipes, i think this is because "action": "axe_strip" but im not sure how to remove that from items

💬 13 • 1.21 • Forge • 

how would i make a crafting recipe that results in a random item based on a tag

Speedy: when i do x crafting recipe, it gives me a random item from any item with the tag #abc123

💬 24 • 1.20.1 • Fabric • 

Edit/Add Create Mod recipes without the Addon

gisketch: Im on 1.21.1 and there is no addon for create available yet. Is this possible?

💬 8 • 1.21 • Forge • 

repeated block event

TheSaint: I am trying to run a set of events that do the same thing with different sets of blocks, however, no matter which event is first, only the first event of the set runs. (e.g. if the event for gouda is first gouda runs, if the event for brie is first brie runs instead.)

💬 12 • 1.20.1 • Forge • 

Conditional mob loot

Winteragon: Is there a way to make a mob drop a certain item when killed by a specific weapon?

💬 8 • 1.21 • Forge • 

Removing block gravity via block modification

yeah.png: Hi, I'm trying to prevent a block with gravity like sand or gravel from falling via a script. Looking at the documentation, this doesn't seem editable via the available properties for the block modification event. Is there a way to do this without replacing/recreating the block? The block I'm looking to modify is the garbage pile from the rats mod, in case that's at all helpful.

💬 2 • 1.20.1 • Forge • 

removing all minecraft ores

Cupidian: im trying to remove all of the ores from base minecraft from world gen, i use the guide from here https://kubejs.com/wiki/tutorials/1.20.1-worldgen

💬 9 • 1.20.1 • Forge • 

need help to remove create compacting recipes

Keyo :O: there is a ghost recipe in cannons addon to create that i want to remove

💬 5 • 1.20.1 • Fabric • 

how to remove crafting table recipes but keep mechanical crafter recipes

Tom: so i have industrial foregoing in my create modpack for 1.21.1 but i want to have the industrial foregoing machines n stuff only be craftable in the mechanical crafter. im just wondering is there a way to disable the crafting table recipe but not the mechanical crafter recipe.

💬 6 • 1.21 • Forge • 

How can I make my entity AI run to the nearest water if they're on land for more than a few seconds?

Sloth: title

💬 1 • 1.20.1 • Forge • 

VisualJS saturate shader

duck: the example code (reddish) doesn't seem to even work so I'm not sure where to start.

💬 10 • 1.20.1 • Forge • 

get biome temperature at position

husband in progress: i want to create a starter town and depending what temeperature is at 0, 0 i want the structure to change

💬 155 • 1.20.1 • Forge • 

summon entity when breaking block

Commander Taboo: I want to make it so you break a "sheep block" it summons a sheep

💬 8 • 1.20.1 • Forge • 

Custom Farmland with higher speed

DrBLOOD: Hey, is it possible to code such a thing with KubeJS ? A custom farmland with faster growth speed, the growth speed could also be simuated with a bonemeal effect with a certain delay depending on the farmland tier. Also how could I make a variant for crops, VS one for saplings and a last one for canes.

💬 1 • 1.20.1 • Forge • 

change component values

vass_oura: i'm trying to copy all components values from a recipe ingredient to recipe output but change one of the values.

💬 44 • 1.21 • Forge • 

Summon entity when breaking a block

Commander Taboo: I want to make it so you break a "sheep block" it summons a sheep

💬 5 • 1.21 • Forge • 

Using TFC ItemStackProviders with GTCEU machines.

Redeix: Hello, Im one of the devs for TFG and currently we are trying to get ISP's working with GT but we arent getting results. Using the Kubejs tfc addon we can add ISP's for most recipes, but it wont output anything in this example:

💬 4 • 1.20.1 • Forge • 

EntityJS - Set custom hitbox size.

Supes: Hi, I'm using EntityJS to add custom mobs and bosses to my modpack, however I noticed that I cannot find any documentation on how to change the hitbox of my custom entites, which is a problem because some of them are quite large compared to the player and the default hitbox size is way to tiny, even for smaller mobs.

💬 1 • 1.20.1 • Forge • 

How can i add a new tool????

EthER: ```//Thick Bone Axe

💬 1 • 1.20.1 • Forge • 

Disabling Bone Meal Sound While Sneaking and Growing Plants

Night: This code works by making plants grow the same way as using bone meal while sneaking, but the sound does not play.

💬 6 • 1.21 • Forge • 

is it possible to dynamically add and remove recipes for 1 player?

husband in progress: lets say player x has reached some game stage or something,

💬 52 • 1.20.1 • Forge • 

LootJS + Relics + Artifacs mod

guskikalola: ```js

💬 1 • 1.21 • Forge • 

Creating Custom Egg Blocks [Sniffer Egg, Turtle Egg, Etc] 🔒

Berliumm: I wanted to create a block similar to sniffer eggs but I don't know how to make it and it throws an error attempt of trying to set air on fire!?!??!

💬 36 • 1.20.1 • Forge • 

L_Ender's Cataclysm incompatibility

guskikalola: An error occurs when trying to modify crafting recipes while having this mod installed.

💬 4 • 1.21 • Forge • 

Custom script for custom ore veins/blobs.

Mardejek: Does anyone have a script (or would like to make one) that make ore blobs like shown in the picture (i got the idea from a modpack called "All the create addons!")

💬 27 • 1.21 • Forge • 

remove instant mine with a sword on bamboo

GreenApple: how do i remove the instant break mechanic to bamboo with a sword?

💬 6 • 1.20.1 • Forge • 

Possible to make modular tools with custom stats/models?

Morse: I'm in the brainstorming phase for some custom content a friend and I are trying to make for an upcoming modpack.

💬 1 • 1.21 • Forge • 

Why is this not working?

MercyMaster1: I am trying to make a conditional removal where it has to be from that mod and it has to be a certain output but its not removing the recipes

💬 21 • 1.20.1 • Forge • 

LootJS help, remove elytra drops from mobs

gisketch: Elytra drops from mobs in our server, how to use LootJS to remove all elytra drops from all mobs/entities. I want it to only show up in chests.

💬 1 • 1.21 • Forge • 

Attack damage

Conan: i have tried many things to get the attack damage to change but nothing is working any ideas

💬 5 • 1.21 • Forge • 

Fully Tame/Mount Any Mob script gives me EntityEvents.hurt error

LividBunny: the example script [Tameable Mob](https://discord.com/channels/303440391124942858/1360058916666605628) on the server file script errors at lines 318 and 342 for me.

💬 2 • 1.21 • Forge • 

Issue when trying to registry a new tool (axe)

EthER: ```StartupEvents.registry("item", event => {

💬 3 • 1.20.1 • Forge • 

.tier('wood') and actual wooden tools different in stats

Twysted: Wooden Sword only has 4 attack damage, but the KubeJS wood tier sword I made has 6.

💬 12 • 1.21 • Forge • 

Make a Bundle item not working

Amkré: Make a Bundle item not working

💬 6 • 1.20.1 • Fabric • 

Allow placing of block but override right click on placed block

Acenthus: I'm trying to allow the player to put a bed down, but when the bed is down only set their spawn and not let them lie down. However this only partially works, when right clicking a placed bed it works as intended. When attempting to place a bed though it doesn't allow you to place it as a side effect. What can I do to allow placement of the bed but not sleeping?

💬 39 • 1.20.1 • Forge • 

BlockEvents.modification

bypgomes: ```js

💬 16 • 1.21 • Forge • 

Please Explain Worldgen with KubeJS to me like I'm 5

Ghiojo: I'm trying to understand how worldgen is supposed to work and I would like to figure out an "example" file of how to do it with KubeJS.

💬 7 • 1.20.1 • Forge • 

Block item Loot

Anonymous: Hi everyone!

💬 1 • 1.21 • Forge • 

I have installed the Horizon mods build on version 1.20.1 and this error appears when launching this

zuza: Message not found

💬 13 • 1.20.1 • Fabric • 

How to teleport dimensions using the dimension id's

Momo725: Message not found

💬 2 • 1.20.1 • Forge • 

Can't set a loot table?

Kookaburra: I get this error from using ```.setLootTable(void_ore_loot.json)``` (also have tried putting the json in quotation) Any ideas?

💬 2 • 1.20.1 • Forge • 

Find loot table from mods

Winteragon: Hi, I'm making a modpack and want to edit loot tables from structures generated by mods like sweety's archaeology, but I can't quite figure out how to find the right loot table tags. Anyone could teach me ?

💬 3 • 1.21 • Forge • 

Metal sound for trapdoors?

Disketaa: How should I change trapdoor open and close sound to metal one? soundType doesn't work, I suppose. Is there another way to do it?

💬 2 • 1.21 • Forge • 

Is it possible to modify the armour points a certain armour piece gives?

Szaros Pista: help plis

💬 6 • 1.18.2 • Forge • 

kubejs on the server does not automatically load the server_script

sweeperssl: Message not found

💬 1 • 1.21 • Forge • 

Issue registering custom blocks with 1.20.1 code

Exefer: I'm trying to make some custom ores similiarly to how I would do in 1.20.1, but I'm getting multiple errors for missing methods in the `event#add` object.

💬 6 • 1.21 • Forge • 

Need help making a spell (ISS)

Reyjex: I'm very new to KubeJS ~~and new to coding in general~~, and tbh I have no idea what I'm doing

💬 10 • 1.20.1 • Forge • 

Replace Input

JefferyTheFish: im looking to replace an input in a create addon this is my script it loaded with no errors but didn't seem to work

💬 2 • 1.21 • Forge • 

arc furnace immersive

lomtik: why recipe not remove?

💬 5 • 1.19.2 • Forge • 

can not remove Create Big Cannons recipes

Clocken: I'm using EMI, I was trying with output and id but it doesn't work. I have this his issue with a lot of createbigcannons recipes also, not only these ones, but it removes crafting table recipes from this mod without any problems

💬 3 • 1.20.1 • Fabric • 

How do i add an Block that can be placed on any surface

ALuca 3D: I want to make a Block similar to a glow lichen (the placement)

💬 2 • 1.20.4 • Forge • 

Can KubeJS achieve animated UIs for players? (Client-side, and activated through server-side)

notHAPPY: Title is pretty self-explanatory.

💬 7 • 1.19.2 • Forge • 

Not loading scripts on startup

joe_the_magi: So, I have a weird issue, I'm doing a modpack on curseforge, I have a server on docker on a ubuntu machine.

💬 13 • 1.21 • Forge • 

weird crash

VenWhoVian: trying to make a script that empties an entities hand and summons an item entity that flys towards the player, but for some reason I just crash everytime it runs. any help would be amazing

💬 21 • 1.20.1 • Forge • 

Error with (Tame any Mob)

notHAPPY: [16:14:21] [ERROR] ! shadowMonarchSystem/tameSystem.js#48: Error occurred while handling event 'EntityEvents.spawned': Can't find method net.minecraft.world.entity.ai.goal.GoalSelector.m_148096_(function).

💬 3 • 1.19.2 • Forge • 

How can I make a water-dwelling entity?

Sloth: Basically never leaves water (unless hostile towards an entity that's outside water, in which case it'll swim out and walk to throw hands for a bit). And in the case they're out of the water, they'll take damage after a few seconds and try to walk back towards the closest water source, no longer chasing their target.

💬 3 • 1.20.1 • Forge • 

Remove creative tab

J.F. Lifesteal: I know in 1.20.1 you do

💬 2 • 1.18.2 • Forge • 

How to break a block as if it were mined?

Malle Schaap: I want to have a projectile break the block it hits, dropping whatever that block would if it were broken with a tool. If possible, I'd like to apply Fortune effect to this block breaking too.

💬 4 • 1.21 • Forge • 

Trying to remove a custom recipe then add a percent chance to a recipe

Mplayz2: I am trying to bmp the iron nugget chance from washing gravel from 15% to 45% and I firstly cant figure out how to remove a custom recipe then I cant figure out how to make the result at a percent chance. Here is my code

💬 5 • 1.21 • Forge • 

What does webserver do?

🎮Timmy_0811🎮: Just found the web_server file, what does this do?

💬 3 • 1.21 • Forge • 

Add mod drops

Zeus_32: I heard i can add custom mob drops with LootJS but i didn't find anything on its wiki, can someone help me?

💬 1 • 1.21 • Forge • 

entity health

nou: i can't seem to find an example script and im trying to modify boss entity health and damage some weapons do, was wondering if someone could please help

💬 34 • 1.20.1 • Forge • 

Alternatives to BlockEvents.placed

EthER: I want to use this code without BlockEvents.placed because it doesn't work when you cover an already placed block with water

💬 12 • 1.20.1 • Forge • 

Need help removing village trades (MoreJS)

Nugonoff: I'm trying to remove some villager trades from Gunsmith villagers from Scorched Guns 2, but I can't seem to do it. I'm not getting any errors, so I can't tell what's wrong.

💬 21 • 1.20.1 • Forge • 

I get this error when using ExtendedAE with KubeJS

Samu2004: Using Neoforge version 21.1.146 for Minecraft 1.21.1

💬 12 • 1.21 • Forge • 

tconstruct

Chdoorwe: i dont under stand on how to tconstruct js tape the tconstruct js pisficley on the melting

💬 5 • 1.20.1 • Forge • 

Showing 100/7915 posts