Support Tickets


This page is still WIP!

Modify item attribute?

Pitersonix: Is it possible to edit attribute of items, for example: damage?

πŸ’¬ 2 • 1.21 • Forge • 

recipe duping emi

DSans404: how to disable smithing recipe of toomanyrecipeviewers

πŸ’¬ 5 • 1.21 • Forge • 

Disableing all Structures

Baran / SikiciBebek: Hey, I used this Script and put it into server_scripts. Could u help me fix it, please?

πŸ’¬ 3 • 1.21 • Forge • 

How do I get the ID for a plant, or object that I'm looking at, but can't be held in the inventory?

🌢🌱inkyNightshadeπŸŒ™πŸͺ΄: I'm hoping to add the Serene Seasons tag to crops, but I can't figure out how to identify the item ID for plants. The tag must be put onto the seeds, and the plant for it to work.

πŸ’¬ 4 • 1.20.1 • Forge • 

Recipe Fix/Item Unification

Zera: I'm trying to combine/unify some items with kubejs and I've got appropriate tags to my items in question but I'm having trouble with the Input replacement.

πŸ’¬ 1 • 1.21 • Forge • 

event.target.type don't work with consts

absolutely not wawa: `event.target.type` don't work with mobs from const

πŸ’¬ 2 • 1.20.1 • Forge • 

Need help removing recipes for the entire server based on a trigger event.

zenithBemusement: Context: I'm running a modded server for some friends, and to spice things up, I want to make it so certain items are "singular" -- that is, once one exists, you can no longer they can no longer be crafted or looted or dropped by mobs. I'm focusing on crafting right now because I figure if I can do one of those things, I can figure out the remaining two from there.

πŸ’¬ 2 • 1.20.1 • Forge • 

tag condition

Kingdom Jeff: is there any condition for when an entity loses a tag? i'm not sure how to do it

πŸ’¬ 1 • 1.20.1 • Fabric • 

Script for dropping an item in mainland unless another is held in the offhand?

toastmaster911: Basically same mechanics as vintage story. You can only hold hot item if you have tongs in offhand and if you don’t you automatically drop it

πŸ’¬ 5 • 1.20.1 • Forge • 

custom recipes not working in MP

miner_sd: having trouble with recipes not deploying at all on a multiplayer server. they worked fine in singleplayer but none of them are deploying in MP for some reason. heres an example of one

πŸ’¬ 7 • 1.20.1 • Fabric • 

recipe

Elamed: i want to remove a craft with a certain type of item like crafting table without oak planks only other etc is it possible ?

πŸ’¬ 1 • 1.21 • Forge • 

How do I keep track of the items in the player's inventory?

Romcorn#0001: ServerEvents.customCommand("checkdaimond",event => {

πŸ’¬ 1 • 1.20.1 • Fabric • 

Prevent effect from being removed with milk

Helore: Is it possible to create effects that doesn't get removed when driking milk?

πŸ’¬ 1 • 1.21 • Forge • 

Trying to put modded armors' protection values at 0 or to set max durability of an armor to 1.

Alex6: I wanna use those modded armors from Relda mod only for cosmetics purposes, so I want them to not give any protection or other values.

πŸ’¬ 1 • 1.18.2 • Forge • 

remove repairing recipes

Ari: think this is a quick question but emi is coppies

πŸ’¬ 9 • 1.20.1 • Forge • 

Accessing Mob Inventory

bluelotuscoding: Hi, I need some help with either updating the <#1360058916666605628> script to allow for modifying a mob's inventory or something new. I thought of maybe doing it based off commands but i think this can be done in a better way i just don't know the limitations of doing something like this.

πŸ’¬ 12 • 1.20.1 • Forge • 

CoE script not working?

NullPointerException: I have the following script to add osmium

πŸ’¬ 4 • 1.20.1 • Forge • 

i need help with a recipe and the rightclick on a block mechanic

