Support Tickets


This page is still WIP!

Custom Tool Tier - field 'level' does not exist

anna: ```js

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Changing steam engine heat sources

Geko: How do I change what heat sources the Create steam engine uses? There's a KubeJS addon specifically for Create so there's gotta be a way to change it.

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

tried to give all passive farm animals no knockback cause fun but doesnt work

Gameerer: ```const passiveAnimals = [

๐Ÿ’ฌ 2 • 1.21 • Forge • 

Does geckolib support per-face UV?

J.F. Lifesteal: Im making a model for an animated multiblock, and it has a lot of per-face UVs. Does geckolib support it?

๐Ÿ’ฌ 2 • 1.18.2 • Forge • 

Help with skyblock

Frug: I need help running commands on world spawn.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Is feature handling planned for Kube in 1.21?

Plazzy: Using datapacks to alter world features can be tedious to manage, as high amounts of feature removal requires a lot of file tweaks. When you're doing a mass-adjustment of features, this becomes time-consuming. Versions like 1.19.2 were able to axe features within Kube itself.

๐Ÿ’ฌ 2 • 1.21 • Forge • 

Damaging a specific item after right-clicking with it on an unlit campfire?

Scarlet Fury Eats ∞ Waffles: Pretty much as the title says heh - I created a custom, earlier game item that uses another mod's tags to ignite campfires, but now I can't figure out how to setup a server script to damage that item, as right now, it has infinite uses, which is way too broken XD

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Summoning a mob with Apotheosis armor

doomsdayguy678: I am working on creating a custom boss that requires a mob to wear custom armor. This armor has a long list of NBT data and I was wondering if it was at all possible to do this with KubeJS or if anyone could point me in the correct direction to do such action. I added the entire script I am attempting use.

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Trying to spawn a mob with ntb data like with armor or a custom nbt tag

Toad: I only found one way to do it but that used "server.runCommandSilent" and summon command that way is way to long and does not work half the time for myself.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Trouble Creating and launching a custom KubeJS addon for Immersive Geology

Nerf Ashton ๐ŸŽ—: I've been trying to create my own KubeJS addon and I'm having a hard time getting it to launch in my development environment. I don't have a lot of gradle knowledge, but I should have my dependencies set up correctly because it isn't giving me any errors finding the dependencies. Now, I keep getting some issues with spongepowered that cause the game to crash before it even launches:

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Server crashing after updating KJS

Diju: I'm using KubeJS 2101.7.2-build321

๐Ÿ’ฌ 8 • 1.21 • Forge • 

Looking for ways to suffocate or give air supply to players

sans.: I am looking to make a script to replace certain aspects of the mod thin air. While it's a great mod, I would appreciate it if i could make more changes or easily make the system more complex. How would i manipulate the player's air supply?

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Low heated

harrison: now im using create low heated and want to make a recipie with it how wpould i go about using iut i know liminal indistys uses it i just dont know how to make lowheated work

๐Ÿ’ฌ 20 • 1.21 • Forge • 

how to give coordinates to function

sam8poop: haj.server.runCommandSilent('function mian:idkhaj')

๐Ÿ’ฌ 11 • 1.21 • Forge • 

need help with using the Or Filter in FTB quests

Woly: i want to make a quest where it can accept any kind of color variant of the dragon scale helmet

๐Ÿ’ฌ 2 • 1.21 • Forge • 

Modifying Creative Inventory

Ekazuya: just a quick question

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Item Model Help

Adolla: the custom item i made would float over conveyer belts and noclip through the ground when its dropped

๐Ÿ’ฌ 9 • 1.20.1 • Forge • 

Renaming fluids via Client Events not working.

โœฆ aqt โœฆ: Im trying to rename some fluids from Farmers Respite, but I cant get the changes to apply in game. Im using the lang key for the fluid from the mod, but the changes im making arnt applying. Im using the following code.

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

player.jumping returns false

twitchy: Anyone got a clue why this would be wrong? I tested the powers does return true, but logging the output of player.jumping is false no matter what I do.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Cobblemon kubejs support?

ElderGuardian: My question is simple, does kubeJS support cobblemon? Im asking this as i want to make a ranking system that checks a players amount of caught pokemon and giving rank upgrades to allow them using more items as they progress... but im not sure if kubeJS is able to access playerdata, let alone specific data where it states how many pokemon were caught (and unique ones if possible)

๐Ÿ’ฌ 10 • 1.21 • Forge • 

create crafters not liking Vic's point blank

silent_hunter_7286: I'm having trouble with getting the mechanical crafters to replace the weapons printer so it can be more create focused.

๐Ÿ’ฌ 8 • 1.21 • Forge • 

Preventing to let mob spawn too close to eachother

SBERLA: So basically im using the mod **incontrol** to add spawn pool to certain biomes.

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Help with recipe change

Renegade: Hey guys, I don't know what I'm doing wrong. Kube.js isn't showing me an error message, but the recipe isn't being changed either.

๐Ÿ’ฌ 7 • 1.20.1 • Forge • 

KubeJS registered blocks not rendering in JEI for many mods — any solutions?

FutureLin: The blocks registered by KubeJS in my modpack often fail to render properly in JEI.

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Add Custom Attribute to items

Yasashiki: Hello, I would like to add custom attributes (ex: irons_spellbooks:evocation_spell_power) to items ( such as irons_spellbooks:artificer_cane) in 1.21.1 which was doable in 1.20.1 by using ItemAttributes.modify from <@1185904263583510561> but now I can't seem to make it work even with ItemEvents.modification.

๐Ÿ’ฌ 4 • 1.21 • Forge • 

How get ingredients and output from exist recipes?

ChiyahaRe: I want to automate occult summoning recipes.

๐Ÿ’ฌ 12 • 1.21 • Forge • 

Rechargable ring item through Curious

Lemmy: Idea is explained in off-topic but I'll explain again.

๐Ÿ’ฌ 6 • 1.20.1 • Forge • 

Allow enchanting table for books only?

PlantBeef: Hey! Would it be possible to make enchanting tables only allow you to enchant books, and not other items such as swords, pickaxes, etc?๐Ÿ“”

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Renaming Existing Fluids

Lizard: Hello,

๐Ÿ’ฌ 1 • 1.21 • Forge • 

beta-like crossbows

estranged: Im tryna make a script that changes the nbt of the crossbow to be always charged so its kinda like the rapid fire bows from alpha and beta versions of the game while also having a small cooldown like an enderpearl. The problem is that im not a scripting expert at all infact i don't know what im doing... Where should i start? can i even manage this by myself?

๐Ÿ’ฌ 1 • 1.21 • Forge • 

what's wrong with my sequence assembly code

Adolla: ServerEvents.recipes(event => {

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

GTCEU Modern Script Doesn't Work

Isomorph: When I tried to run this in KubeJS, it said 'recipeConditions()' is empty.

๐Ÿ’ฌ 3 • 1.21 • Forge • 

Kube JS Saying version does not match??

rinni: HI

๐Ÿ’ฌ 5 • 1.19.2 • Forge • 

When I place a custom block down, it executes a command.

goldeyegold: I wanted to execute /neoblock force setblock ~ ~ ~ at the location of where I placed the block.

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Disable falling block drops (torch, shovel glitch, etc.)

Treeways: Hi! I was wondering if it was possible to disable dropped blocks from a torch or from this shovel glitch with either KubeJS or a loot table. (I'm not asking for LootJS support here)

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Change Durability of Specific Item On Craft

binaryclock03: Hey Im looking to change the durability of a crafted item based on the players level. I want to increase the max durability the more levels the player has. Im just looking to know how to do the max durability modification.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Question(s)

Fireworkstars4444446: Is it possible for me to know what version a script would work on?

๐Ÿ’ฌ 43 • 1.19.2 • Forge • 

is there a way to register an item into a class

Dracoruff1211: as the title says. i need to register an item into a class for it to work properly with everything

๐Ÿ’ฌ 5 • 1.20.1 • Forge • 

How to set variable to string from received data?

absolutely not wawa: ```js

๐Ÿ’ฌ 6 • 1.20.1 • Forge • 

HELP WITH SEQUENCE ASSEMBLY

Adolla: Could someone give me a template for the sequence assembly?

๐Ÿ’ฌ 19 • 1.20.1 • Forge • 

Reloading

Z-LINE: I just started whit KJS and I added a simple recipie for my world with modpack, I dont have Optifine, searching how to reload server scripts and startup scripts says that just put /reload in the command, but it doesnt make anything

๐Ÿ’ฌ 4 • 1.21 • Forge • 

recipe type registry error

IceMaster1294: I am attempting to iterate over all possible recipe types for an item, but I am getting an error that “No such element with id cucumber:shaped_no_mirror in registry minecraft:recipe_type”

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

Removing Item from Loot tables

Mark: I removed the clubs from "Basic Weapons" from the loot tables via this script, **supposedly**, but in game ive encountered vanilla and modded structures still having the item. ```LootJS.lootTables(event => {

๐Ÿ’ฌ 7 • 1.21 • Forge • 

Create tooltips

Mark: Is it possible to add custom tooltips to any item the way Create does it? like where it can show "Hold Shift for Info" while hovering over it in the inventory and id get some info. Please ping for any response

๐Ÿ’ฌ 5 • 1.21 • Forge • 

How to create lava-like fluids?

chimaeraUndying: That is, fluids that ignite the player/mobs/flammables on contact and give off light. I'm not seeing anything in the fluid builder methods that enable these effects, and I'm not finding anything from searching around here either ๐Ÿ˜”

๐Ÿ’ฌ 8 • 1.21 • Forge • 

Not guaranteed chance

Skemech or something: I have a script that makes basically all raw meat not worth eating, but how could I make them only have a chance to be hunger inducing?

๐Ÿ’ฌ 1 • 1.19.2 • Forge • 

NBT Related Itens in Crafting

yan: Hello! I am trying to make a recipe using Sophisticated Storage to craft a ProjectE Alchemical Chest. The problem is: if I use "netherite_chest" in the recipe, the literal item will be necessary, which is uncraftable by default. SS uses "oak, acacia, etc" variants, but they are all NBT variants from netherite chest. How do I add all of em on one recipe to make the alchemical chest?

๐Ÿ’ฌ 11 • 1.20.1 • Forge • 

Disable building withers

beanie_cat: I'm trying to make it so the wither is summoned a different way. Is there anyway to just disable building the wither? Thanks in advance!

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Making a Farmer's Delight feast based on the Fiery Fondu from Brewin and Chewin

Sacri Pan /\^._.^/\: What I want to do is reproduce the hitbox of a cauldron (if possible have a burning effect like in a lava cauldron and place an empty cauldron once it served in a bowl 3 times

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

Is it possible to block specific players from crafting items using kubejs

IAmTheGrass: as in if a player has a specific name they are unable to craft anything

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

digSpeed

TimeheroTH: Hi i'm trying to change didSpeed but seems to don't work.

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Modify enchantment compatibility of existing enchantments.

Dryym: Is there by chance a way to modify which items can be enchanted by a certain existing enchantment *without* overriding the registry entry of that enchantment with a new one?

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Layers and Connected textures

nicolas-vinc: Hi, how can I create new blocks and variants of it and apply of them connected textures? I have to use a mod like fusion, citresewn, continuity?

๐Ÿ’ฌ 1 • 1.21 • Forge • 

BlockProperties not containing facing property when filtered

IceMaster1294: Hi! I’m using AStages (but this is not an AStages problem) and I’m trying to procedurally apply a function (restriction) to a bunch of blocks via a directional block property when it exists. However, I get the error of “directionproperty{…} does not exist in Block{oak_log}” - which is odd, because anything without the property should have been automatically filtered out already.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

How do i make a gun item do a raycast and store a bullet value?

IAmTheGrass: im just wondering cos i want to try making a bunch of classes for a modpack without installing gun mods due to compat issues, if this isnt possible let me know

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Make arrows break glass blocks on impact

Van: How to make any projectile break any block on impact? Please help it’s for a big server. 1.20.1 forge

๐Ÿ’ฌ 10 • 1.20.1 • Forge • 

Shapeless recipe to change fluids causing bucket dupe.

TravHan2009: Hello, I am adding a shapeless recipe to convert a bucket of PnuematicCraft to a bucket of oil from Stellaris (because for some reason the Fuel Refinery block from Stellaris refuses to accept oil from other mods). I've added the recipe and it works correctly, however it leave behind an empty bucket in the Crafting Table (introducing a way to dupe buckets). Does anyone know how I can force the recipe to consume the empty bucket instead of leaving it in the Crafting Table? Here's the script:

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Edit An NBT tag in a recipe

DepthDrako: More technical (for GitHub or modding forums):

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Adding Super Factory Manager Wires to Immersive Engineering like More Immersive Wires using KubeJS?

PARVUS ๐‘ฎ๐‘ฌ๐‘ณ๐‘ผโ—†๐ŸŒธ๐ŸŒผ๐ŸŒน: Immersive Engineering adds wires I like the look of.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

KubeJS causing threads to stall?

throw new NullPointerException(): https://mclo.gs/dU4aF9V

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

Making a glowing block

Lucy: Hi, Ive been trying to make glowing blocks similar to AntiBlocks from Chisel however I cant get the blocks to actually emit any light... heres my code so far:

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

kubejs Json?

Commander_Astra: Hello, is there any way I can make functions that automatically generate json files?

๐Ÿ’ฌ 6 • 1.20.1 • Forge • 

kubeJs has failed to load correctly

zogned: Message not found

๐Ÿ’ฌ 26 • 1.21 • Forge • 

Are numeric characters as a string suddenly no longer valid to use in a mechanical crafting recipe?

CelestialAbyss: I really don't see why this shouldn't be working

๐Ÿ’ฌ 13 • 1.21 • Forge • 

Adding consumable for waystones`s teleportation with powerfulJS

Efford13: I'm trying to use waystones` teleportation require 1000mb as a consumable. For this purpose, I am using Kubejs and Powerfuljs. But I don't know why it doesn't work, this is my code:

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Kubejs makes my game instantly crash after launch

Cloud: I am using a few mods and i need kubejs for some custom textures for ftbquests, but whenever i add kubejs my game just instantly crashes, i use forge on 1.19.2

๐Ÿ’ฌ 2 • 1.19.2 • Forge • 

Any way to make an item not support an enchantment?

Arius: either directly, or by stripping the enchants off the item when entering the players inventory?

๐Ÿ’ฌ 1 • 1.21 • Forge • 

how to remove items from registry on startup

IAmTheGrass: couldnt find it on wiki

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

Dissolution chamber industrial foregoing input item change

Iverzada: I put MIFA in the Stoneblock 4 and even changing "tag": "c:gears/netherite" to "item": "ftbmaterials:netherite_gear" in datapacks the recipe doesnt has changed ๐Ÿ™

๐Ÿ’ฌ 3 • 1.21 • Forge • 

Trying to code a block to drop multiple items with different amounts possible to drop.

Nova: In this case, I want to drop some mekanism resources that have a different number value, (I'll want to drop 2-5 of them instead of 2-3), but it's not working and I can't figure out how to correct it.

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

Get forge tags of an item/block from the ID for item/block

nick: this feels like a stupid question to ask that i could look up and find in documentation somewhere, but i cant. Is there a way to get the tags that a block/item (using its associated block/item ID) posseses? and if there is a way, where can i go looking to find answers for similar questions?

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

can i change the amount of liquids a create basin can hold with kubejs?

Aqua: can i change the amount of liquids a create basin can hold with kubejs?

๐Ÿ’ฌ 6 • 1.21 • Forge • 

what event game fires when attempting to place a snow layer?

IIIap: title

๐Ÿ’ฌ 11 • 1.20.1 • Forge • 

crash

Anonymous: i have this error when i left click ingame: kubejs:first_click may not be sent to the server!

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Can't Dump

Lan: This is my first time using Kubejs (2001.6.5-b16) and Probejs (6.0.1). I have both installed on a client/server. After connecting to the server from client, /probejs only suggests test_availablity which results in:

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

Fluid creation doesnt work in 1.21.1 Neoforge

Aqua: ```StartupEvents.registry('fluid', event => {

๐Ÿ’ฌ 10 • 1.20.4 • Forge • 

Custom collision box for already existing block

ggerald_: How do i change the collision box box of an already existing block, i remember doing it before, i forgot how. furthermore, is there a way to make it non-rectangular

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

How do i create animated item with layers?

ZA WARUDO: Im trying to create an item that looks exactly like singularities from avaritia but i cant get layers to work(it shows as an item with no texture)

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Creating custom multi-block machines Modern IndustrializationMinecraft versions 1 20 1

SoulKingBrook: Hi, can someone help? I need to create my own multi-block mechanism for the Monern Industrialization mod on version 1.20.1. How is this possible?

๐Ÿ’ฌ 1 • 1.20.1 • Fabric • 

IE Diesel Gen fuels

EntuzjastaPKP: Hello, can I add an acceptable fuel for IE diesel generator? (Diesel from PneumaticCraft)

๐Ÿ’ฌ 7 • 1.21 • Forge • 

[KubeJS Iron's Spells Addon] Upgrade and imbuement lists disabled, but functionality not replaced

Grynn: > Using KubeJS 2001.6.5-build.16+forge and KubeJS Iron's Spells 3.1.1.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Apply Persistent NBT

Cyberdragon: I want to apply NBT to a tool item regardless of whether it's found, crafted, or repaired. So basically just if it exists apply NBT, without causing constant checks. I assume some startup method can but I tried to no avail.

๐Ÿ’ฌ 14 • 1.20.1 • Forge • 

Can't make script since key things are missing from the wiki

Tobii: So I've tried to use KubeJS to make some Modpacks a couple of times now but besides making crafting/melting recipes it's basically not usable for my needs since half the wiki is empty and everything (including old tutorials/code etc.) seems to have been either removed or its not mentioned to what it was changed I'm really not trying to do complicated stuff and just having an updated wiki would probably help me achieve what i want but since there hasn't been a change in months since I'm looking into it will there every be an update to it or is it just dead?

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

haunting chance issue

Red The Woof: im making recipies for bulk haunting and cant seem to give it a chance value for the output on the last recipie (everything else works fine)

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Implementing a timer

Poke: Hey guys! I'm trying to implement a 7 (irl) day timer/countdown onto the players UI, what would be the best way to go about this using kube.js? honestly a bit lost on where to even start

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

error "itemstack result cant be empty" in recipe script

kirb: ```js

๐Ÿ’ฌ 6 • 1.20.1 • Forge • 

The finishUsing function is not being applied in the item registry.

Alex: I want to register an item that behaves similarly to a potion. When used, it should give the player effects and give them the glass bottle item.

๐Ÿ’ฌ 1 • 1.16.5 • Forge • 

forEachRecipe breaks in multiple scripts

Apoล‚ล‚o: This should be possible but it just doesnt work, no errors. JEI / EMI recipe does not change. I need to do it this way so it is easier for me to bulk unify liquids instead of having to use datapack files. I have not seen an alternative way to do this better.

๐Ÿ’ฌ 44 • 1.20.1 • Forge • 

Problem with Axe Requirement Tag for Logs

Monte carlo: I’ve been trying for two days to write a script that makes logs require an axe to drop items. I’ve checked previous posts, but I couldn’t really understand much. As shown in the image, when I use a tag it doesn’t seem to have any effect. Could someone please explain clearly how I can write this script? Thanks in advance!

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

Game stages

Ioan4ik: ```js

๐Ÿ’ฌ 16 • 1.20.1 • Forge • 

KubeJS cannot change attackSpeed of tools

Lilith Daemon: Trying to create a script to update the attack speed of several items, but am getting a crash.

๐Ÿ’ฌ 143 • 1.21 • Forge • 

kubejs recipeschema ๐Ÿ”’

๐Ÿ˜๐Ÿ˜SrNadien๐Ÿ˜๐Ÿ˜™: IngredientComponent.INGREDIENT.instance() kubejs 7.2

๐Ÿ’ฌ 3 • 1.21 • Forge • 

Giving entities default attributes

Pyrolyzed: Hey all, I'm currently using [this mod](https://modrinth.com/mod/attributesetter) to set the attributes of some mobs to default values. I was wondering if something like this is possible with KubeJS or one of it's addons? I'm on 1.21.1 NeoForge with the latest KubeJS.

๐Ÿ’ฌ 3 • 1.21 • Forge • 

Custom block with multiple textures won't show it

EdSuns: Texture won't show, got this working on 1.20.1, now updating to 1.21.1 , thanks for any help.

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Save/Read data to block

Enigmaomega: Hello, I'm wondering what the intended method of saving to and reading custom data from a block is for this version.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

lootjs

Zenistoo: how do you add custom loot drops to a zombie for example with the drop chance and how many items of it will drop

๐Ÿ’ฌ 83 • 1.21 • Forge • 

How can you turn such an item into a perishable item that doesn't get used up in recipes?

Petite: ServerEvents.recipes(event => {

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

i add my custom fluid , like thermal redstone but my flowing look strange

VelvetCrowe: Message not found

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Same mod, same version, still wont let me in

JJ1124: I am trying to make a integrated MC modded server but for some reason the KubeJS mod is not letting me join even though I have the same exact mod file in both the client and server file, I have tried changing the mod version but same results popped up. can anyone help me fix this?

๐Ÿ’ฌ 5 • 1.20.1 • Forge • 

could not create ID error when adding regex

Angel Cartel: there is irons jewerly mod and id like to add create and tfmg ingots for #irons_spellbooks:arcane_ingot_base tag via respective regex but instead i get the error

๐Ÿ’ฌ 14 • 1.21 • Forge • 

Showing 100/10482 posts