Support Tickets


This page is still WIP!

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

๐Ÿ’ฌ 3 • 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?

๐Ÿ’ฌ 5 • 1.20.1 • Forge • 

kubeJs has failed to load correctly

zogned: Message not found

๐Ÿ’ฌ 24 • 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

๐Ÿ’ฌ 6 • 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

๐Ÿ’ฌ 1 • 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

๐Ÿ’ฌ 2 • 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 • 

Help to fix a Recipe

Bell: So my kubejs is showing this error and I wanted to fix this but I'm totally laic with Kubejs, what I need to do to fix this? I tried to ask for help on the mod discord but no answers sadly so I wanted to do manually

๐Ÿ’ฌ 2 • 1.21 • 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?

๐Ÿ’ฌ 5 • 1.21 • Forge • 

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

IIIap: title

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

worldgen.js#22: dev.latvian.mods.rhino.EcmaError: ReferenceError: "WorldgenEvent" is not defined

SOSSALMON: trying to get a new ore to spawn on the moon for northstar redux

๐Ÿ’ฌ 3 • 1.21 • Forge • 

crash

Clexz: 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 non-rectangle collision box for existing block

ggerald_: I wanna change the model of a vanilla block and have its collision box be non-rectangular, like stairs. is there a way i can do that

๐Ÿ’ฌ 1 • 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 • 

Adding KubeJS gives recipes to unwanted items

Estatrix: Howdy! I've noticed that when I install KubeJS alongside Dungeon and Combat, it gives recipes to items that have invalid ingredients. For example, in the image it gives a recipe to Dragonsteel Shields (Ice and Fire & DnC compat). It's a similar situation with a few items from other mods (like cobalt or electrum tools)

๐Ÿ’ฌ 157 • 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 • 

Method for giving stages after specific entity death

orato848: I made the script for only player kill. I want that when the entity dies will give the stage even if not killed by a player to all the players offline and online but I'm not understanding how

๐Ÿ’ฌ 17 • 1.20.1 • Forge • 

Inability to use forEachRecipe for liquids

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.

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Crash when creating a new world, probably a data problem

Sacri Pan /\^._.^/\: https://mclo.gs/JkcfdpY

๐Ÿ’ฌ 17 • 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 • 

Custom blocks not showing texture

Shnewbs: Porting and moving from 1.20.1 to 1.21.1 and I’ve hit a wall. It loads but no textures/models but file directories are right

๐Ÿ’ฌ 3 • 1.21 • 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.

๐Ÿ’ฌ 70 • 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 • 

Locate nearest biome and teleport player command with morejs

Danmatisk: I want to make a custom command that instantly finds a specific biome and teleports the player to it

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

Ferdinand’s Flowers berry bush help

yeeted_breakfast: I have a question for people who know KubeJS better than me, how do I modify the event of harvesting the berry bushes from Ferdinand’s Flowers so they properly provide crops at 100% mature? Unmodified, the bushes provide yield at 2/3s grown but nothing when fully grown.

๐Ÿ’ฌ 6 • 1.21 • Forge • 

Component Based Item Models

∫ntegral + C: I am trying to make an item that accepts some texture ID as a component, and uses said texture to fill in a transparent part of the texture. I have not clue what to do beyond basic registry and attaching the component, or if Kube can even do this.

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Furnace TNT

Comfy Echo: Is it possible to make it were, if one cooks gunpowder in a furnace it will blowup when finish cooking? And if so is it possible to make it stronger depending how much i put in it?<a:tnt_boom:588955096461606912>

๐Ÿ’ฌ 8 • 1.20.1 • Forge • 

Thermal Kubejs - Not consumable

Petite: Hi, I'm creating a modpack that uses several mods, including thermal. I want to program new dies for thermal to make certain items, but I'm having trouble creating non-consumable items.

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

Datapack not loading

SBERLA: So 100% sure im forgetting something that i'm not remembering but i dont know how to solve it.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Does anyone have a collection of how itemstack and ingredients have changed in recent kubejs and

Kragnoth: rhino updates? Seems alot of my procedural code has taken a crap since major back end changes have been made. Or do I need to just dissect the base source code?

๐Ÿ’ฌ 3 • 1.21 • Forge • 

Item Durability

Van: This 1.20.1 forge startup_scripts script doesnt work:

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Effects if item in inventory

pica: Hey, how could i make a player get specific effect if a custom item is held in their inventory/main hand

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

farming related things

Mega.: so, im making a farming modpack but im horrible with kubejs so i need some help I want to know how I can make it so that when a custom hoe i made breaks a crop ( including wheat) it drops 2x more drops, and the fortune enchant still applies

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

How do I dump item ids to Probejs?