Retarded Dude: i made a custom tool, a hammer, it works but theres one thing i cant find any info on in neither the wiki or youtube, i want to use that hammer for a couple crafting recipes but i wont it to NOT be consumed, so something like a bucket in the vanilla cake recipe, rather it would be nice for it to loose some durability if possible, i can make the recipe but i cant make the hammer stay in the crafting grid. the other thing i would appreciate help is with the right click mechanic, i made a custom diamond drop ore that i would like to rightclick a grindstone with so it drops another custom item. this one ive struggles over for like two days and no matter what tutorial i watch, or what i get from the wiki it doesnt work, theres either an error, or there isnt an error, it just simply doesnt work, any help on how to make it work would be appreciated, i dont need a whole script, i just want some ips and help, thanks in advance

πŸ’¬ 1 • 1.20.1 • Forge • 

Textures in assets folder not loading for one pack but loads fine for another pack

Yuyuko: Identical paths. Second pic of the quest book shows it having default texture despite the texture in the folder having little white clouds around it.

πŸ’¬ 2 • 1.20.1 • Forge • 

Any idea why this script returns 2 bark?

Zobo: const AxeItem = Java.loadClass('net.minecraft.world.item.AxeItem');

πŸ’¬ 1 • 1.20.1 • Forge • 

How does EntityPredicate work in LootJS?

Seradar: Currently trying to create Music Disc functionality similar to Vanilla, where a music disc is dropped when a Skeleton deals the killing blow on a certain mob (in this case, a Zombie). I found the syntax I need but clicking the EntityPredicate link leads to an empty WIP page. As such I am stumped at what exactly the syntax is requesting.

πŸ’¬ 5 • 1.21 • Forge • 

How do I make it so players apply a status effect to whomever they hit?

zenithBemusement: Title. I'm currently making some McGuffins for players on my server to fight over, which give special bonuses so long as they're in the players inventory. Most of them I've kept simple, but for one of them, I'd like to make it so that (if the player has the item in their inventory) all of their melee attacks inflict Wither.

πŸ’¬ 1 • 1.20.1 • Forge • 

Adding staged recipes without the Create mod also adding an unstaged version

molioron: I am trying to add a recipe that is staged: ```javascript event.shapeless(output, input).stage(stage)```, which works but the create mod also adds a parallel recipe which is not staged.

πŸ’¬ 1 • 1.20.1 • Forge • 

var event.item is undefined in BlocksEvents.placed

Hentol: Title, any workarounds? because i try to get nbt

πŸ’¬ 1 • 1.20.1 • Fabric • 

Query Item IDs in 1.20.1

lactose .: I want to query for all item IDs matching `^.*:stripped_.*_log$`. Apparently this can be done in 1.19.2 with `Ingredient.of`, but the wiki is unclear if this is also true for 1.20.1

πŸ’¬ 1 • 1.20.1 • Forge • 

extremely extremely extremely wierd bug

Dracoruff1211: https://youtu.be/niMi8IGAFa8 i fixed the first one. not the second.

πŸ’¬ 4 • 1.20.1 • Forge • 

How do i make a right click event

ggerald_: I looked at the wiki but it didnt really have anything. I want to know both item and block right click events.

πŸ’¬ 1 • 1.20.1 • Forge • 

How to Detect Eyemod Messages Server-Side in Minecraft

LBDF Gafy33: I'm using a mod called Eyemod. It's a phone in the game, and you can send messages with it.

πŸ’¬ 1 • 1.20.1 • Forge • 

KubeJS scripts distribution

RJ: Hi all,

πŸ’¬ 1 • 1.20.1 • Forge • 

Can someone help me?

Anonymous: I want to do a custom recipes but cant I dont know why

πŸ’¬ 19 • 1.21 • Forge • 

villager breeding cooldown and/or changing the conditions for breeding

Speedy: i figured out how to add miscarriages to minecraft, now how do i add a cooldown...

πŸ’¬ 2 • 1.20.1 • Forge • 

Disable Advancements In Specific Dimensions

Navia: Is something like this possible with KubeJS on 1.20.1 Forge? https://modrinth.com/mod/disable-advancements-in-dimensions

