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
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?
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.
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:
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:
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?
preserve effects after death
duck: reapply certain effects you had when you died, how would I do this? in this case
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
Category Log RecipeViewerEvent not working
frank: trying to get recipeviewer to list all category ids to logs/kubejs/client.txt
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.
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.
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.
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
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"
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
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.
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?
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
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:
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?
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?
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
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
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%
Changing mining speed of blocks
wispr: I don't understand what's wrong with it. I must be overlooking something...
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:
how do I add cooldowns/modify cooldowns of items using kubejs (fabric 1.20.1)
Speedy: for example, changing the cooldown of an enderpeal
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
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.
Mobs dont cast spells ISS/EntityJS
J B: I'm trying to make some vanilla mobs spells specific spells includding addons for ISS
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!
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.
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
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
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?
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.)
Conditional mob loot
Winteragon: Is there a way to make a mob drop a certain item when killed by a specific weapon?
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.
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
need help to remove create compacting recipes
Keyo :O: there is a ghost recipe in cannons addon to create that i want to remove
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.
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
VisualJS saturate shader
duck: the example code (reddish) doesn't seem to even work so I'm not sure where to start.
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
summon entity when breaking block
Commander Taboo: I want to make it so you break a "sheep block" it summons a sheep
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.
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.
Summon entity when breaking a block
Commander Taboo: I want to make it so you break a "sheep block" it summons a sheep
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:
Query minecraft:worldgen/structure registry to iterate through block palettes
omgimanerd: If I do
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.
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.
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,
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!?!??!
L_Ender's Cataclysm incompatibility
guskikalola: An error occurs when trying to modify crafting recipes while having this mod installed.
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!")
remove instant mine with a sword on bamboo
GreenApple: how do i remove the instant break mechanic to bamboo with a sword?
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.
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
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.
Attack damage
Conan: i have tried many things to get the attack damage to change but nothing is working any ideas
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.
Issue when trying to registry a new tool (axe)
EthER: ```StartupEvents.registry("item", event => {
.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.
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?
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.
I have installed the Horizon mods build on version 1.20.1 and this error appears when launching this
zuza: Message not found
How to teleport dimensions using the dimension id's
Momo725: Message not found
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?
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 ?
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?
Is it possible to modify the armour points a certain armour piece gives?
Szaros Pista: help plis
kubejs on the server does not automatically load the server_script
sweeperssl: Message not found
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.
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
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
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
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)
Can KubeJS achieve animated UIs for players? (Client-side, and activated through server-side)
notHAPPY: Title is pretty self-explanatory.
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.
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
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).
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.
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.
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
What does webserver do?
🎮Timmy_0811🎮: Just found the web_server file, what does this do?
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?
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
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
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.
I get this error when using ExtendedAE with KubeJS
Samu2004: Using Neoforge version 21.1.146 for Minecraft 1.21.1
tconstruct
Chdoorwe: i dont under stand on how to tconstruct js tape the tconstruct js pisficley on the melting