Support Tickets


This page is still WIP!

Garden Cloche.

S-s-Spudd: Hi, I was wondering if i could "force" the garden cloche to accept a dirt/soil block from dire things rather than me having to create individual recipes for each thing. I've checked out the wiki and have done the base plate code which works but that would require me to create a recipe for each plant. <:PotatoBUFFERING:1214760149487722576>

πŸ’¬ 1 • 1.21 • Forge • 

Ambiguous Method Error with Iron's Spells API

EyesEyes: **Problem:**

πŸ’¬ 10 • 1.20.1 • Forge • 

making a terraria style hardmode?

Frosty: i wanna make it so when you enter the nether, mobs get more health and higher damage but i dont think anyone here has done it with just kubejs before

πŸ’¬ 1 • 1.21 • Forge • 

Item Fluid Value

♣Khalito♣: How would I make an item have a fluid value? Similar to how a water bucket is equal to 1000 mB

πŸ’¬ 2 • 1.20.1 • Forge • 

Craft condition

Shackull: I really don't understand if I can somehow add a crafting condition for an item, or something like that. (For example, it can only be crafted at night, or if the item is in your inventory.)

πŸ’¬ 15 • 1.21 • Forge • 

Turn existing item into staff With Irons Spells JS

Opanyo: Anyone know how I can take the example script for making a staff from the irons spells js wiki and use it to instead turn an existing item into a staff?

πŸ’¬ 1 • 1.20.1 • Forge • 

How to change Create's stock ticker network frequency

pietruszka123: Hello, I'm trying to create a custom structure with a create shop but all the structures share the same network frequency. The structures are created using structure blocks.

πŸ’¬ 1 • 1.20.1 • Forge • 

Apotheosis Attributes

Ouppy Elle: is there a way to have items that are crafted gain a random apotheotic attribute, similar to terrarias random prefixs

πŸ’¬ 1 • 1.21 • Forge • 

Can I make scripts that work on both 1.20.1 and 1.21.1?

Deano: Basically as the title said im interested in what the limitations would be in making scripts that function in both of these versions

πŸ’¬ 6 • 1.20.1 • Forge • 

Issues trying to create a log block with rotation

Chollice Ketteridge: I'm trying to recreate the latex mechanic from cherry flavoured in my 1.21.1 pack and I've mostly got it working with just a couple of issues.

πŸ’¬ 2 • 1.21 • Forge • 

Can I add custom mobs in custom structures?

Hudoki Yicade: with kubejs?

πŸ’¬ 4 • 1.20.1 • Forge • 

Create Compacting Recipe

Anonymous: Below is a ZenScript recipe for Ochrum which combines 2 tuff blocks, 1 granite block and 25mB of lava to get 1 Ochrum in return.

πŸ’¬ 11 • 1.21 • Forge • 

custom entity ai is not functioning

SOSSALMON: hello I'm on 1.21.1 neoforge, I'm trying to do a calamity modpack with confluence: otherworld on neoforge 1.21.1. please ping me with response if anyone gets the time

πŸ’¬ 26 • 1.21 • Forge • 

Knockback

Wi1d_Buffal0: I wanted to set knockback from mobs really high because I figured it could be funny, but I don't really know what I'm doing when it comes to entity related events. Like I don't have any scripts or anything, that's how confused I am.

πŸ’¬ 12 • 1.21 • Forge • 

Can someone help? I don't know what parameters can be put in or where to even find these parameters.

Bubbleboodypfftt: I just wanna make blocks explode when right clicking man

πŸ’¬ 6 • 1.21 • Forge • 

Remove a block from world generation

Emilie et Ælissa: So, there is a mod that generates structures and also adds some blocvks, and I would like to remove a specific block that gets added to the game. I just want the block to be gone and non-existent. How can I do this? I figured it'S gonna be BlockModification, but there seems to not be something that I can sue there.

πŸ’¬ 1 • 1.21 • Forge • 

need to do this for a range of chunks instead of the one set of chunk coords

this shit bussin: i also need to undo it after x amount of time via the remove command.

πŸ’¬ 3 • 1.20.1 • Forge • 

no more insta break

