Support Tickets


This page is still WIP!

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

💬 4 • 1.21 • Forge • 

how to give coordinates to function

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

💬 5 • 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.

💬 2 • 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)

💬 8 • 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.

💬 1 • 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.

💬 2 • 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?

💬 40 • 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 • 

KubeJS Create addon not working?

Chef_BOI_Ardee: I'm planning on making custom recipes for my modpack using this addon, but no matter how I format the code it simply doesn't work. Custom sandpaper polishing recipes doesn't register, mixing recipes I add are non-existent.

💬 18 • 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 => {

💬 5 • 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

💬 1 • 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 • 

how to set player attributes by default?

NanChik: I want make player attributes less by default

💬 7 • 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

Anonymous: 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.

💬 10 • 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 • 

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 • 

Showing 100/10474 posts