πŸ’¬ 8 • 1.20.1 • Forge • 

removing items from creative tab only works sometimes?

ethan.mp4: So Im trying to modify this creative tab from legendary armory mod to remove the quiver item, i've tried in other zeldamod tabs for other items and it removes them successfully, so im confused why this wont work

πŸ’¬ 3 • 1.20.1 • Forge • 

Fabric 1.21 Potential

stockluke: Is it possible to get KubeJS working on 1.21 Fabric?

πŸ’¬ 2 • 1.21 • Forge • 

make a custom plant un bonemealable

Speedy: make a custom plant un bonemealable

πŸ’¬ 8 • 1.20.1 • Forge • 

Detecting when a (vanilla) block is pushed by a piston

aliign: I'm trying to make a hacky workaround for creating a multiblock. Here is my current code (which works fine):

πŸ’¬ 2 • 1.20.1 • Fabric • 

Damage item on block.rightclicked event?

toastmaster911: Been trying to make it so on a block.rightclicked event the held item is damaged but also goes on cooldown for a second. How would I achieve this?

πŸ’¬ 1 • 1.20.1 • Forge • 

How to replace block loot table?

sandwiches: I'm trying to reduce the amount of raw copper that copper ore drops to 1-3 pieces. I've written my new loot table json, but I don't know how to get copper ore to use my new loot table. I tried Block Modification, but there isn't any mutable property to replace a loot table.

πŸ’¬ 1 • 1.20.1 • Forge • 

Dynamically hidden recipes and recipe categories do not update until relog

UselessRobot: I've managed to hide recipes depending on whether a player has a stage or not, but I've hit a road block where the unhidden recipes only show once you relog.

πŸ’¬ 24 • 1.20.1 • Forge • 

lootbox with kubejs

Speedy: right click an item, chance from a list of commands to execute

πŸ’¬ 3 • 1.20.1 • Forge • 

Create: seething blaze burner clone

Optical_Guru: Does anyone know if I can create a block that would act the same way as a seething blaze burner? I have already cobbled together part of a code to convert a block into another, I just need the final piece of the puzzle.

πŸ’¬ 2 • 1.20.1 • Forge • 

Remove all enchants?

Octal: How do I removed all enchants

πŸ’¬ 1 • 1.19.2 • Forge • 

What is Pdata and how on earth do i use it at all?

Owen: so i've tried using pdata before but like i have no idea if i did it right or whatever or anything? can anyone tell me like what folder it goes in or whatever?

πŸ’¬ 8 • 1.20.1 • Forge • 

Error NBT in loot table with tagged item from TACZ

Hikinata: Hello,πŸ”₯

πŸ’¬ 1 • 1.20.1 • Forge • 

Remove every tooltip except one i added?

DaddySpin: so im trying to remove all tooltips from items except one i added but it just remove my tooltip and doesnt do anything to the other ones.

πŸ’¬ 1 • 1.20.1 • Forge • 

Java Functions with return type interpreted as property

Anonymous: So i attempted to make a simple custom mob effect like poison where it damages the mob under effect, however then trying to use the

πŸ’¬ 1 • 1.20.1 • Forge • 

Is there an integrated function for producing a random number or binomial chance function?

Gambleputty: Hello, I want to make it so that, using a BlockBreak event, it has a low random chance to drop an item. However, I cannot find the function I would need to actually check for a chance (in my experience I usually use a Random Number Algorithm to check against a float), however I am still unfamiliar with the KubeJS API and Java as a whole. Could i just get pointed towards that function so I know what I need?

πŸ’¬ 2 • 1.20.1 • Forge • 

Hiding certain recipes from JEI

Cosmic Chain Reaction 2.0: i want to hide some recipes of items but not all recipes of that item ,

πŸ’¬ 6 • 1.21 • Forge • 

villager miscarriages

Speedy: dont ask, its balancing

πŸ’¬ 3 • 1.20.1 • Forge • 

kubejs VC