Skemech or something: How could would I make it so blocks like sugar cane, grass, tall grass, ferns, mushrooms, ect. not be instant break anymore?

πŸ’¬ 3 • 1.20.1 • Forge • 

how to make mobs target/attack Valkyrien skies ships?

Cr0w37: Is this even possible? If so help me plz

πŸ’¬ 5 • 1.20.1 • Forge • 

RPG classes

Joaco2702: Hi, I'm trying to create different RPG-style classes for my modpack. I currently have six classes, and I'd like to know if anyone can help me create the code block for weapon debuffs for certain classes. I'm using GameStages for this.

πŸ’¬ 4 • 1.20.1 • Forge • 

How do I possibly use the hitbox when making a block

ItzByc (Ping on reply): I want to make a plushie with a model I have from blockbench but idk how to make it's hitbox workable

πŸ’¬ 1 • 1.20.1 • Forge • 

Use AnimationJS to cancel better combat animations

EyesEyes: Can I use __AnimationJS__ addon mod to directly __cancel better combat animations__?

πŸ’¬ 102 • 1.20.1 • Forge • 

How do I make one item become another item by dropping it?

TheEpicDragonCat: I don't need much help just the names of the commands that would make this possible.

πŸ’¬ 8 • 1.20.1 • Forge • 

Troubles with Java.loadClass and models

Ioan4ik: ```

πŸ’¬ 1 • 1.20.1 • Forge • 

get the real spawnpoint/detect broken beds

Pafeu: ```js

πŸ’¬ 10 • 1.20.1 • Forge • 

block ui

rhyley: just need help with making a block with a ui i can change to allow me to make a custom way to craft something

πŸ’¬ 1 • 1.20.1 • Forge • 

System for filling loot table by difficult or tier

Hudoki Yicade: How I can create the system which can help me, I have a lot of items and a lot of structures, and I wanna put them into loot tables by their "tier" or "difficult", common item can be founded in overworld, uncommon in overworld with lower chance and in nether with default chance, rare items is common for ender etc

πŸ’¬ 1 • 1.20.1 • Forge • 

Change on fail

Mays: Is is possible to have a chance to fail with the pressure chamber from pneumatic craft

πŸ’¬ 5 • 1.21 • Forge • 

Editing or Adding Description to Mob Effect

Lampent51: _Overall,_ I want to add a description to a custom mob effect, and to eventually add descriptions to effects that don't yet have them in EMIffect/JEI.

πŸ’¬ 1 • 1.21 • Forge • 

[Models][Armor] not showing

Mr.Fluff: im not sure what im doing wrong here but none show the modes they should when worn

πŸ’¬ 2 • 1.20.1 • Fabric • 

hostile entity in the works

Dracoruff1211: how would i change this to be player? i want the mob to automatically attack the player(for now) till i make him use spells in tandem with animations.

πŸ’¬ 1 • 1.20.1 • Forge • 

automatic equipping items

Dracoruff1211: how would i automatically equip an item to an entity?

πŸ’¬ 1 • 1.20.1 • Forge • 

Can i make a mob break blocks in front of it?

HolyCartoon: One of the bosses in my modpack sometimes gets stuck on leaves / snow can i make it only break these blocks

πŸ’¬ 1 • 1.20.1 • Forge • 

I get an error because of unvalid text chars

cluxy: I think there is a encoding error because of my windows language. My windows language is turkish. When I tryna play a modpack this error popping up. I dont know why. I got this errors when I try to play Lucky World Invasion.

πŸ’¬ 8 • 1.20.1 • Forge • 

fire check

Π΄Π·ΡŽΡ€Ρ‡ΠΈΠΊ: is there a way to check if an entity died from fire?

πŸ’¬ 5 • 1.20.1 • Forge • 

NBT Data when declaring items

jaro: hello! i was wondering if there was any way of adding nbt information to items when declaring them in the startup script, as id like the vanilla stat display (whats underlined in the first pic) to not show up

πŸ’¬ 15 • 1.20.1 • Forge • 

how do i make a block entity

rhyley: i want to make a block entity with a custom ui to craft

πŸ’¬ 2 • 1.20.1 • Forge • 

Warp, or set permanent spawn point every time a player connects to server.

