Support Tickets


This page is still WIP!

Trying to override/recreate autoleveling mod nametag stuff but got ambiguous Error

Zaid Alaraji: ```

💬 2 • 1.20.1 • Forge • 

Changing Mod names

MrEizy: ```js

💬 1 • 1.20.1 • Forge • 

Can you make fluid buckets for fluids in other mods?

Evil Paragon: I have the Caupona mod installed and am not satisfied with how the Situla functions as it's just a bucket with less detail. I'd like to make buckets for each soup in the mod to make the situla redundant, but I am unsure how to make fluid buckets for fluids that aren't part of KubeJS to begin with.

💬 1 • 1.20.1 • Forge • 

Is there any resources on how to create custom inscriber recipes?

Barb: How do I go about adding custom inscriber recipes to my kubejs?

💬 2 • 1.21 • Forge • 

Stack Overflow with a simple forEach() loop?????

goulash: relevant code:

💬 14 • 1.20.1 • Forge • 

Editing Enchanted Books description

𝓓𝓪𝓻𝓴_𝓕𝓵𝓪𝓶𝓻: How to edit an enchanted book decription and have the description show up on a enchanted item

💬 1 • 1.20.1 • Forge • 

I have a question

TheCaptainFoxy: Is actually possibile to recreate the SCP-173/Weeping Angels/Creaking effect?

💬 3 • 1.20.1 • Forge • 

Unhide create items (I.E: Chromatic Compound) from EMI

derp: Is there a way to unhide create's hidden items like chromatic compound from the quest book and EMI/JEI?

💬 2 • 1.20.1 • Forge • 

Which format is the better to choose in blockbench to kjs?

Diju: i'm trying to do custom weapons, the wiki says just put in json

💬 2 • 1.21 • Forge • 

Get all items in a creative tab

Blue (@): using /kjs_hand it will show you the creative tab or group the item is a part of. i want to get all the items in the group. how can i do that?

💬 5 • 1.18.2 • Fabric • 

Creating loot tables

Potato in a Box: I want to make a custom loot table with LootJS but I can only find support tickets about modifying existing loot tables. Please help!

💬 1 • 1.20.1 • Forge • 

Change platform display names in 1.18?

CubeBotFan: Is this feature only available in version 1.19+?

💬 5 • 1.18.2 • Forge/Fabric • 

giving item on food eaten

arzadu: Hiya! Trying to figure out how to give an item on food eaten, and the FoodBuilder page says that `.eaten()` is broken (which makes sense, given that it crashes my game). The attached file is in `server_scripts`, and the game runs fine/no errors, it just... doesn't do anything. Any ideas?

💬 4 • 1.19.2 • Forge • 

Changing modded block mining speed

arrespo: Hi, im using bits and chisels and it's very annoying the time it gets to break a chiseled block, so i tried this but it doesn't seem to work, it's practically the same as the documentation, it doesn't crash just doesn't work

💬 1 • 1.20.1 • Fabric • 

Preventing LeftClick

Blue.PHS: Hi is it possible to prevent the left click if you have an item that contains "sword" in the item-id and the target is not an entity?

💬 3 • 1.20.1 • Forge • 

little help

Sburra Nella Tempesta: Can i make so that one of my custom items act as it's being held in both hands?

💬 1 • 1.20.1 • Fabric • 

Player Cooldown

RoyalReject: I am looking to give players items on first login and on player respawn. I have first login down and the player respawn event. But I want to have a cooldown per player on the respawn event so they cant abuse it and unsure how to do that everything I seen is about having a item/block cooldown

💬 3 • 1.20.1 • Forge • 

how to replace ingredient in smelting recipe?

mati: is there a way to replace the ingredient used for another one once an item is smelted?

💬 11 • 1.20.1 • Forge • 

How do i use item ID on crafting pattern to make a custom crafting?

lini32: i was trying edit some mod stuff item recipe, but it uses the same Tag to same itens, could i use item ID instead tag?

💬 1 • 1.20.1 • Forge • 

How to create a command that runs another command with a player name?

Coolkc456: This is a pretty simple request but I'm a JS noob.

💬 1 • 1.20.1 • Fabric • 

How work with item application in kjs create

alifylegacy: Please HELP

💬 50 • 1.20.1 • Fabric • 

How can i make an entity/player glow only for one other specific entity/player ?

