Support Tickets


This page is still WIP!

Kubejs assets change item and block texture, but not item's name in selected language

kirgirbir: Hello. I wanted to rename all amethyst-related stuff into clear quartz, and change their texture to white. The item textures did change, however, their names did not. I am using latest available KubeJS version on 1.21.1

💬 2 • 1.21.1 • NeoForge • 

Adding effects are removed next tick

Wolfie: When the blue stuff is consumed, effects are granted, but `kubejs:high` is missing. I then ran `/effect give Wolfieboy09 kubejs:high 10` to test the effect expiration for `kubejs:overdose` to appear afterwards, and when the effect is granted, it expires the next tick.

💬 2 • 1.21.1 • NeoForge • 

how to make an effect have a chance to apply when another effect is applied

ramavonvee_42261: e.g. make poison have a 20% chance to apply when the resistance effect is applied on the player

💬 1 • 1.20.1 • Forge • 

Itemstack Component Modification

ShadowzOfTheDark: I am trying to read and write information from an itemstack's `minecraft:custom_data` component field but am having a hell of a time finding any information on what methods to call to do it it. Basically I want a "charge" value to increment on each use and then do something once reaching a high enough charge level. Also reset when released before hitting the required charge level. That's all easy though once I know what methods to call to actually get anything done.

💬 3 • 1.21.1 • NeoForge • 

Custom Crafting Table Opens GUI, But Recipes Don't Work

Koschi: Also items left in the table disappear when exiting

💬 4 • 1.21.1 • NeoForge • 

Add blocks to a tool

ILikeGamesToo: How do I make certain blocks harvestable with a tool?

💬 2 • 1.21.1 • NeoForge • 

changing mining level of a custom tool tier doesnt work like the docs say

the eeper: hi, i'm making a custom tier and for some reason, the mining level attribute wont work, and returns the error: `Error in 'ItemEvents.toolTierRegistry': dev.latvian.mods.rhino.EvaluatorException: Java class "…kubejs.item.MutableToolTier" has no public instance field or method named "level"`

💬 3 • 1.21.1 • NeoForge • 

FTBQuests x KubeJS

bungabunga: Hey guys, just trying out some new stuff and I'm very new to this

💬 2 • 1.21.1 • NeoForge • 

custom modded item type

colabubble: i'm trying to add a custom item of an item type added by a mod. how do i go about doing that?

💬 34 • 1.21.1 • NeoForge • 

[Performance Issue] HighlightRenderer consuming ~6–7% of the Render Thread

Sund: Hi! I’m investigating a persistent client-side performance cost related to KubeJS on a large NeoForge 1.21.1 modpack.

💬 5 • 1.21.1 • NeoForge • 

CreateItem.of() for a stack greater than one item

Plazzy: Super quick one here.

💬 4 • 1.21.1 • NeoForge • 

Modifying loot tables doesnt apply before manual /reload only some times with lootjs

Cashhew: i changed some loot tables with lootjs and they sometime fails to apply and when i do /reload it works right after? any solutions?

💬 2 • 26.1.x • NeoForge • 

clayworks kiln and overgeared tool casts

NotNagato: hi im trying to get the kiln from clayworks to work with the tool casts from overgeared. i cant seem to get the nbt data of the clay tool cast as an output and just get ones without any nbt data. if anyone knows how to do this it would help alot ty (i added the nbt line im not sure what else to do at this point)

💬 3 • 1.21.1 • NeoForge • 

Cant remove recipe that has no id??

Jadenchatter: I am using kubejs immersive engineering and there si a few recipes i cant remove and have no id. They still work so im at a loss here. What do i do?

💬 2 • 1.21.1 • NeoForge • 

Make animals spawn in packs/herds and wander in the world following a leader or just move as a group

Bakhnod: My idea is that minecraft made animals kinda boring, and I want to make them more realistic/interesting for my modpack. Is it possible somehow with kubejs/enityjs to make animals like sheep, cows, etc.. spawn in groups and they would move as a herd? I want to make it feel as natural as possible so no I do not want it like "random animal group spawn every 10 min in 100 block radius" or anything like this. they would spawn in their designated biomes, and also would be limited so there would be not too much animals. Can anyone help me how could I achieve this? I cannot find a good solution for it.

💬 1 • 1.20.1 • Forge • 

Exitcode 9

Legomountain14: https://mclo.gs/5WccPx6

💬 36 • 1.21.1 • NeoForge • 

Make a mob get tamed if killed with a certain damage source

kimaris: Hello, I was wondering if there's a way to make it so a mob gets tamed when it's killed by a certain damage source. (In this case, the owner would be the player that killed it with said damage source)