Anonymous: Is it possible to set something up, where as soon as a player connects, they warp to a specific set of coordinates? In my case, tp -56 315 253 in the overworld dimension. But not effect things like respawning at beds etc. Just every time you connect, you spawn in an exact spot.

πŸ’¬ 3 • 1.20.1 • Forge • 

GeckoJS Custom Armor Model issues

Chef_BOI_Ardee: I finally figured out how to add a custom helmet with GeckoJS, but when my player's head moves around, it seems to be anchored at my feet rather that staying attached to my head. I also consistently crash due to a rendering error if my startup script has the following after the ``.boneVisibility`` part of item registration: ``renderer.setAllVisible(false);``.

πŸ’¬ 16 • 1.20.1 • Forge • 

Trying to remove categories in emi/gui

CostlierSquid: Hello, my goal is to literally do what is said above, to remove categories seen in jei/emi. I tried using the the code listed here but it didn't work, so I would love to see if anyone could help me with this.

πŸ’¬ 2 • 1.20.1 • Forge • 

i want to make that moss block isnt at 65% but 100% in composter

Vetex: i dont know how to do it can someone help me?

πŸ’¬ 29 • 1.20.1 • Forge • 

How to add goal to zombies to throw projectiles at player when towering up?

EyesEyes: I also will later animate the zombie model's arms so there is a windup time for the player to react.

πŸ’¬ 10 • 1.20.1 • Forge • 

KubeJS Startup Script Errors

Misaki Mei: Sorry for my terrible English, it’s not my native language.

πŸ’¬ 9 • 1.20.1 • Forge • 

Custom armor models for clothing