TheCaptainFoxy: I need to give the glow effect to one player, but i don't want everyone to see it, i need only one specific player to see it

💬 3 • 1.20.1 • Forge • 

How to multiply all certain item outputs across all recipes

Thornium: how do i do that

💬 2 • 1.20.1 • Forge • 

How to create a custom biomancy serum

TheUG: This is a long shot but im not familiar with working with extending other mod's classes to add custom items with specific functionality. would someone care to help me add a new serum type that would give the player a potion effect upon injection? heres the serum class: https://github.com/Elenterius/Biomancy/blob/fafa8f44e4d3522ea087970f435188170bc6c5e3/src/main/java/com/github/elenterius/biomancy/api/serum/Serum.java

💬 2 • 1.20.1 • Forge • 

1.18.2 Police?

Daddy Spider: Goodmorning!

💬 1 • 1.18.2 • Forge • 

Hello i want to add a new Source Type to the display Links in create how to make it?

LearnJava: ^^ title

💬 1 • 1.20.1 • Forge • 

Resource key component isn't available to json recipe schemas

eldritch cookie: I am trying to update my KubeJS Mystical Agriculture Mod and the previous recipe schemas were all invalid so i just tried to use the new recipe schemas.

💬 2 • 1.21 • Forge • 

Shaders don't work with "Literal Sky Block"

Nov: I am unable to use shaders when the mod is installed.

💬 3 • 1.18.2 • Forge • 

How to force type

Futiax: how to force value to be int or byte ?

💬 5 • 1.20.1 • Fabric • 

How can I overwrite a specific index's value of Long type Array?

BE2333: as title.

💬 5 • 1.20.1 • Forge • 

Add grass type compat for Farmer's Delight

Arvel: When you cut grass with knife from Farmer's Delight it has a chance to drop straw.

💬 5 • 1.20.1 • Forge • 

Crop Growth Modifier

segi: Hello, i'm not sure if this would be the place since i have next to no Java experience, but i'm looking to modify the global crop, sapling. animal, and bonemeal growth.

💬 1 • 1.20.1 • Forge • 

custom block has no-texture break-particles

Big Boy: As far as I'm aware, the block should automatically use a side for the particles, right? I can't find anything showing what I need to do to assign a side for the particles to use in kubejs, and I can't find anything related to .model either.

💬 1 • 1.20.1 • Forge • 

How to get/set/check item nbt data?

Jimmy: How would i be able to check whether an item has certain NBT or get NBT? I see maybe NBT does not exist anymore for 1.21? I am out of the loop and confused. Help would be appreciated.

💬 8 • 1.21 • Forge • 

Productive bees

Simlju23: Hi!

💬 2 • 1.18.2 • Forge • 

Morejs modded villager trade

𝓓𝓪𝓻𝓴_𝓕𝓵𝓪𝓶𝓻: im trying to clear a modded villager trades, but the name wont work

💬 12 • 1.20.1 • Forge • 

Adding a tag to a group of blocks

Flywheel: I'm playing Terrafirmacraft and im trying to make stone brick stairs able to insulate a charcoal forge. to do this, i need to add the 'tfc:charcoal_forge_insulation' tag to every single stone brick stair block, or better yet, every type of stone brick block.

💬 1 • 1.20.1 • Forge • 

Help with a complex script

TheCaptainFoxy: How can i spawn a mob using "event.entity.block" ?

💬 13 • 1.20.1 • Forge • 

How to introduce a feature from another mod into my custom weapom

Sburra Nella Tempesta: i wanna use the abilities on the weapons from simplyswords on my custom one made in kubejs would that be even possible? if yes how would i go and do it?

💬 1 • 1.20.1 • Fabric • 

how can i use xyz position to interact with a block?

leon: i want to flip a lever at xyz with code but idk how

💬 1 • 1.20.1 • Forge • 

i found .capturedBlockSnapshots() in level datas

leon: i found

💬 4 • 1.20.1 • Forge • 

How to add armor and textures with Ars Abilities?

Duck (in): I am trying to make a compat between Ars Nouveau and Ice and Fire. The one main problem I am having is that the Ars Nouveau upgrade able armor is not a tag or anything. I was tring to make another dragonsteel armor that could be upgraded like the robes, but I couldn't figure out how to add armor and give it the dragonsteel 3d texture.