faze: I don't know exactly if this would be a new addon or an addition to KubeJS, but it would be nice to have events that activate based on a certain level of voice input, etc

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

Custom Coking (Coke Oven) Recipes for Railcraft Reborn

SnowedInOwl: So I'm having a hard time figuring out what is wrong with the custom recipe I've done it two different ways but it doesn't seems to fix anything and I'm not sure what to do next so I've here to ask for help

πŸ’¬ 2 • 1.20.1 • Forge • 

Forge 1.20.1 - Custom Spawn Rule?

renik: ```JS

πŸ’¬ 2 • 1.20.1 • Forge • 

How do I make a new block that imitates sand?

SageofTurtles (ping me): Hello! I'm trying to register a new block in my modpack, and am having some difficulty... I want to it imitate the vanilla sand block (e.g. sound, hardness, gravity, shovel being the default tool, etc.). Basically, I'm trying to create a copy of sand with a different texture and name. Is there an easier way to do this, without needing to look up the values for each individual property for the `minecraft:sand`?

πŸ’¬ 1 • 1.20.1 • Forge • 

how to prevent a mob from spawning

Batarjal: I'm interested in preventing a mob from spawning. I was initially going to use WorldgenEvents.remove(), but that seems to be unavailable. onEvent('worldgen.remove') also appears to be unavailable. What's a good way to achieve this effect?

πŸ’¬ 4 • 1.20.1 • Forge • 

How do I check if the player has an advancement?

Batarjal: The website and this discord seems to offer different ways to do this, but the documentation itself is pretty sparse. I'm interested in preventing a mob from one mod from spawning in the world until one of the players has a certain advancement from another mod, but I'm curious about the general case.

πŸ’¬ 4 • 1.20.1 • Forge • 

how do i modifiy this item?

steelforcehdz: kubejs-forge-2001.6.5-build.16.jar

πŸ’¬ 1 • 1.20.1 • Forge • 

How can i fix this problem?

TJKraft: It give "Reload Failed;keeping old data"

πŸ’¬ 60 • 1.20.1 • Forge • 

What's the ID of create metallurgy when spouting into a plate

ItzByc: What I mean here is that I want to replace the output of when having molten zinc in a plate mold, by making it output kubejs:zinc_sheet instead of createaddition:zinc_sheet

πŸ’¬ 2 • 1.20.1 • Forge • 

My script is not working

Just Me Ark: I'm having some issues and I don't know how to fix them. I believe my script is working, but I'm not sure what's wrong.

πŸ’¬ 22 • 1.20.1 • Forge • 

How does one do curios?

404_coffee.exe: Look there are so many posts that I do not know where to start does anyone have a simple explanation to modify or make an item in a curios equipable item?

πŸ’¬ 31 • 1.19.2 • Forge • 

Modifying create crushing recipes

Sadden: I'm trying to modify create raw ore crushing recipes to make them double their output in raw crushed ore. Unfortunately I'm not sure how should I structure the script. I tried many permutations which resulted in parsing errors, no noticeable change or my latest - just an empty output. I'm on fabric 1.20.1 using KubeJS Create addon ported to this version. Other relevant mods are Polymorph and Almost Unified. I'm attaching a picture of my current result, my script and servel.log.

πŸ’¬ 2 • 1.20.1 • Fabric • 

Change item name in 1.18?

J.F. Lifesteal: I know you can change an item's name in 1.20 with ClientEvents.lang(), but how do you do it in 1.18?

πŸ’¬ 10 • 1.18.2 • Forge • 

Set default world type to large biomes

Atobá Azul: How can I set the default option to be large biomes? Completely lost, and have no idea where to start.

πŸ’¬ 1 • 1.20.1 • Forge • 

Can someone help with the issue of event.create Custom

xiaofanwei: There were no issues with event.createCustom in version 1.20.1, but some problems popped up after moving to 1.21.1

πŸ’¬ 7 • 1.21 • Forge • 

How to translate lists in a recipe type into a helper function

TomatoSoupter: Trying to write a helper function that lets me make Spirit Infusion recipes from Malum using KubeJS but I do not know how to make it so I can provide a list of items/variables in the method that I can use in the function.

πŸ’¬ 4 • 1.21 • Forge • 

KubeJS Iron's Spell 'n Spellbooks script doesn't give me effect.

fors: The script I wrote doesn't want to give me effects when casting it, and the game also shows that casting requires 40 mana instead of 1800. I also get an error when logging into the game when trying to add a name to a scroll with a spell via .setName("). πŸ˜”

πŸ’¬ 1 • 1.20.1 • Forge • 

extruder recipe

Thijmen: ```ServerEvents.recipes(event => {

πŸ’¬ 4 • 1.20.1 • Forge • 

Durability in recipe

Norman: Hello everyone!

πŸ’¬ 5 • 1.21 • Forge • 

Script's commands only working in the overworld (not other dimensions)

Denlille: Hi,

πŸ’¬ 9 • 1.20.1 • Forge • 

If axes don't have "attackDamage" then what do I use to edit axe damage?

DANMATISK: Message not found

πŸ’¬ 13 • 1.20.1 • Forge • 

What's going on?

ItzByc: My thing says that stillTexture for a fluid is invalid, it's kinda weird I have no screenshot but I do have a script

πŸ’¬ 10 • 1.20.1 • Forge • 

Get player object from username?

ToppyTopology: hello trying to find how to get player object from username. Additionally, is there a way to obtain targets from target selectors? (e.g. @p)

πŸ’¬ 1 • 1.20.1 • Forge • 

How do I create a fluid that tints vision when submerged in it?

Leah: Like how lava does when you're in lava.

πŸ’¬ 1 • 1.20.1 • Forge • 

Coins recipe overriding

π—›π—¬π—˜  !: Im trying to remove Coins recipes (thermal) using

πŸ’¬ 1 • 1.20.1 • Forge • 

Custom Water Bucket Script Not Working

toastmaster911: I am trying to make an item that acts identically to a bucket but cannot get it to work and would like some help.

πŸ’¬ 12 • 1.20.1 • Forge • 

NullPointerException on Startup

Anonymous: I tried to run my own mod (im a developer) in a big pack, and spotted some incompatibility with Kubejs. I have reproduced it, using the bare minimum: Neoforge, Kubejs, Thavma (my mod) and all of their dependencies, and the included startup script. The game does not start, but prompts me to check startup logs, which dont seem to help me at all.

πŸ’¬ 2 • 1.21 • Forge • 

Registering Item As Block

toastmaster911: how do I register and item as a block but only allow said block to be placed if the player is crouching?

πŸ’¬ 4 • 1.20.1 • Forge • 

I need help doing block atlases for connected textures

ItzByc: I already have the block and the atlases, I just don't know how to make them connected textures i also use create mod

πŸ’¬ 6 • 1.20.1 • Forge • 

Making an item that can pick up water like a bucket

toastmaster911: how do I make an item that can pick up water? And is it possible to be able to pick up water and place the item down like a block while containing the water?

πŸ’¬ 1 • 1.20.1 • Forge • 

How can i make new block wrenchable with create

ItzByc: I wanna make a block that can be able to be picked up by the create mod wrench by shifting and right clicking, besides that I wanna know how to add connected texture atlas to a block

πŸ’¬ 52 • 1.20.1 • Forge • 

Some questions regarding Helper Functions

TomatoSoupter: Trying to make a Helper Function that allows me to write Spirit Infusion recipes in javascript. Is it possible to convert this into a helper function?

πŸ’¬ 6 • 1.21 • Forge • 

Combat roll & Feathers Compatibility

Jayquavius: I wrote a script using some methods from an example I saw of how to access the player's feathers that subtracts 4 feathers upon rolling. I want to make it so that when you roll, if you have insufficient feathers, it cancels it. Can I do this without simply setting the player's velocity to 0?

πŸ’¬ 2 • 1.20.1 • Forge • 

Want to add the GregTech macerator recipes to the Create crushing wheel.

Fares M Elshabasy: I want to add the recipes that the macerator from GregTech does to the Create crushing wheel, and maybe even a template if I wanted to move other recipes to different machines/etc.

πŸ’¬ 1 • 1.21 • Forge • 

Luckperms x KubeJS

Force.: Hello, I have a question. Is there a way to check a LP permission in a KubeJS script?

πŸ’¬ 12 • 1.21 • Forge • 

Adding a Texture to an entity/item with EntityJS

legobrick22: ```js

πŸ’¬ 4 • 1.20.1 • Forge • 

need help opening a custom gui but it says this

The_BIGFATDINO: [21:48:04] [Server thread/ERROR]:Failed to handle packet net.minecraft.network.protocol.game.ServerboundUseItemOnPacket@6993be8d, suppressing error

πŸ’¬ 28 • 1.19.2 • Forge • 

Pixelmon / Create + KubeJS

Shawn: Hello! I am trying to make custom recipes that involve using Create instead of the base recipes in Pixelmon and I keep receiving errors.

πŸ’¬ 78 • 1.21 • Forge • 

Need some help with Global variables

NickTTD: Hey, so basically I have a 'tweakregen.js' on startup_scripts that defines some lists of farmersdelight's foods that I want to give regen to.

πŸ’¬ 4 • 1.20.1 • Forge • 

Add Iron's atributes to Armor

Crossader: Pretty much what the title said; I have been checking the KubeJS website, but I see no details on how to reach this goal.

πŸ’¬ 8 • 1.20.1 • Forge • 

How do I remove NBT data from a recipe output?

DkuroDraws: I am trying to make a recipe not include certain NBT data from the original item. I'm using a mod in my modpack that allows you to salt foods to keep them from spoiling and the crafting recipe adds the tag {Salted: 1b}. The problem is that the output item maintains the {spoilage} NBT data of the input item, which makes the output not stack with other salted food with different values of spoilage.

πŸ’¬ 4 • 1.20.1 • Forge • 

Items removed on left/right click?

toastmaster911: How do I configure my script to remove the specific held item once a block is right/left clicked? I've tried "event.item.count--;" but that also applies to literally every other item and I do not want that to happen.

πŸ’¬ 1 • 1.20.1 • Forge • 

Item use script

toastmaster911: How do I make a script for making an item that I hold in my main hand, an item in my off hand, and when I hold right-click it does an eating animation and transforms the item in my off hand into another item while dealing 1 durability damage to the item in my main hand.

πŸ’¬ 1 • 1.20.1 • Forge • 

Question Server and Client updated

Brainiest: Hello, I am trying to install this mod for 1.20.1 I see that it says it can be server side only, but it is requiring a client download. What can I do? I am trying to add in a simple recipe.

πŸ’¬ 2 • 1.20.1 • Fabric • 

Could i replace/change origin names using kubejs?

🍍 Nugget_Sk: like the question says can i change/replace a name of a origin using kubejs?

πŸ’¬ 11 • 1.20.1 • Forge • 

I'm trying to make a recipe that uses a mechanism tank full of lava, but it's not working, why?

heydp: ```

πŸ’¬ 9 • 1.21 • Forge • 

Dynamic NBT Handling for Create: S&A Filling Recipes

swzo: Need help implementing dynamic NBT handling for Create: Stuffs & Additions fueling tank filling recipes

πŸ’¬ 1 • 1.21 • Forge • 

Disabling the end

Shark_has_crash: Hi, is there a way to detect and cancel the dimension change event for players so that I can prevent players from entering the end?

πŸ’¬ 1 • 1.21 • Forge • 

Create KubeJS Pull Request

foggywizard: Please review the singular active pull request for Create KubeJS. It would be a fantastically useful addition to be able to create our own processing types.

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

Hi everyone, how can I get a player's name?

Liko: ???

πŸ’¬ 5 • 1.20.1 • Forge • 

How to use "customCommands"?

Hei_wan_Feng: How to use"customCommands"?

πŸ’¬ 2 • 1.20.1 • Forge • 

Showing 100/8746 posts