💬 18 • 1.20.1 • Forge • 

NativeEvents startup or server?

Liyumi: I’ve read that it’s better to put NativeEvents in startup scripts, but they work fine in server scripts for me too, without any errors. Is there actually any difference?

💬 3 • 1.21.1 • NeoForge • 

Tooltip with stack size

Legomountain14: I'm trying to make a currency system with different tiers of coins (original, I know.) and I'm trying to make the tooltip show the value of the entire stack instead of the individual item.

💬 5 • 1.21.1 • NeoForge • 

Using tags to simplify recipe gen

Plazzy: I'm currently trying to make a series of recipes to turn clumps into dusts using Create milling. I want to be able to cross-reference material tags in order to limit the use of hard-coded lists in my code.

💬 142 • 1.21.1 • NeoForge • 

How to make a material variant of a weapon

Dantillean | Wind Spirit: I'd like to make material variants of weapons added by a mod to my pack.

💬 15 • 1.21.1 • NeoForge • 

How do I add an existing modded item to JEI?

Mushroom: The item in question is Shadow Steel from the Create mod. I made a recipe for it, the recipe works and if you add the item to bookmarks you can view it, but the item itself does not display in JEI's main side panel or search.

💬 8 • 1.20.1 • Forge • 

Newbie queston. How to transfer/copy tags of one item to another?

eidoritsu: For example, how do you get all tags of "minecraft:pickaxe" and add them into "custom:new_pickaxe"?

💬 1 • 1.21.1 • NeoForge • 

Newbie questions for setting up admin shop

✨Fi✨: Not trying to do anything special, trying to mostly just copy and paste code, I myself have never use kubejs before so was just confused. I have used things like craft tweaker however extensively.

💬 7 • 1.21.1 • NeoForge • 

loot table need h elp