seven: Posting this as a sequel to [this](https://discord.com/channels/303440391124942858/1464322649462149190), but with a lot less text: does KubeJS allow creation of custom armor with completely custom blockbench-made models and textures? I watched [this video](https://www.youtube.com/watch?v=kh1ojgpyenQ&pp=ygUdY3VzdG9tIGFybW9yIG1pbmVjcmFmdCBrdWJlanM%3D) but the custom armor's models seem to just be retextures of vanilla armor; my goal is to have custom clothing pieces such as hats, jackets, boots, all made through blockbench, but I haven't seen this being done anywhere while googling. Is my only option adding a clothing mod and changing the models and textures of clothing added by that mod, hoping the amount of items is enough? Is it even doable?

πŸ’¬ 7 • 1.20.1 • Forge • 

Entity lootjs not working on summoned entity

Stonurd: Hi, I added a loot to a entity the alexscaves:gingerbread_man and its not working AND working at the same time:

πŸ’¬ 10 • 1.20.1 • Forge • 

Prevent Bottling Water

BodhiSmith13: I want to prevent the player from filling water bottles by right clicking water blocks with glass bottles.

πŸ’¬ 3 • 1.20.1 • Forge • 

more than four spells

Dracoruff1211: as it turns out, on geckolib entities, you technically cant override their ais, since they uhhh ig have no ai??? its wierd. anyways since i found that out how would i give a mob more than 4 spells via this

πŸ’¬ 11 • 1.20.1 • Forge • 

event custom i have no idea

es7509: [01:14:35] [ERROR] ! generalrecipe.js#413: Error in 'ServerEvents.recipes': TypeError: Cannot find function toResultJson in object 1 ender_eye.

πŸ’¬ 3 • 1.20.1 • Forge • 

How to remove items so they don't show up in JEI/EMI and players won't be able to craft them?

Valerie: i read some of the posts regarding removing items but they are still pretty confusing to me. there are some duplicate items in my modpack and i want to remove them, how do i do that using kubeJS? also do i need to make a new .js file in the folder? which category will this be in? (client, startup, server)

πŸ’¬ 6 • 1.21 • Forge • 

Entityjs: creating new entities based on existing class but with different assets and hitbox

kirb: i want to use what i read on https://github.com/liopyu/EntityJS/wiki/Clone-Entity-Registry-Event to create new entities based on the class of an existing one, but i want their hitboxes, models etc to be different. Are the other parts of the wiki valid for this?

πŸ’¬ 7 • 1.20.1 • Forge • 

place certain water level

LLDJ: ```js

πŸ’¬ 47 • 1.20.1 • Forge • 

spell casting not working

Dracoruff1211: not using echoes of tyros version just for any wondering(not even sure if that would crash with irons js or irons js just wouldnt work)

πŸ’¬ 10 • 1.20.1 • Forge • 

Broad Curios + KJS question for custom clothing

seven: Prefacing this by saying that I'm new to working with Minecraft scripting/modding in general. I'm currently working on the modpack for a server I'm working on, and I couldn't find a mod online that added clothing I found on-brand with the server's steam/decopunk theme and allowed KJS to add/remove/edit said clothing. So, by doing some brainstorming and googling, I imagined this approach:

πŸ’¬ 51 • 1.20.1 • Forge • 

Component syntax in custom recipe works in one case and not another (for the same recipe)

heimdal: I have a mod recipe for which I'm trying to add an item with a component. I've got a working syntax which gives a valid result for one input, but when I use the same syntax on a different input (for the exact same recipe, so literally just changing the strings) it throws an error (exception occured when decoding a given StructField [Field: ingredients]).

πŸ’¬ 12 • 1.21 • Forge • 

How do I make a recipe keep enchantments

wan6845: I'm trying to make a recipe for a helmet that requires another helmet (crafting table recipe), is it possible to transfer the enchantments from the original helmet to the new crafted helmet

πŸ’¬ 1 • 1.20.1 • Forge • 

Lower water level with right click

LLDJ: I have a mod that adds water physics and legendary survival overhaul. i want to make it so that when you right click water with a canteen it lowers the water level by 1.

πŸ’¬ 1 • 1.20.1 • Forge • 

Make every tool have one durability and "Use Tinker Tools" tooltip, but not tinker tools

Fluffy Red Panda: pickaxe, shovel, axe, hoe and sword but not with #forge:tools tag

πŸ’¬ 8 • 1.20.1 • Forge • 

block entity help

rhyley: i need help with getting a block entity working with a ui for "crafting"

πŸ’¬ 1 • 1.20.1 • Forge • 

How to check nbt on block

Hudoki Yicade: I want to make it so that when I place a block, there is a tag on it, and so that in the future, blocks that appear in the world from a certain list cannot be mined by the player, but if the player himself placed the block, then he could mine it

πŸ’¬ 2 • 1.20.1 • Forge • 

How to make create mixer not consume item

Bladereaper: Hi, I am trying to setup a script to make it so the create mixer can mix an item but not consume the template in the basin just the ingot, how would I do this? I couldn't find any documentation of it?

πŸ’¬ 15 • 1.20.1 • Forge • 

block entitys

rhyley: just want some help to find a template for block entitys and all the different things i can do to then aka like gui and stuff like that just want to know some options

πŸ’¬ 1 • 1.20.1 • Forge • 

[REI] NBT

Mr.Fluff: how do i properly format this for NBT?

πŸ’¬ 2 • 1.20.1 • Fabric • 

playing block bench animations in world

Po: i have a ritual that when right clicked i want to play this animation is that possible with KubeJS?

πŸ’¬ 1 • 1.20.1 • Forge • 

fetch `final_density` at a provided `Blockpos`

Neohedron: So I found that someone was able to do this back in 1.20.1, but with probejs I can't see the `.generator` object on `level.minecraftLevel.chunkSource`. Obviously I changed the event hook and am using `Java.loadclass`. But where is `.generator`?

πŸ’¬ 11 • 1.21 • Forge • 

I want to make it so when i order wolves (or any tameable mob that can sit) to sit or stand it shows

Sound: I want to make it so when i order wolves (or any tameable mob that can sit) to sit or stand it shows on chat, help please.

πŸ’¬ 1 • 1.20.1 • Forge • 

Create Mixing Help

Max: Hi, Ive got a working recipe that will have water and 2 items as an input with a chance of one item as an output. Is there any way to make it so that one of the items stays in as a catalyst of sorts?

πŸ’¬ 9 • 1.21 • Forge • 

trying to set item model

β€§β‚ŠΛšβœ§ π΅π‘Ÿπ‘Žπ‘›π‘‘π‘œπ‘› βœ§Λšβ‚Šβ€§: StartupEvents.registry('item', event => {

πŸ’¬ 1 • 1.21 • Forge • 

Rendertype not working as intended...?

DaGamer5T3w: It doesn't change how the block renders at all

πŸ’¬ 4 • 1.20.1 • Forge • 

Changing the values of specific items wont work

HolyCartoon: I wanted to change the values of the wooden armor but they wont change. Ive copy pasted the script from one that works (all the other ones work) and the item id with /kubejs hand in case of a syntax error, yet it doesnt work and it has no error showing on /kubejs errors startup. Am i doing something wrong that doesnt get caught by errors or what

πŸ’¬ 2 • 1.20.1 • Forge • 

Recreating the functionality of bone meals

Pakaru: I'm adding an item that is essentially the final upgrade of bone meals, a bone meal with infinite uses. I was wondering if it's even possible on fabric, considering forge events don't exist here, i can't use the bone meal forge event.

πŸ’¬ 1 • 1.20.1 • Fabric • 

Ban Enchants

Señor Carlitos: Hi I need to blacklist certain enchants, for example: "minecraft:mending".

πŸ’¬ 1 • 1.21 • Forge • 

I cannot make more than about 6 exception, when banning recipes

Señor Carlitos: Hi! I hope somebody can help me. I am making a modded server where more of mekanism will be unlocked later. Right now I just want the materials to be able to be processed.

πŸ’¬ 2 • 1.21 • Forge • 

Aftertaste potion effect

ItzByc (Ping on reply): I tried using the script that is in this post https://discord.com/channels/303440391124942858/1448064914169266216

πŸ’¬ 9 • 1.20.1 • Forge • 

How disable vanilla item or up the chance of the item mods like (cobblemon)

Slaazey: can someone help me, i dont know how do that

πŸ’¬ 5 • 1.21 • Forge • 

Mass Change 1 slot of a 3x3 recipe

fairbanks2126: I need to change 1 out of 8 identical items in some recipes, how do I do this?

πŸ’¬ 16 • 1.20.1 • Forge • 

whitelist for an potion bag

✨Sarah✨: im using the wallet_menu.js to make an potion bag, but i dont know how to make create an whitelist for the container

πŸ’¬ 1 • 1.20.1 • Forge • 

Cancel player shield blocking

Helore: Hello guys, is is possible to cancel player blocking with a shield? Right now i have this code, but it doesn't seem to work:

πŸ’¬ 2 • 1.21 • Forge • 

How would one would create a tag??

Bladereaper: Hi, I have a block that can only be broken with stone tools, but I want to change it so it needs a more difficult tool to break, mainly a gilded quartz pickaxe.

πŸ’¬ 14 • 1.20.1 • Forge • 

.setLootTableJson() doesn't work

Mowo: So.... is there any alternative way to edit block's loot table in startup scripts?

πŸ’¬ 2 • 1.20.1 • Forge • 

want to bulk remove recipes in Mekanism

Leopotion: i want to for instance, remove all the "upgrade" recipes from basic to advanced

πŸ’¬ 4 • 1.21 • Forge • 

GTMaterials.get not working properly.

PotatoBro: I'm trying to give Andesite Alloy a recipe, but when I use GTMaterials.get('andesite_alloy') it considers it as a null state and crashes. I don't know why.

πŸ’¬ 1 • 1.20.1 • Forge • 

How to remove the "emi:info" of a specific item

mykullwave: I haven't used KubeJS a day in my life, but whenI tried to do this all it did was remove the info tab of every single item.

πŸ’¬ 1 • 1.21 • Forge • 

What's the 1.21 equivalent of Utils.getRegistry()?

mo_mo (ping me): trying to update this example script: https://discord.com/channels/303440391124942858/1148963004193460225

πŸ’¬ 2 • 1.21 • Forge • 

Join message using KubeJS

ItzByc (Ping on reply): I Want to make a message that broadcasts to everyone on the server I am rn, telling them that a member has joined for the first time

πŸ’¬ 7 • 1.20.1 • Forge • 

the quests kill task tweaks mod player hit data location.

RARE PANDA: Guys does anyone know where the "quests kill task tweaks" mod stores the players that it the entity data? im trying to remove it with kubejs under certain circumstances.

πŸ’¬ 2 • 1.20.1 • Forge • 

Allow google to ONLY index the support and example script forums with AnswerOverflow

EyesEyes: Thought it wouldn't hurt since we already have the support forums on the kube js website.

πŸ’¬ 3 • Unknown • Forge/Fabric • 

Custom Taming Items?

Doctor Doodoo⁴²: Does anyone knows if its possible to make custom taming items? like if i could tame a wolf with a diamond. I know a Custom Breeding Item code, but dunno if its possible with taming. I don't know much about coding, so it would be great if someone could help me.

πŸ’¬ 3 • 1.21 • Forge • 

Creating regular crafting recipes for crafting table-like recipes.

DiscoTech: Context: The Pastel mod has a recipe type which is essentially just shaped crafting recipes but with an added "colors" object and a few other additions. However it includes a bunch of recipes which don't even use that field, yet can't be made in a regular crafting table. I'm trying to write a script which creates a regular shaped crafting recipe for any recipes where all of the values in "colors" are 0.

πŸ’¬ 3 • 1.21 • Forge • 

how to make a remove Ore

Anonymous: mekanism ores

πŸ’¬ 9 • 1.21 • Forge • 

Adding create milling recipe

Max: ``` metals2.forEach(metal => {

πŸ’¬ 13 • 1.21 • Forge • 

Curseforge having problems exporting the kubejs folder how to resolve this

ダークハーフスズパ: Before I start I will like to say that I have already contacted curseforge and they gave me the one line answer to come here instead.

πŸ’¬ 16 • 1.20.1 • Forge • 

Try biome_modifier add_features + datapack handling from server scripts

Saihao: Hi πŸ‘‹

πŸ’¬ 2 • 1.21 • Forge • 

Mechanical Crafter Recipe not working. Again

The Eleventeenth Drawgon: Running into this Issue Again, I tired making a Mechanical Crafter Recipe and it's not working. KubeJS is not giving an Error and the Recipe is not registering in JEI. I tired the fix i did last time and it's not working so I'm officially lost again.

πŸ’¬ 6 • 1.20.1 • Forge • 

Custom Tool Leveling

TrueEvasive: I'm making a modpack that is rpg based and I want to incorporate my own tool leveling system using kubejs. As of rn, It doesn't seem to be working. I am not receiving any errors but the minecraft tools are not receiving the custom nbt I'm trying to attach to it.

πŸ’¬ 65 • 1.21 • Forge • 

Example script for kubejs create doesn't work

Vanessa Reyes: the example script provided for the sequenced assembly doesn't work which means I dont know how to make my own script by adapting the example one. is the documentation outdated or?

πŸ’¬ 9 • 1.20.1 • Forge • 

Entity attributes cannot be modified on spawn

Scarlet: I am working on a modpack and I am attempting to change a mobs attack damage and speed.

πŸ’¬ 1 • 1.20.1 • Forge • 

I want to add Botania to a pack, and remove almost everything with KubeJS.

Supercopia: I want to add Botania and remove every item and recipe from the mod, except for an item called "Tiny Potato", and add a custom recipe for "Tiny Potato". I wanted to know if there are any methods to do it more efficiently than going recipe by recipe, and how to remove items, and in general there is anything I could do better.

πŸ’¬ 19 • 1.21 • Forge • 

Custom models for item / armor

β€§β‚ŠΛšβœ§ π΅π‘Ÿπ‘Žπ‘›π‘‘π‘œπ‘› βœ§Λšβ‚Šβ€§: Im trying to load a custom model for an item I made in block bench and I cant find out how to do it? is their an addon i need?

πŸ’¬ 2 • 1.21 • Forge • 

custom blocks texture not picking up

Mays: For some reason the textures aren't applying even if I dont do animated textures. I already got an animated item working, but blocks what so ever isn't picking up.

πŸ’¬ 2 • 1.21 • Forge • 

Creative tab renaming only partially working

brosquito: Hello! I have been running into an issue with my startup scripts her only my first tab rename functions as expected. The rest fail to change, they are all affecting custom tabs.

πŸ’¬ 1 • 1.20.1 • Forge • 

Showing 100/11151 posts