💬 1 • 1.20.1 • Forge • 

how can i use a block position to get if the chunk is claimed with ftb chunks?

leon: how can i check that?

💬 1 • 1.20.1 • Forge • 

Iron's Spells JS for 1.21 still being worked on?

Ryno: I am looking to use Iron's Spells JS in my 1.21 modpack but its not updated yet, I just want to see if it's still being worked on. No rush and I don't expect to know when it will come if it still is coming, just curious if development is still active! 🙂

💬 9 • 1.21 • Forge • 

Buff Anvil Repair for Specific Item(s)

legitch: Is there a way for me to buff Anvil Repairing on a specific item to instead always fully repair an item's durability with just 1 of the needed material? I want to apply this for every Diamond & Netherite tool.

💬 10 • 1.20.1 • Fabric • 

command block won't place in survival mode

Skemech (Pronounced "Skeh-mick"): is kubejs capable of allowing survival players to place a command block? I'm making a modpack using cracker witherstorm, and I'm only now realizing survival mode players can't place a command block

💬 2 • 1.19.2 • Forge • 

How to condition if item placed has specific NBT data?

CodeOverload: ```BlockEvents.placed("dirt", e => {

💬 33 • 1.20.1 • Forge • 

Morph mod similar and KubeJS

TheCaptainFoxy: 1 * Which mod that replaces the morph mod for 1.20.1 is best to use with KubeJS?

💬 31 • 1.20.1 • Forge • 

Recipe is valid but doesn't appear in game

Rose: Trying to replace the elytra ingrediant with a cog wheel for easier crafting

💬 3 • 1.20.1 • Forge • 

Custom repair recipe

Arvel: I'm trying to add custom recipe to repair elytra using farmer's delight canvas.

💬 1 • 1.20.1 • Forge • 

dat file

Futiax: Since nbt are allowed, why not dat to modify the level.dat or edit Map art

💬 6 • Unknown • Forge/Fabric • 

Custom Enchantment for a Block

Yoru: Hi, I'm willing to make an enchantment that adds "Infinite" uses to a block, for example, I will enchant a block with "Infinite Block" enchantment and this block will be used like in creative mode, but when i break the block I put, this won't drop anything (I think i could make this with nbt)

💬 22 • 1.20.1 • Forge • 

Giving an item on food consumption.

hexigrim: Following previous threads like <#1132621271167938660>, I am trying to do something similar...

💬 2 • 1.20.1 • Forge • 

Is there a way to listen to LivingDamageEvent instead of LivingEntityHurtEvent?

hachejota: I need to get the damage with all modifiers appled. The current `EntityEvents.hurt` is using LivingEntityHurtEvent, which is before those are applied.

💬 1 • 1.20.1 • Forge • 

Fake grave system

Violet: I'm trying to make a system that saves a player's inventory before clearing it, so I can send players to a purgatory of sorts and still restore their inventory later.

💬 5 • 1.20.1 • Fabric • 

Milling recipe that doesn't create a Crushing recipe? (KubeJS Create)

Ferret With A Cat Hat: So hi, just wondering how I would make a milling recipe that doesn't also auto-generate a crushing recipe?

💬 1 • 1.19.2 • Forge • 

Botania kube js add New craft

solarinfire: Hello I have question can add recipe for botania flower générator ore add New block ore is possible

💬 1 • 1.20.1 • Forge • 

Restriction of enchantments

𝕱𝖗𝖆𝖓𝖈𝖆𝖎𝖘𝖊: Hi! Is there any way to remove restrictions on the books that can be imposed on the tool using KubeJS (or maybe in the mod code itself)? To be more specific, I'm talking about the universal tool from Gnumus Settlement. I'd like to put efficiency and fortune/silk touch on it, but the mod forbids it.

💬 7 • 1.20.1 • Forge • 

KubeJS Script Needed for End Portal Frame Replacement

TheButterbrotMan: Looking for help to create a KubeJS script that replaces all `minecraft:end_portal_frame` blocks with `endrem:ancient_portal_frame` during world generation. Any tips or sample code would be greatly appreciated!

💬 2 • 1.20.1 • Forge • 

How can I make a blaze projectile hit me and exchange positions with said blaze without control?

𝐜𝐥𝐨𝐮𝐝☁: I tried this but it doesn't work:

💬 10 • 1.20.1 • Forge • 

Making a block have a Loot Table

n1n: Hi, I was wondering if it is possible to make a block have a loot table. Context is it needs to be server-side & the mod that adds it didn't link it to a loot table.

💬 6 • 1.18.2 • Fabric • 

Is there a proper way to add unique images to each page in one custom JEI category?

stohun: Message not found

💬 2 • 1.20.1 • Forge • 

Registering Entity Goals not working

Mermaids - F+TM: So trying to add goals to my NPCs and it returns this error

💬 4 • 1.20.1 • Forge • 

Item with Attributes for both hands

Atobá Azul: How can I apply an attribute for both hands for an item? The default addAttribute in item modification only does for main hand.

💬 1 • 1.20.1 • Forge • 

Hiding attributes in tooltips

Noraklet: I'm trying to hide a bunch of attributes showing in tooltips. The usual client scripts weren't doing the trick, so I found another script that apparently has been working for some people (https://discord.com/channels/303440391124942858/1206202899311628368/1206213785325535303).

💬 2 • 1.20.1 • Forge • 

Custom lead

Jengu: Is it possible to make a custom lead that can attach to different entities and look different then the regular lead

💬 1 • 1.20.1 • Forge • 

summon mob on a block placement

𝓓𝓪𝓻𝓴_𝓕𝓵𝓪𝓶𝓻: i want to summon a blaze when i place a custom kubejs block, is there anyway i can do that

💬 18 • 1.20.1 • Forge • 

Curios item

kolweyy: Is it possible to create new curios item with some attributes?

💬 1 • 1.20.1 • Forge • 

How to stop a block from emitting lights ?

Naxo: I created a file named ``lightroom_noemission.js`` in kubejs/startup_scripts with this code :

💬 2 • 1.19.2 • Forge • 

Existing block no longer emit light

Butter: How could i make it so a block that already emits light (modded or not) no longer emits any light

💬 1 • 1.20.1 • Forge/Fabric • 

Getting Cobblemon playerdata

Dureu: I've been trying to figure out a way to read which Pokemon a player has discovered. I'm working with https://modrinth.com/mod/cobblemon-pokedex (calling it Cobbledex), which uses Cobblemon's player data storage to record a list of discovered pokemon.

💬 1 • 1.20.1 • Forge • 

Recipes With Results Related to Ingredients

Pumpkin Eater: I want to make recipes for everything in the game that allows the player to "melt" down an item with a recipe containing an ingot. Say for example if you melt an iron pickaxe you get the liquid equivalent of 3 iron ingots.

💬 1 • 1.20.1 • Forge • 

Data and assets not overriding

Vinyl: When putting custom textures for other mods in the KubeJS Data/Assets folders, It doesn't actually overwrite anything, Atleast it didn't for me, and yes I am putting it in correctly.

💬 1 • 1.19.2 • Forge • 

An easier way to control biome generation?

LD_Anvil: I'm trying to control biome generation, I searched many topics, and almost all of them said to use data packs, I have tried, but each biome needs seven parameters, which I still not figured out how they works, and every time it cause there were only one biome generate in the world. I wonder if there were an easier way to control biome generation.

💬 1 • 1.20.1 • Forge • 

NBT to items

UltraPuPower1: Is it possible to give NBT to items upon creation in startup-scripts?

💬 9 • 1.20.1 • Forge • 

Prevent anvil book combining

Toxin: I'm trying to prevent upgrading the level of a book by adding two of the same (ex: unbreaking 1 + unbreaking 1 = unbreaking 2)

💬 5 • 1.19.2 • Forge • 

java.lang.NullPointerException: Cannot read field "tokenBeg" because "this.ts" is null

goulash: What does this incredibly vague error mean?

💬 6 • 1.20.1 • Forge • 

add MODDED LOOT TO vanilla LOOT tables

Pete: add modded loot to vanilla loot tables

💬 1 • 1.20.1 • Forge • 

Removing coded tooltips

Kayn: As you can tell by the title, would this be possible using kubejs? Tried using crafttweaker which has a method for removing tooltips specifically, but it couldnt remove these, was hoping kubejs would be able to do the job. That "Special Ability:"

💬 1 • 1.20.1 • Forge • 

The .maxStackSize() item builder doesnt work

Bidon: im trying to make a custom item and i tried changing its stack size with the .maxstacksize but it doesnt work,any work around this?

💬 3 • 1.20.1 • Forge • 

Delete specific enchantments from items

Slait: How to make script delete specific enchantments from items in player inventory each tick?

💬 2 • 1.20.1 • Forge • 

Productive Bees

Shootz: Is there a way to hide certain bees and their corresponding combs and eggs? There isn't a definite tag or item name because they are custom to the other mods adding them

💬 6 • 1.20.1 • Forge • 

Hydration blocks?

Kragnoth: Does anyone have an example of working code that checks a radius around a created kubejs block, and keeps it hydrated, like a bucket of water, but can be walked on and placed below farmland? I have something... 'working' but it basically just converts dirt back to farmland every tick in a radius, and that's awful.

💬 2 • 1.20.1 • Forge • 

Defining behavior in multiple script locations? Time accelleration blocks

Kragnoth: Can I define a block that accelerates time on other blocks, such as adding behavior to servertick ```js