Apple: LootJS.modifiers((event) => {

💬 2 • 1.20.1 • Forge • 

How to apply an effect when another effect has completed

Wolfie: On `MobEffect` 1.20.1, you can override `removeAttributeModifiers` for when the effect is done. How can I run some code on the entity after it ran out?

💬 3 • 1.21.1 • NeoForge • 

how to change stats and tiers of equipment?

Arborescent: hi! I'm trying to change the aether dimension so that diamond tools are the aether equivalent to wood, and the tools only go further above diamond. But I'm having trouble trying to actually change this equipment, let alone the tier requirements of the blocks themselves. Could I get some help? Here's the code I'm working with, it's based off of the official documentation since that's the only thing I have to work off of. And the error I get when trying to load ingame

💬 1 • 1.20.1 • Forge • 

Automated brewing recipes

Henka: Is there a way to make potion brewing recipes work with Create's automated brewing recipes?

💬 1 • 1.21.1 • NeoForge • 

kubejs says my custom item doesn't exist

blockmath: - i register a tool tier in the tool tier registry with a repairIngredient of `kubejs:platinum_ingot`

💬 5 • 1.21.1 • NeoForge • 

entity interact based on level and main hand and off hand item

ramblin: im trying to get an an item output when interacting with an enemy while having a certain amount of levels and a specific item in the off hand (place holder items). At the moment it works and gives the player the output but only considers the entitiy requirements not the level or off hand requirements

💬 3 • 1.20.1 • Forge • 

Custom entityjs model rotation?

AliceTheKitsune: Hello! I'm using 1.20.1 forge with entityjs 0.7.3

💬 6 • 1.20.1 • Forge • 

randomTick override in JavaAdapter working in 1.21.1, not working in 1.20.1

MiniMaxi: I am using the exact same script in 1.21.1 and it does as expected, it grows my custom buds

💬 65 • 1.20.1 • Forge • 

How to make Block not Ragdoll with Explosion Overhaul Mod

RARE PANDA: ```js

💬 5 • 1.20.1 • Forge • 

.setModelJson and .setBlockstateJson don't work

SpaceCat: What is the new version's equivalent to these functions

💬 4 • 1.21.1 • NeoForge • 

Replacement of specific items when entering player or tile-entity inventories

✧ 𝕜𝕒𝕣𝕪𝕠𝕥 ✧: couple questions that im still confused about after reading docs:

💬 2 • 1.21.1 • NeoForge • 

Recipie Toggleing

UltraGamer: Im trying to make a script where i can toggle all of the recipes from a mod, and re activate them with a command. I want to do this to integrate with FTB quests, so it becomes less of a guide and more of a restriction. So far ive only found ways that would require a script and /reload. Please let me know if you know a way. Thank you.

💬 2 • 1.21.1 • NeoForge • 

making a jar (or a datapack?)

ProfDrSabschnaak: This might be a big dumdum question, but how do I make my kubeJS scripts all go into a jar that's useable in the mod folder? Is it a straight forward thing to do? Is it even the thing one should be doing with the scripts? I just see a lot of mods having KubeJS as a dependency, so I figured it should be possible somehow, but I cannot find anything here

💬 13 • 1.20.1 • Forge • 

how to remove apotheosis loot drops from specific entity 1.21.1

Beezy: hi guys, very new to kubejs/lootjs and it seems as if though apotheosis adds some more complex/annoying hooks for loot drops. How do i go about removing specific entities from dropping all apotheosis loot altogether?

💬 2 • 1.21.1 • NeoForge • 

Opening a chest from far away

RARE PANDA: How do i open a chest or right click any block from far away if I already have a way to get the block object.

💬 1 • 1.20.1 • Forge • 

Container item triggering when crafting with durability

Not Obama‼: I'm making a spray can as a crafting ingredient, the idea is for it to have durability when crafting with it, and getting back the empty can back when it "breaks"

💬 2 • 1.20.1 • Forge • 

PersistentData deletes itself on player death and registered wrong (BUG)

RQ: This for me is a new occurence that never happened before, but maybe Forge getting updated caused this to happen.

💬 22 • 1.20.1 • Forge • 

Make Water buckets eatable

Samy: If I make a bucket eatable. it tries to place water. Is it possible to stop that behavior?

💬 7 • 1.21.1 • NeoForge • 

LootJS - Trying to replace mob drops

not: `server_scripts/loot.js`

💬 12 • 1.21.1 • NeoForge • 

Help with backporting my own script from 1.21.1 that somehow breaks with KJS 1.20.1 - 2

MatsuKari: ```JavaScript StartupEvents.registry('item', allthemods => {

💬 24 • 1.20.1 • Forge • 

type argument no working on recipes' event.remove

Kito (Ping me): The `type` filter doesn't work for recipe removal.

💬 4 • 1.20.1 • Forge • 

Lootjs loot tables need help

Junior: I've seen a bunch of other tickets with no responses. Anyways how do you make custom loot tables with custom items. I'm using TacZ, Fracture Point, and Zombie Extreme

💬 2 • 1.21.1 • NeoForge • 

Limit max items in player's inventory?

Potato: I know it's possible to change stack size, but is there a way to limit the **total** items of a type with a script? ex. if the player has 64 arrows in their inventory they can't add any more into their inventory.

💬 5 • 1.21.1 • NeoForge • 

Cannot change damage of a damage event?

Scarlet: I am trying to make a script that basically negates the benefits of a damage buff in pvp because it is too op. I am doing this by getting the value of the attribute modifier and subtracting that from the damage. However when I try to set the damage nothing happens. How do I set damage?

💬 5 • 1.20.1 • Forge • 

The Creative menu editing feature is broken

Lord Zif Tech: I wrote out the lines by hand to specify what to remove and what to add.

💬 4 • 1.21.1 • NeoForge • 

How do I make this more natural?

Rhioost: Message not found

💬 13 • 1.20.1 • Forge • 

Script don't work on server

MyDarknessKeeper: My script correctly work on single player, but then I put it to the server, it doesn't work :с

💬 13 • 1.20.1 • Fabric • 

why no texture?

Skemech or something: Here is the script used

💬 14 • 1.20.1 • Forge • 

Cobweb-like leaves

Skemech or something: Here's the script I came up w

💬 17 • 1.20.1 • Forge • 

How to modify duration of potion

Eltrut: I was able to find how to modify the effects given for a general consumable, but is there a way to modify the duration of a specific potion? Using data components for this seems way too hacky so I'm not sure if there is a better way.

💬 14 • 1.21.1 • NeoForge • 

how could I replace an item with specific nbt to the same item of a different nbt?

hiccupwarrior89: I'm wanting to disable certain settings in modular routers which are stored in the item id

💬 13 • 1.21.1 • NeoForge • 

How to make custom particles get affected by light?

fereroroche: Just want them to get darker like other particles. tried using particle.rendertype but that just makes them not render anymore. heres the scripts.

💬 12 • 1.21.1 • NeoForge • 

is there a completed wiki wilted flower emoji

radilime: is there a feature complete wiki for any version of this mod or do you just pray the sub1.19 one has an obscure use of an event that appears in only one subpage you want to use if you're lucky and if it ends up having different syntax or not working on the version you're on you just kill yourself

💬 11 • 1.20.1 • Forge • 

general scripting help/advice?

4th dimensional adam: you can kinda see from the title.

💬 25 • 1.21.1 • NeoForge • 

How can i restrict an item to a specific dimension ?

DaShroom: I want to restrict X item to the aether dimension only. Meaning that i want it to be able to be placed only in the aether dimension. I m on version 1.20.1 and i don't know batcrap about KubeJS, but i was recommended here to find a solution. If possible, i'd also love for it to show some message that explains where it needs to be used. Is it possible to lock it behind certain times in the day?

💬 8 • 1.20.1 • Forge • 

how to make it snow in liminal industries

bad name: i'm trying to make a custom pack for liminal industries where all the rooms spawn with snow in them and snow piles up as well if it's not heated but i don't know how to do that because it's all inside

💬 1 • 1.20.1 • Forge • 

Data folder problem?

bungabunga: Hello,

💬 1 • 1.21.1 • NeoForge • 

Custom Structures with KubeJS?

rag: Is it possible to make custom structures with KubeJS, with custom loottables?

💬 8 • 1.20.1 • Forge • 

Dynamic assigning of Items to Jsons

Pink Hoodie: So, if I understand correctly, our goal is to:

💬 47 • 1.21.1 • NeoForge • 

dynamicTooltips placed below everything else

Sleepyhead: Hello, i'm new to kubejs and am stuck on this one.

💬 4 • 1.21.1 • NeoForge • 

Can i use kube js to replace the entirity of fe?

Strealstud: so im working on a pack and i want to make most of the mods in the pack use a tiered energy system instead of regular energy kinda like mi or greg would this be doable with kubejs and addons, or would this have to be a mod (sorry for spelling errors, schools out and i dont have to use proper grammer)

💬 6 • 1.21.1 • NeoForge • 

Check isInFluidType by fluid tag instead of FluidType?

chimaeraUndying: Making fluids act on entities like lava (or other harmful substances). Currently what I've got working is

💬 5 • 1.21.1 • NeoForge • 

Sawmill recipes always have wrong input/output numbers

Train: ```

💬 6 • 1.21.1 • NeoForge • 

food reset

Mireruku: How can i reset the properties in foods? like stop making golden apples to apply effects or modded food

💬 12 • 1.21.1 • NeoForge • 

Adding items to JEI

Po: I'm using a mod that adds 1 item and even though it has a recipe its not in jei, is there a way to add this item to jei with kubejs?

💬 2 • 1.21.1 • NeoForge • 

How can I make the anvil use only 1 book?

NPNotTvink: I made enchanted books stack in stacks of 64. However, a problem has arisen. When enchanting an item at an anvil with a book, the entire stack of books is consumed instead of just one. How can I fix this?

💬 1 • 1.21.1 • NeoForge • 

infinity cell

Anonymous: A infinity cell for cobbled soulstone

💬 8 • Unknown • Forge/Fabric • 

recipe quest

TugkanDeMan: hey how can i make recipes unlocked through ftbquest reward in 1.21.1?

💬 2 • 1.21.1 • NeoForge • 

How to make a player unable to swim in a custom liquid/ (or change all of it's properties in gen.)?

fereroroche: Basically i dont want the player to be able to rise up from it.

💬 25 • 1.21.1 • NeoForge • 

Is it possible, to scale Boss Health with via current Player Health with KubeJS?

GamerPal: As example, if the Player has 30 Health, the Boss would have a Multiplier by 2.5.

💬 32 • 1.21.1 • NeoForge • 

MoreJS Villager Trades Don't Show in JEI

Southlight: The title is a bit of a misnomer. I have the attached script in my villager scripts, but that's not really the problem. The problem is that this script gets run by the server, but then the player client isn't running it when they join a multiplayer world because the server itself is running it, and for some reason with villager trades the client JEI doesn't get that info. It can be fixed by opening and leaving a singleplayer world during that play session, but that's obviously a terrible fix. Is there any way to resolve this?

💬 2 • 1.20.1 • Forge • 

is there a built in array that includes every wood type?

Neo: just curious

💬 100 • 1.21.1 • NeoForge • 

how do i replace an ingredient in anvil repair recipes?

Neo: i want to change this recipe to be a different ingot

💬 80 • 1.21.1 • NeoForge • 

Neutral entity becomes hostile only when player is close

Archmallow: Hi, I’ve checked and couldn’t find a similar example.

💬 2 • 1.21.1 • NeoForge • 

dynamic command autocomplete?

AnonymousMeowse: heya, i'm making some commands for a script i'm working on, and it allows an admin to create a list of stages (similar to gamestages/astages)

💬 1 • 1.21.1 • NeoForge • 

Making the player spawn in a different dimension (and custom dimension)

Wolfie: As part of my modpack's story, I want the player to spawn in a custom dimension and spawn a structure there (using a version of https://discord.com/channels/303440391124942858/1480035532133240953/1485290248039698484)

💬 10 • 1.21.1 • NeoForge • 

Jank-ass Create potato cannon item registries

Wayfarer (@✓ - Iron's Spells JS): https://github.com/Creators-of-Create/Create/blob/mc1.21.1/dev/src/main/java/com/simibubi/create/content/equipment/potatoCannon/AllPotatoProjectileBlockHitActions.java

💬 2 • Unknown • Forge/Fabric • 

Item breaks before block state can update. Help ;;

Farron: I've set up a script that will damage a flint and steel every time a campfire is lit.

💬 18 • 1.21.1 • NeoForge • 

how would I spawn photon vfx with kubejs?

hiccupwarrior89: like for example if I wanted to make a new block that spawns a vfx on place and removes it when destroyed

💬 1 • 1.21.1 • NeoForge • 

error when loading scripts

NotNagato: hi im using a script eyes put in example scrits and trying to make it work for 1.21.1 neo but i keep having this issue im not sure why its having issues loading this java class

💬 118 • 1.21.1 • NeoForge • 

How do I add all elements from a tag while excluding ones from another?

Bruno: Currently this is all I have and it doesn't work ```ServerEvents.tags('biome', event => {

💬 1 • 1.21.1 • NeoForge • 

Creating Mobs

IRBan: I have a question, im currently trying to recreate new mobs through kubejs. But it keeps crashing. I followed some of entityjs. But its still not working for me.

💬 7 • 1.20.1 • Forge • 

server - client sync startup

Po: is there a way to le players join a server if they dont have the same startup scripts? i wanted to add an item using kubejs without updating my pack but then i found out id have to update it anyway

💬 3 • 1.21.1 • NeoForge • 

Make Existing Mob Fly

marcnum2: I couldn't find much by searching through the discord, but essentially I'm trying to make a mob fly like a ghast, or even the end dragon. Much appreciate any help

💬 22 • 1.20.1 • Forge • 

is there any way to do this only for dye depot colours?

Neo: Message not found

💬 28 • 1.21.1 • NeoForge • 

server doesn't apply scripts, applied when in singleplayer

The Cheeseman: Exactly what it says, I just removed invisibility potions with morejs but they just don't work for some reason

💬 4 • 1.21.1 • NeoForge • 

Is there an addon or anyway to remove perfect gems recipe from apotheosis so I can edit it?

Wikter: I want to edit gems recipes but I just cant. I tried something like this but doesnt work.

💬 3 • 1.21.1 • NeoForge • 

General beginner help (cuz im dumb)

SauceOfficial2233: why is this not correct? i think its meant to be StartupEvent instead of whatever that thing is

💬 6 • 1.21.1 • NeoForge • 

Internal error?

pronounced Co-ru-sca-re: Not sure where to start with this

💬 72 • 1.21.1 • NeoForge • 

Cant add a custom flux to Industrial Blasting Kubejs TFMG

Gyatt gyatt ohio rizzler: Hello, im making modpack with TFMG and Kubejs TFMG, and then i editing recipe for Industrial blasting i noticed that you can add whatever first ingredient (like ore), and it works fine, but then you add second ingredient like limesand, flux, etc... recipe dont working, because furnace dont accept second item, and it just floating in furnace, but then you switch your second ingredient to default - tfmg:limesand, it been accepted and recipe is working.

💬 30 • 1.21.1 • NeoForge • 

How to remove or hide a specific Iron spell 'n' spellbook scroll and spell

LeanDreSpimS: Hi everyone,

💬 1 • 1.21.1 • NeoForge • 

How disable this tooltips?

BS|3310ツ: <:clueless:1234685992355500072>

💬 9 • 1.21.1 • NeoForge • 

How to set BProperties.of().mapColor(X)?

AiDSl: It crashs and give me this:

💬 60 • 1.20.1 • Forge • 

Modify item to be wearable

axii (ping me): I want to make an item wearable, specifically in the head curios slot if possible.

💬 2 • 1.21.1 • NeoForge • 

KJS Iron's Spells How To Return Target Info

Southlight: Hi friends,

💬 1 • 1.20.1 • Forge • 

Gravity

Skemech or something: can Kubejs give other blocks gravity like sand and gravel?

💬 20 • 1.20.1 • Forge • 

Showing 100/12432 posts