Support Tickets


This page is still WIP!

3d item textures

Blasopher: I was wondering if it was possible to give custom items 3d textures like blocks have, because I am making multiple transition items for custom Create recipes and some of them result in placeable blocks, the item itself would not be placeable I just want to have it have a texture similar to its complete counterpart when held by the player.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

PowerfulJS Enhanced Campfires

PARVUS ๐‘ฎ๐‘ฌ๐‘ณ๐‘ผโ—†๐ŸŒธ๐ŸŒผ๐ŸŒน: I wanted to try something ambitious with PowerfulJS and show a friend something neat it can do. I already learned some exciting things about other methods and a few tricks.

๐Ÿ’ฌ 10 • 1.20.1 • Forge • 

Add scoreboard to tab

Van: Hello, how can I add scoreboard to player list (tab) using KubeJS 1.20.1 forge server

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Can't remove item

Gotve: Hello, I was trying to remove some items according to this tutorial

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Zoma's SwordSkill x Parcool Stamina Integration

โœถ: Hiya! Is it possible to make Sword Skills from [Zoma's SwordSkill](https://modrinth.com/mod/swordskill-mod) require a certain amount of stamina from [Parcool](https://modrinth.com/mod/parcool) to activate while using said amount upon activation? If so, how do I go about implementing this?

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

How to check if an entities bounding box is touching a block

Zetadrayzer: What I’m trying to do is to check whenever an entity/player’s bounding box is touching a block, I’m trying to specifically avoid using any .tick events because I want to make it multiplayer friendly is there anyway to make it so these type of logic is attached to x block instead of the player / entity ¿? My goal is here to give an effect to an entity once they are touching x block or if they are touching x block teleport them to another dimension

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

disable mekanism energized smelter recipes

Aceplante: I wish to disable some mekanism energized smelter recipes. Unfortunately, they seem to automatically copy all other smelting recipes, so how would I go about blocking this?

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Right click item give effect

๐““๐“ช๐“ป๐“ด_๐“•๐“ต๐“ช๐“ถ๐“ป: I tried looking into the kubejs wiki, but I don’t understand it so I was wondering if someone can help me to make a script:

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

This is my first real time using kubejs and I am trying to add a disk how do I do this right?

Gedsweyevr™: I followed everything here https://discord.com/channels/303440391124942858/1375175312148660386

๐Ÿ’ฌ 2 • 1.21 • Forge • 

[Solved] How to change item name and rarity for all items in a specific mod?

Demperor: I'm building a small modpack for my friends in 1.20.1. This modpack has mythic upgrades, which adds gems to craft OP items, but the modpack also has the Jewelry mod from the RPG series. I thought of the solution simply being to rename all the conflicting Mythic Upgrades gems to "Mythic [gemname]", but how do i do that?

๐Ÿ’ฌ 15 • 1.20.1 • Fabric • 

Valkyrie skies Dimension teleport

Sammich: Hola,

๐Ÿ’ฌ 17 • 1.20.1 • Forge • 

KubeJS Create Fluid Ingredients

X_ZYLE: This recipe works just fine with item ingredients, but as soon as I try to use fluids for the ingredients it breaks.

๐Ÿ’ฌ 5 • 1.21 • Forge • 

Need Help Rendering Players Head With Painter

Space_Mex: here is how i set it ```js

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Extended Crafting Item Consuming

.pickle: So I know some recipes you can make it not consume the items and make them reusable, how would I do this for all types? Tried one for combination but couldn't seem to get it to work or is it not possible in Extended Crafting?

๐Ÿ’ฌ 1 • 1.18.2 • Forge • 

unremovable custom effect

stonedgoldfish: how can i make a custom potion effect that cannot be removed by drinking milk?

๐Ÿ’ฌ 5 • 1.20.1 • Fabric • 

1.21.1 please help me with a script that is supposed to simulate silk touch.

G4l7n: So, I am making a script that makes diamond and netherite pickaxes specificly drop the same items as they mine. I understand nothing about coding, and I used ChatGPT, but since ChatGPT code is not allowed here, I can't upload it. Pretty much used BlockEvents.broken(event => {... , then checked if the tool is diamond or netherite pickaxe, if yes, began working on replacing the dropped block with the same block as the broken block. The idea is that if you break something with diamond or netherite pickaxe, it gives you the same block, like silk touch. If you ask me why, I want diamond and netherite pickaxes, in my modpack, to be silk touch, and I use justhammers mod for bulk mining, It makes it more realistic to have high tier solo block mining pickaxes mine precisely when you have 5x5 hammers. So, can anyone help me with the script, please?

๐Ÿ’ฌ 10 • 1.21 • Forge • 

Recipe for fluid collision similar to a cobble gen?

babyaintmoe: Hi! I would like to ask if KubeJS is able to create in-world recipes for fluids that get into contact with each other, similar to a cobble gen.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Gain an effect when attacking or killing mobs with a specific weapon

LgndTheDredgen: Can't figure out how to give effects to a player when they kill a mob with a specific weapon or weapons

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Is there a way to stop a block from generating?

plasticcarrot: Two mods im using (waystones and a village mod) have a conflict and the "do not spawn waystones in villages" feature isnt working. Is there any way I can disable a specific block from naturally generating?

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Can I define my custom event๏ผŸ

Frelia_ASM: I'm currently looking to implement the following requirement:

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

KubeJS Create Fluid.of not working

Mesrszmit: I tried making a recipe with this code

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Bombs

AnderZytolga: I'm trying to make a custom bomb item, and I am struggling. Just a simple item that works like a snowball that explodes when it lands and all I have is the item :/

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

code works on test pack but not on main pack

Creepy_Forest: ```js

๐Ÿ’ฌ 9 • 1.20.1 • Forge • 

kubejs create chance based outputs 1.21.1?

Mesrszmit: since .withChance doesn't work anymore, and the wiki hasn't been updated, how do i add chance based outputs to kubejs create scripts?

๐Ÿ’ฌ 2 • 1.21 • Forge • 

EntityJs bug

A Stable Individual: Hi there, just reporting a bug i found with entityjs. I have a custom enity that ive made. In single player it works fine. Spawn and does its thing.

๐Ÿ’ฌ 10 • 1.20.1 • Fabric • 

Replacing Create Sequenced assembly inputs

D.A.V.E.: I'm trying to swap out an input in a Sequenced assembly recipe. while the input items change the items deployed onto it does not

๐Ÿ’ฌ 5 • 1.20.1 • Forge • 

Recipe books

Cr0w37: Hi, I'm trying to put recipes on books that can be found throughout the world and when right clicked on the player unlocks the recipe. I know how to restrict the recipes with a mod called Astages but I do not know how to apply a recipe to a book or make it an advancement. Any help would greatly appreciated. Thank you!

๐Ÿ’ฌ 29 • 1.20.1 • Forge • 

Custom Nbt?

๐““๐“ช๐“ป๐“ด_๐“•๐“ต๐“ช๐“ถ๐“ป: Is there a way to add a custom nbt to an item, I am adding an ammo_blueprint for TacZ and I didn’t want to make an item for every single ammo, so like have a .45 ACP nbt put onto the item? Sorry if this is a stupid question, I’m brand new to this

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

I need a help to Hide some itens on JEI

Vaaaaz: ```js

๐Ÿ’ฌ 3 • 1.20.1 • Fabric • 

Convert string to NBT?

mo_mo (ping me): Is it possible? Something like `NBT.fromString(someString)`? I'm aware of NBT.toString() but not the other way around.

๐Ÿ’ฌ 8 • 1.20.1 • Forge • 

damage item depending on block hardness

EinBurgerMeister: ```js

๐Ÿ’ฌ 12 • 1.20.1 • Forge • 

how would I detect if the block I right click on is a door? (and which part of the door)

duck: I made a reinforcement script, and I save some data to a key which is the coordinate, but since a door is 2 blocks if I reinforce the bottom and break the top it breaks the door even tho it should share the reinforcement value

๐Ÿ’ฌ 5 • 1.20.1 • Forge • 

[1.21.1] KubJs 7.2 Game and world not loading.

Fers: After installing the latest version of the mod, a previous world saved is not loading.

๐Ÿ’ฌ 12 • 1.21 • Forge • 

How to give a loot table to a block, without LootJS.

Vexฬธฬฟอ‡xen: I feel so dumb... setLootTable, and setLootTableJson are not working!

๐Ÿ’ฌ 3 • 1.20.1 • Fabric • 

Can I change a text or a color of text via kjs?

absolutely not wawa: I doing system that allows player to choose a subclass of mage (electromancer for example) and can I change the already written message?

๐Ÿ’ฌ 7 • 1.20.1 • Forge • 

Help a Noob with making a Sequenced Recipe

BlazingDeck :D: I need to make a Sequenced recipe that includes modded items

๐Ÿ’ฌ 46 • 1.20.1 • Forge • 

Ars Nouveau Addon not working properly

LVMVS: I added a custom imbuement recipe in my game, but I can't remove the old one.

๐Ÿ’ฌ 3 • 1.21 • Forge • 

Preformance Impact of KubeJS

beannn: Hi, I have a question, I want to know how overly massive scripts can impact preformance, I used Sparks TPS tool but unless I did something wrong it didn't monitor KubeJS's thread usage.

๐Ÿ’ฌ 8 • 1.20.1 • Forge • 

[KJS7.2]Crash with Touhou Little Maid 1.4.1 or Create 6.0.6

Infinistar: Game will crash when KJS 7.2 installed with Touhou little maid and Create mod.

๐Ÿ’ฌ 11 • 1.21 • Forge • 

Another KubeJS 7.2 incompatibility :D

Kieran // OperatorTriz: I dont know if this has be sorted through KubeJS or through the mod itself, i just seen ye collecting the reports of it, so im posting at both places.

๐Ÿ’ฌ 7 • 1.21 • Forge • 

Game crashed

DSans404: I got crashed after update kubejs and it seem have problem with Modern Industrialization mod.

๐Ÿ’ฌ 7 • 1.21 • Forge • 

Intercepting messages

Ekazuya: I'd like to know if it's possible to change these messages that appear when playing with armageddon mod.

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Prevent/Allow a mob to control another one

Zetadrayzer: Anyway to prevent/allow a passenger (rider) mob from controlling x mob? for example allow a zombie to control a ghast, or prevent a husk from controlling a horse

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Internal Errors with latest KubeJS version

Hex Maniac Lucy: https://mclo.gs/eYeAk8D

๐Ÿ’ฌ 37 • 1.21 • Forge • 

Adding delta movement or motion to a player doesn't work

SpicyMayo: ```js

๐Ÿ’ฌ 9 • 1.21 • Forge • 

Adding armor attributes to modded armor.

pimst: Hello, I want to add an attribute from one mod to armor from an other mod, I followed an tutorial exactly (but only with the names and the actual attribute i want changed) and it did not work can somebody please explain how I can moddify

๐Ÿ’ฌ 36 • 1.20.1 • Forge • 

How to carry over data

Fard: Hello i'd like to find out how to (if it's possible) carry over data such as slime size or held item from a killed mob to a newly spawned one

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

How to carry over mob data

Fard: Message not found

๐Ÿ’ฌ 2 • 1.21 • Forge • 

code works on test pack but not on main pack

Creepy_Forest: ```js

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

Recipe with varying amounts of items

PierogiPL: is it possible to make a shapeless recipe that

๐Ÿ’ฌ 2 • 1.20.1 • Forge/Fabric • 

can someone help me make a script? I am a complete beginner at Java script

ZhanBr0: I need to make a recipe, one only

๐Ÿ’ฌ 27 • 1.20.1 • Forge • 

CHECKING MOD'S MOB ID

Kwaven: How can check mob's id of mod, here is the code

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

KubeJS 7.2 Release Bug Thread

Lat: Making one large thread to list all current MOD ISSUES (not scripts). It's a massive rewrite, lots of bugs are bound to show up at first

๐Ÿ’ฌ 18 • 1.21 • Forge • 

how can i remove brewing altogether

TugkanDeMan: how can i remove brewing altogether

๐Ÿ’ฌ 6 • 1.20.1 • Forge • 

Is there an easier way to make commands?

DaddySpin: So I made a custom command but it's a massive file and I'm wondering if there is an easier way to do it? Mind you there is nothing wrong with the script, it's just extremely annoying to maintain and add to it.

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

Play custom kubejs registered sound when FTBQuest completed

shockraid: Hello, I was wondering if I could write a script that allowed for a custom .ogg file to play when completing a specific quest.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

get FTB Teams player's team online player list

Shadownrun: I've been struggling with this for hours now...

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

Is KubeJS-Mekanism not compat with 7.2?

xTsuSaKu: If I enabled KubeJS-Mekanism it broken

๐Ÿ’ฌ 5 • 1.21 • Forge • 

Kubejs 7.2 stuck on the startup screen

Drowning Fish233: https://mclo.gs/k0aGczc

๐Ÿ’ฌ 8 • 1.21 • Forge • 

event.remove({ output: X }) seems to be broken?

qwerty97475: ```js

๐Ÿ’ฌ 61 • 1.21 • Forge • 

Error parsing recipe

qwerty97475: ```js

๐Ÿ’ฌ 12 • 1.21 • Forge • 

Do i need the startup scripts and textures on server and client side?

LearnJava: I don't know i think i can have it on server and on connection to server i download the textures ?

๐Ÿ’ฌ 5 • 1.21 • Forge • 

code works in test pack not in main pack

Creepy_Forest: ```js

๐Ÿ’ฌ 5 • 1.20.1 • Forge • 

kubejs 7.2 crashing

KurotsukiOnArch: https://mclo.gs/Op9L7V8

๐Ÿ’ฌ 10 • 1.21 • Forge • 

How to remove items from inventory?

BE2333: As title. One of our OP accidentally gave some players a admin tools “touhou_little_maid:owner_conversion_tool”, and I trying to remove it from player's inventory now.

๐Ÿ’ฌ 5 • 1.21 • Forge • 

removing tags

TugkanDeMan: how can i remove that tag from wool?

๐Ÿ’ฌ 6 • 1.20.1 • Forge • 

How to texture stairs sides differently

kris: I want to give stairs a different texture on top and bottom but it doesn't work.

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Take items out, and put items into a block entity.

Vexฬธฬฟอ‡xen: As i said, i have a block entity that has items, i want to insert items, and remove items from it, with a filter on the items removed(via ID & NBT), and insert a item with NBT.

๐Ÿ’ฌ 1 • 1.20.1 • Fabric • 

bug not letting my friend join my game

|•{๐”…๐”ฆ๐”ฌ๐”Š๐”ฅ๐”ฌ๐”ฐ๐”ฑ๐”ข๐”ฏ}•|: so me and my friend have been playing a modpack for a while now and the other week he had to factory reset his computer because certain games were just turning the computer off, since getting it back up and running we have tried playing the pack together again and i made sure we had the same one installed same version and everything but whenever he tries to join he gets this error message. (see image)

๐Ÿ’ฌ 18 • 1.20.1 • Fabric • 

I've created a custom template and tooltips and I want to link them to language files.

HAELo: I created a custom template and added tooltips.

๐Ÿ’ฌ 6 • 1.20.1 • Forge • 

Making slimes immune to melee & ranged attacks

Pakaru: Basically, I want to make Slimes truly slime. Swords can swing through them but never damage them, as they immediately reconnect. Arrows wont work either, the slime will just make the arrows stuck. Only way to damage them should be magic or fire. Common fantasy trope says slimes are the weakest enemies, but I think not.

๐Ÿ’ฌ 1 • 1.20.1 • Fabric • 

item texture

TugkanDeMan: how can i give the custom liquid bucket a different texture

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Remove living entity's main-hand item and drop it - 1.20.1

Ayeloo: I want to create a mob effect that is triggered when the affected entity takes any damage. Here is my code:

๐Ÿ’ฌ 6 • 1.20.1 • Forge • 

Recipe using tool only working when tool is full durability

sleeves: I have a manual ore-crushing recipe using NBT data to match any hammer from tetra (a tool customization mod), which then damages the hammer upon craft. The problem is that it only works when the hammer is full durability, which I find strange given the tool match is using weakNBT. Here are the relevant lines:

๐Ÿ’ฌ 16 • 1.20.1 • Forge • 

tree extractor

TugkanDeMan: can i add custom recipes for the thermal expansion tree extractor

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Modifying attack damage not displaying properly

Aceplante: I was able to "successfully" modify the damage, durability, and attack speed of an item, but it displays in blue text instead of the normal way weapons are supposed to?

๐Ÿ’ฌ 29 • 1.20.1 • Forge • 

iron spells spellbook restrict

Saiton: Is it possible to make iron spells' spellbooks have the tiers that iron spells have and then when you try to add a spell to the spell book, it checks the tier and displays an error if the spellbook is a lower tier than the spell, cause angel wings is really overpowered but i don't want to outright remove it (also some other balancing things). Is this feasible in KubeJS (with Iron Spells, addon if needed) or do I have to make a mod/erase angel wings?

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

burn time

TugkanDeMan: im editing the burn time of coal items, all the other ones work but the quark one doesnt for some reason

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

How do I make a custom effect harm the player with a specific damage type?

PeterTheGM: ```

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Adding a structure

AGoodTaco: For the modpack I'm making, I've created a custom dimension that I spawn the player into. This dimension is meant to spawn a structure at the center of the world. The structure is there when I use /locate but nothing is generated

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

Is there any possibilities to keep ingredient in smithing recipe?

kcino: I want to ask if there is any chance to make a recipe in smithing table without using one of the ingridients, I tried with .keepIngredient and .damageIngredient

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

NeoForge tiers

Alazi: I have a script from example-scripts for 1.20.1 forge that (obviously) doesn't work on 1.21.1. Can I modify it to make it work without rewriting it from scratch?

๐Ÿ’ฌ 6 • 1.21 • Forge • 

Is it possible to create other dirty and clean slurries for other ores (Aluminum and other stuff)

Yurik: Im using the mekanism addon for kubejs 1.20.1, Im doing a unified ore system via Kubejs across a bunch of tech mods, one of those things is creating custom slurries for ores like aluminum, nickel, and other mods. How to do it?

๐Ÿ’ฌ 18 • 1.20.1 • Forge • 

thermal vision?

Cr0w37: is it possible to make mobs see players based on the player temperature? for example I'm using legendary survival overhaul and I want to make spiders only see me if I'm warm hot. I don't know if this is possible tis why I'm asking

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

renaming recipe type

TugkanDeMan: is it possible to rename "Polishing With Grinding" to something else?

๐Ÿ’ฌ 12 • 1.20.1 • Forge • 

[PowerfulJS, KubeJS Iron's Spells] Is there any way to put Iron's Spells on Curios?

ManaMouse: I've been working on a pack with both Iron's Spells JS and PowerfulJS, and I want to grant the player spells by wearing certain curios-Example, an eye of ender in a custom curio slot granting the player an extra spell to their selection.

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

Need help inserting custom dungeon maps into loottables

Vaporeon: as far as im aware this isnt possible using datapacks, as i tried using the nbt tag but it seems to be a perworld thing and will only work once (as the map number changes) so is this possible using Kubejs?

๐Ÿ’ฌ 5 • 1.20.1 • Fabric • 

a question about understanding connectivity between client and server

SpicyMayo: What would happen if for example i added a keybind, and i wanted so when the player presses that keybind he will gain for example mana from iron's spellbooks. If i put the activation script in client scripts would it properly work on a multiplayer server? Or do i have to put it in the server script and hope to god there is absolutely no delay? Will the client script know to send the mana request to the server?

๐Ÿ’ฌ 3 • 1.21 • Forge • 

Return armor with nbt

absolutely not wawa: Message not found

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Hello, I have a problem with how to generate/block structures.

opdomi_offiziell: I want to work with Mods Kubejs

๐Ÿ’ฌ 1 • 1.21 • Forge • 

item right click doesn't trigger for some modded items

duck: this event doesn't run when rightclicking with cuffed:handcuffs for whatever reason.

๐Ÿ’ฌ 7 • 1.20.1 • Forge • 

How can I define different faces of a texture on 1.21.1?

Hex Maniac Lucy: Trying to make the following block rotatable(there's a total of 4 blocks, but this is 1 of them, they are all similar)

๐Ÿ’ฌ 8 • 1.21 • Forge • 

Question about setting an item in a specific inventory/hotbar slot

TheButterbrotMan: Hello,

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

Add a curios item that adds new curios slots

LgndTheDredgen: I am currently making a belt that can add more curios slots like an extra charm slot if you have the belt equipped, but cant really find anything that is helping me out if this is even possible

๐Ÿ’ฌ 8 • 1.20.1 • Forge • 

Is it possible to intercept the end portal spawn?

DaddySpin: I had an idea to intercept the end portal block spawn event and replace them with a different portal block so that you can still use mods like End Remastered to open the portal, would this be possible or would I be better off intercepting the dimension change event for the end?

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Restricting block placement by dimension

heimdal: Hi all, I'm attempting a simple script to restrict the placement of a certain block to the Twilight Forest. The server script properly blocks item placement, but consumes the item (which is expected). So I added a command to give the player the item in question. The problem is that it doesn't track the item properly in the player's UI. So it shows the item count as going down, even though the player is recieving the item correctly. If you leave and re-enter the world, the correct item amount is shown. I tried with vanilla oak log and confirmed it isn't a mod thing. I also tried adding a short delay (event.server.scheduleInTicks(5)) to no avail. Does anyone know why it isn't rendering correctly and how to fix it?

๐Ÿ’ฌ 4 • 1.21 • Forge • 

Creating script for changing weapons and armor, help needed

SlenKen: I'm trying to balance some weapons and armor but I'm totally new, I need some help and guiadence

๐Ÿ’ฌ 53 • 1.19.2 • Forge • 

Renaming a mod

Boscko: I've added the items I need to the server. But I don't like that it's just KubeJS. I want to do something like this: <project name> -- KubeJS. Can you tell me how to implement this?

๐Ÿ’ฌ 93 • 1.20.1 • Forge • 

Error in 'PlayerEvents.loggedIn': java.lang.UnsupportedOperationException

BazZziliuS: NeoForge Version 21.1.197

๐Ÿ’ฌ 2 • 1.21 • Forge • 

is there a better way of making JSON items?

OracularSpy: This works, but i am just curious if i am misunderstanding something, or generally if something better exists

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Showing 100/10131 posts