💬 5 • 1.20.1 • Forge • 

EMI Support for 1.20.1

Shootz: Is there emi support for 1.20.1?

💬 6 • 1.20.1 • Forge • 

Mod ID Logger

Sassy Kyle: I need to set EMC values for a large number of items, and I was wondering if there’s an easy way to output all block IDs and item IDs separately for a specific mod ID, like Botania, for example.

💬 2 • 1.20.1 • Forge • 

Specific entity to specific structure? (like: 35% chance to find 1-3 villagers in mineshaft

KEJWII: Is it possible to do something like this

💬 6 • 1.20.1 • Fabric • 

Ex Nihilo Sieve, trying to increase the drop rates but also the drop chances by the tier of meshes

SurgePlayzYT: I saw a past post with my same issue but I couldn't figure out the code that they used in the end... is there anyone who could help me after already dealing with this issue before?

💬 1 • 1.20.1 • Forge • 

Change pack mode in-game

Potato in a Box: I want it so players can change the pack mode while in the game, would this even work if I could get KubeJS to modify the pack mode in the config, or would it require a total restart of Minecraft?

💬 9 • 1.20.1 • Forge • 

got problems with lootjs

Creepy_Forest: ```js

💬 1 • 1.20.1 • Forge • 

BlockEvents.broken tool detection and performance

zeroneon: So what I am trying to do is create quests for FTBQuests that detect when a player has mined a certain block without silk touch. I know how to work with the custom quests already but I am unsure how I should tackle this whole thing because I want to implement this the right way.

💬 50 • 1.20.1 • Forge • 

Packaging KubeJS files into a Datapack or Forge Mod File?

Matt-E🍉🍉🍉: This question has probably been asked alot, but discord search bar has failed me unfortunately :(

💬 5 • 1.20.1 • Forge • 

.WithChance doesn't seem to be working in this code

GC1GC2: ``` /// Extruder Recipes

💬 1 • 1.20.1 • Forge • 

Get UUID from username

Violet: As the title says. I need to be able to convert a human-readable username into a machine-readable UUID.

💬 4 • 1.20.1 • Fabric • 

Is it possible to modify weapon damage/attack speed

Pete: the base attack speed is 4

💬 17 • 1.20.1 • Forge • 

It doesn't work in my custom dimension.

Fanta Stick: I created a custom dimension named minecraft:test using a datapack. This script works perfectly in the vanilla dimensions, but it does not work at all in the custom dimension. Can someone help me?

💬 21 • 1.20.1 • Forge • 

WHAT ???

Senssi: I hate it because i don't understand why but this is supposed to return the name of the player not "literal(Senssiiy)"

💬 22 • 1.20.1 • Forge • 

how do i modify the mining level of tools??

Creepy_Forest: the example on the wiki is broken

💬 1 • 1.20.1 • Forge • 

Crafting with increased resource yield

ployka_ps5: at the moment, I have problems with crafting where the player gets several items as a result. It is important that the crafts are made for the Applied Energistics 2 mod, the craft must change the unformed cable craft into the formed one and, as a result, produce several copies of the cables. The question is how to do this in the Extended Crafting fashion? I have not found a way to solve this problem in the official documentation

💬 4 • 1.19.2 • Forge • 

Checking if mob was spawned from chunk generation

zzzzzz: ```

💬 2 • 1.20.1 • Forge • 

Showing 100/5929 posts