Qtqbss: I've installed probejs, and it works for prompting code, but I wonder if I could dump item ids?

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

Making all new registered molten metals show as ingots in tinkers forge

Buggie30: I added scripts to create fluids and recipes for all of the metals and alloys in mythicmetals and mythicupgrades, but i can't seem to get them to show in the forge as ingots instead of droplets...?

๐Ÿ’ฌ 1 • 1.20.1 • Fabric • 

I get an error at the beginning when using it with alienevo mods.

crawl baba: I'm getting this error. Can you help me?

๐Ÿ’ฌ 11 • 1.20.1 • Forge • 

Custom Fluid work with Shadepack?

Mellowitsch: I have a custom Fluid (salt_water)

๐Ÿ’ฌ 5 • 1.20.1 • Forge • 

Custom Villager trade problem with nbt

TimeheroTH: Hello i'm trying to add a new trade for a villager but with arrow + mod nbt i have an issue and doesn't report me any error and invalidate me all the js script and all villager (only the fletcher's trades disappear from jei)

๐Ÿ’ฌ 46 • 1.20.1 • Forge • 

can u make 2 repiair items in kubjes?

GreenApple: i want iron ingots to repair 200durability in iron tools on anvil and i want iron nuggets to repair 50durability, is it posible?

๐Ÿ’ฌ 16 • 1.20.1 • Forge • 

Blocks keep rotation when spawned with a structure block

Um shutup: Hi, i have a problem, i managed to make some blocks face the player when placed... but when generated with a structure block, the block keeps its rotation

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Detecting specific part of a tool's component (again)

Ekazuya: Recently Slag n' Ember released a snapshot update that made it data-driven which is good and all but with that the components of items also changed from:

๐Ÿ’ฌ 8 • 1.21 • Forge • 

automatic item making based off a tag and recipes

Chdoorwe: so is there a way to basically have an ingot that has a tag on it and basically makes a set of items. like let's say that the tag was mats and any ingot that has the tag mats it would automatically add gears and bolts and rods for the ingots but on top of that it would make a recipe for those based off a universal recipe but replacing the inputs

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

Make block unmovable by pistons

Danmatisk: I understand I need to change ``pushReaction`` under ``BlockBehaviour.Properties`` to ``block`` but I only have very surface level kubejs knowledge so I do not know how to turn what I currently have into that

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

How does Minecraft even refer to the insomnia for phantom spawns?

aTameshigir1: What category of thing even is it in Minecraft's logic so I can call for a change in it using KubeJS

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Dynamic Block Light Level

Anonymous: So let's take a simple bare bones block that has a light level for example.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Removing block drop loot from EMI

iamspeed140: Im able to disable the drops from a block but I can't get that to show up in EMI.

๐Ÿ’ฌ 4 • 1.21 • Forge • 

custom tool texture and model are invisible

rook: im not exactly sure what the problem is here because i feel like i followed the documentation i could find to a T but its still just not working. I also had to delete the tier.level line in the toolTierRegistry just to get Minecraft to launch after adding it.

๐Ÿ’ฌ 3 • 1.21 • Forge • 

re-adding missing items

๐—ฃ๐—ฟ๐—ถ๐—ฐ๐—ธ๐—น๐—ฒ๐—ป: So in my modpack i use a mod called [No Tree Punching](https://modrinth.com/mod/no-tree-punching), but it has some items missing from creative tab and JEI, even though they can be obtained in survival and do have recipes.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Mob Notifier For Players

Enviiyon: Need help on how I could create a script that would check every so often if a specific mob is within a certain number of blocks of the player and notifies them via chat along with a notif noise if that specific mob is found <:SadFingerguns:751170036437221516>

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

world generator (normal, random seed) with e.g. item right click?

sober sam: specifically, a custom item which can generate a world (preferably normal, random seed) to then enter and it deletes once players have left?

๐Ÿ’ฌ 1 • 1.20.4 • Fabric • 

Most Unhinged Idea I've Ever Had

Skemech or something: Could it be possible to make sheep shoot out warden blasts? (was a thought I had to make the game weird and difficult for no reason)

๐Ÿ’ฌ 4 • 1.19.2 • Forge • 

Confused about whats going on here (cancel block place)

binaryclock03: I have this block place event that Im trying to cancel on specific conditions

๐Ÿ’ฌ 12 • 1.21 • Forge • 

how can i remove the kubejs identifier from my items?

TruMancow: Message not found

๐Ÿ’ฌ 7 • 1.21 • Forge • 

[LootsJS] Modifying an existing block's drop rates

LVMVS: How do modify this block to drop 1-4 nuggets instead of 2-6?

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Neoforge 1.21.1 - Adding KubeJS to my mods halves my FPS

Ice Cracker: Been building out a personal modpack and testing performance, see modlist below. This config has me at ~70 FPS @4k for a set location/rotation/time in a random world I generated. Simply adding KubeJS (no addon mods yet) drops me to ~30 FPS in the same spot for some reason, not really sure why. Can post logs if it would help.

๐Ÿ’ฌ 11 • 1.21 • Forge • 

how i can add effect in player?

Murilinho145: I'm playing around with kubejs and I'm having trouble applying potion effects to players. I imagine the player's typing isn't ServerPlayer.

๐Ÿ’ฌ 11 • 1.21 • Forge • 

What addon is needed to create custom ui?

NanChik: I want create ui where players can increase their attributes

๐Ÿ’ฌ 2 • 1.21 • Forge • 

hide JEI category

D.A.V.E.: I really cant understand the mess that is the Kubejs wiki articles on JEI categories. does anyone know how to hide a Recipe category?

๐Ÿ’ฌ 16 • 1.21 • Forge • 

How do I determine which block face in blockevents.rightClicked

QuiteQuiet7: Hi, kind of a beginner, i know how to add & remove recipes, but it's my first time working with Blockevents.

๐Ÿ’ฌ 13 • 1.20.1 • Forge • 

How to add attributes to armor?

Skenny: Hi! I want to add Attributes to some of the armour in my mod. How would I start going about that? I have no idea what the code would be, even after reading the entire wiki

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Teleportation vector optimization and collision to end teleportation

dylpnaner: Ive been trying to make a teleportation stick that teleports the player 10 blocks in the direction they are looking, or in the direction they are looking until the teleportation would collide with a block. Ive brute forced some of the code, but it is far from optimized or efficient nor does it include the collision detection. I could use some help, as I am awful at vectors as well as JS as a whole.

๐Ÿ’ฌ 4 • 1.20.1 • Fabric • 

how to add recipes to the ExtendedAE's ME Caner

MatsuKari: I want to add a recipe for ME Caner from ExtendedAE that inputa some amount of fluid honey + a glass bottle and outputs a honey bottle. Minecraft 1.21.1

๐Ÿ’ฌ 6 • 1.21 • Forge • 

trying to add a milling recipe with a chance output

Red The Woof: ```ServerEvents.recipes(event => {

๐Ÿ’ฌ 75 • 1.21 • Forge • 

playerdata reset on death

Imp: i want to make a server script that deletes a players playerdata on death! I realise it would have to kick them too. Any pointers? Im very unfamiliar with KubeJS scripts

๐Ÿ’ฌ 15 • 1.20.1 • Forge • 

Create KubeJS Heated tank

Aralim: Hello everyone, question:

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Trying to create block reinforcement thingy

Anonymous: Im trying to make a system where you can right click a block with a special item and it'll make it require additional breaks to actually break

๐Ÿ’ฌ 7 • 1.20.1 • Forge • 

Edit blocks

egg: Is there any way to edit existing blocks from other mods? I want to make it so that I can place `garnished:sepia_fungus` on top of `farmersdelight:rich_soil`

๐Ÿ’ฌ 15 • 1.21 • Forge • 

Need help with custom block

qwerty97475: Currently i'm adding a "clay cooking pot" as a step in crafting a cooking pot from FD

๐Ÿ’ฌ 12 • 1.21 • Forge • 

Two events for a trigger to happen

KayZiomalek: Basicly i just wanna know if it is possible to have 2 events to have as a OR/AND to trigger an event. Example: complete advancement A or B to unlock thing C, have advancement A and B to unlock thing C. Also I tried looking for something like this but couldn't find it.

๐Ÿ’ฌ 13 • 1.20.1 • Forge • 

Still Looking for an Artist to help design some items for me

Shugabrush: Is there anyone available to help design some things for my modpack?

๐Ÿ’ฌ 10 • 1.20.1 • Forge • 

Prevent/Remove End Portal in End Entirely 1.20.1

Rage: Is their a way to have KubeJS completely disable the End Portal in the end and maybe just keep the Bedrock Post where the Dragon Egg spawns on top.

๐Ÿ’ฌ 5 • 1.20.1 • Forge • 

Emit events such as entity_die

Blk Wolf: I want to know how to emit events primarily the `entity_die` event if at all possible

๐Ÿ’ฌ 38 • 1.21 • Forge • 

FTB XMod Compat Custom ID

Sussy Baka: I try to add custom task to my quests but this is not working

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Changing custom tool mining level

imBL4CK: I was trying to change the mining level of my tool (to diamond) but without success, could someone point me to the problem?

๐Ÿ’ฌ 2 • 1.21 • Forge • 

Showing 100/10437 posts