Support Tickets


This page is still WIP!

Better Combat

Kammy: Pretty goofy question, but I was wondering if I could put Better Combat assets/data into KubeJS for custom animations? If so, how do I go about doing it?

💬 2 • 1.20.1 • Forge • 

Recipe Tag while omitting items

MooMcMooman: ```js

💬 12 • 1.20.1 • Forge • 

how do i disappear with the original immersive engineering tools?

☩ Hiruka ☩ - ひるか DEV: I'm hijacking the old ones to substitute to the new ones, and i want to disappear with the old ones from Jei, how do i do that?

💬 1 • 1.20.1 • Forge • 

Attempting to make custom crafting recipes to combine two mods (Overgeared & Crow's Class Weapons)

FatherSleepy: I want to create crafting Recipes for Overgeared. They gave a Google Doc that provides information on how to craft with the mod

💬 14 • 1.20.1 • Forge • 

How do i modify the tool tier?

☩ Hiruka ☩ - ひるか DEV: I wanna that steel tools from immersive engineering could mine obsidian

💬 59 • 1.20.1 • Forge • 

giving players "gills"

stonedgoldfish: is there any way i can make a player be able to breathe underwater but not on land? like i want the air bubbles to appear and start decreasing when a player is on land

💬 1 • 1.20.1 • Forge • 

Critical hit checks (for server scripts)

Deano: In server scripts relating to damage of some kind whether it's on behalf of the attacked or the attacker if you could check if the hit was a critical hit natively i think that'd come in handy. I mean there's workarounds to get it done but I feel like this should just be made easy personally

💬 23 • Unknown • Forge/Fabric • 

Change loot depending on tool used to kill entity

Estatrix: Howdy! I wanted to know if there's a way to change the loot an entity drops depending on what tool is used to kill it.

💬 22 • 1.21 • Forge • 

How do I define an entity's head with EntityJS?

Snowflake: i am very new to both kubejs as a whole and the geckolib format so apologies if this is something very simple, but how would i define an entity's head? i want the model's head to be able to look at the player at all angles

💬 1 • 1.20.1 • Forge • 

having trouble changing the protection and toughness value of armour, aswell as giving attributes

valurae: i'm trying to use this in startup but it crashes

💬 1 • 1.20.1 • Forge • 

need some help porting a script from 1.20.1 to 1.21.1

tall man 2: hi, sorry if this is a bit dumb but i need help porting this to 1.21.1 for a modpack, what it does is check and entities nbt tags and applies a specific effect to them if they fall within the list written inside. thanks in advance

💬 6 • 1.21 • Forge • 

Is there a way better to buff Iron's spellbooks spells?

☩ Hiruka ☩ - ひるか DEV: I wanna buff the spells while double it's mana cost, and keeping their standard mana regeneration to make it slow in standard. Making the iron's spellbook spells a high risk high reward, to balance it with melee weapons, scorched guns 2 guns and iron's spellbook magic

💬 75 • 1.20.1 • Forge • 

allow tall grass to be broken when using notreepunching mod?

Aceplante: For some reason, i can mine grass by hand just fine, but not tall grass, or either kind of fern, at least without a tool. What is the technical difference between these blocks? What tags differ? I should note that I did not want them to break instantly, and did modify their breakspeed, but I did so to the same number, so why does it suddenly render the aformentioned three completely unbreakable without a tool, whereas i can break regular grass just fine and without issue?

💬 1 • 1.20.1 • Forge • 

Player Attribute Cap on Respawn Event - Looking for Event & Specific Attribute Get/Set methods

Gambleputty: About as the title states, whenever the player respawns im looking to just implement some simple logic to check one of their attributes within the ForgeCaps category of their PlayerData, and if it goes above a certain state, set it back to a minimum. Im asking specifically as, looking through the player data the attribute appears within the ForgeCaps -> DiminishingHealth category and was curious if that might effect the typings for the persistent data get/set methods. I am willing to provide screenshots of the specific attributes I am looking to set if necessary

💬 1 • 1.20.1 • Forge • 

Java Method cannot be found

Rundas: Hello, for some reason, kube cannot find a java method.

💬 11 • 1.20.1 • Forge • 

daily login rewards

Chaos: I'm trying to make a server with create numismatics for currency and I want people to get the currency as a daily reward but I have no idea where to start

💬 69 • 1.21 • Forge • 

Better than wolves fishing mechanics

Skemech or something: This is what I have so far. but I wanna make it so that upon a succesful catch, the baited rod reverts back into an unbaited rod, and they'll share a durability

💬 3 • 1.20.1 • Forge • 

Over the rainbow

Skemech or something: How can I get every color of sheep to naturally spawn?

💬 2 • 1.20.1 • Forge • 

good way of removing randomly enchanted items from loottables?

Pafeu: The only way I could think of is replacing every single item with itself but it seems kinda cursed. Is there a better way?

💬 5 • 1.20.1 • Forge • 

How to make players spawn farther and spawn a structure around them?

throw new NullPointerException(): I currently have the following script:

💬 1 • 1.21 • Forge • 

need help making a custom command

PhoenixCrew: I am wanting to make a custom command for my server SinnoH Sanctum. Its a command called /daily. This is to get an item in-game every 24 hours but dont know how to make that command. Can someone help.

💬 4 • 1.21 • Forge • 

How do i remove an entire mod id (so all the items in a single mod) from a vanilla tab?

DarcySpike202: For example, I have homesteads, but the modded items are mixed in with the functional blocks vanilla tab. I want to make a custom tab with the items instead. I have already made the tab and the items a re in it, but the vanilla tab items are still there. here is my code:

💬 11 • 1.20.1 • Forge • 

how to player blindness at night?

Cr0w37: Hey! I wanna give players blindness for the duration of night. But I don't want the particle effects or the icon that shows the effect.

💬 14 • 1.20.1 • Forge • 

KubeJS-registered cardinal block for some reason always faces east when genned with jigsaw blocks

G_cat [KJSPKG/HehVerse]: I am registering a cardinal block with this code:

💬 34 • 1.20.1 • Forge • 

crop shape

дзюрчик: ```js

💬 5 • 1.20.1 • Forge • 

Apotheosis Curios

Kammy: So I've come across an issue in my modpack...

💬 4 • 1.20.1 • Forge • 

Why can't it be used

Tikdays: ServerEvents.tags('item', event => {

💬 1 • 1.20.1 • Forge • 

How Do I Add ALL the items in a tag into a specific category?

DarcySpike202: I want to make a category and move items from my vanilla category into my custom one, but i dont want to do event.add for EVERY SINGLE ITEM. is there a way that i can just use the tag? i have tried this but it doesnt work.

💬 8 • 1.21 • Forge • 

In fluid transformation

jaime_la_pluie: I'm trying to make a recipe where you drop item in a fluid to make another item but can find a way to do it can anyone help ?

💬 3 • 1.21 • Forge • 

When changing (adding) durability to Lucky's Wardrobe armor pieces, the durability doesn't get added

Ooorange: When changing (adding) durability to Lucky's Wardrobe armor pieces, the durability doesn't get added but the items behave as if it did? I'm not sure what I'm supposed to do about it. I would like for them to have dura but can't figure out why it doesnt want to change them from unbreakable

💬 11 • 1.21 • Forge • 

How do I replace the name/tag of an item?

valurae: As in I want copperequips:copper_boots to turn into copperized:copper_boots

💬 3 • 1.20.1 • Forge • 

What is the input format for color?

UltraPuPower1: https://kubejs.com/wiki/ref/BlockBuilder#color

💬 23 • 1.21 • Forge • 

Trouble with placing features via command

Mono: this is essentially a spell to grow plants on barren stone, i'm using SummoningRituals's complete event which I have confirmed with other rituals I am using correctly.

💬 1 • 1.20.1 • Forge • 

Help with custom container

Kimaris: Hello, I'm trying to make a script that allows the player to open a container UI upon pressing a keybind.

💬 2 • 1.20.1 • Forge • 

Fluid Tooltips and names

UltraPuPower1: Trying to get tooltips and names working on fluids, in summary, what a nightmare :p

💬 1 • 1.21 • Forge • 

Custom Models

Chipmunk: I may just not be able to find it, but there should really be somewhere on the wiki that properly explains/walks you through making new items with custom models?

💬 8 • Unknown • Forge/Fabric • 

[EntityJS] nonliving entity affected by gravity?

MintiestKitKat: is it possible to make a nonliving entity that is affected by gravity? / in general, has a movement controller?

💬 2 • 1.20.1 • Forge • 

Struggling to figure out a way to write down some laws of gravity.

unknown.gif: I've for a few days now been trying to work on setting some "laws of gravity" using GravityAPI and making an overall Startup script for it.

💬 1 • 1.20.1 • Forge • 

How do I make custom ender eyes?

Veaper: It's for a modpack I am working on. I may make multiple posts here.

💬 166 • 1.20.1 • Forge • 

Getting used fluid in recipe

Miko_boi: Let’s say a recipe uses the potions tag so any potion fluid can be used to spout the item. Could I get the potion the player decides to use in the recipe and use it somewhere else (I.e applying said potion to the food as an effect)?

💬 1 • 1.18.2 • Fabric • 

Custom Enchantment

Pafeu: I'd like to make an enchantment that would just apply the unbreakable nbt tag to the item but cant really find any examples of how could I mess with the items nbt on enchantments.

💬 1 • 1.20.1 • Forge • 

Mob Spawn Reason Whitelist

Anonymous: I am currently trying to disable natural spawns for horses, but still preserve the ability to spawn horses by spawn egg, summoning or breeding. I have found out how to disable spawning completely by placing the attached in the server_scripts file, but I have no idea how to proceed.

💬 28 • 1.20.1 • Forge • 

Registry player death

jovlax: How can I registry player death and then apply the command?

💬 12 • 1.20.1 • Forge • 

[Create Heat JS] Blaze burner custom heat level interaction

Gobz: Hi,I'm trying to implement a new heat level with Create Heat JS that a blaze burner could get to given appropriate fuel type but i didn't find any info about it,

💬 1 • 1.21 • Forge • 

[EntityJS] Bulk-applying an attribute to entities from specific mod(s)

Mopp: Trying to fix some compatibility issues with combatify (tl;dr if an entity doesn't have the `minecraft:generic.attack_speed` attribute then the game/server will just crash when it tries attacking something) by either going through every entity from specific mods, or just giving it `minecraft:generic.attack_speed` (set to 0) if it doesn't already have the attribute. Problem being event.getAllTypes()/event.allTypes gives me the entities in the format of `entity.namespace.entity_name`, which I don't know how to get the namespace from or convert to the `namespace:entity_name` format to try and check the attributes it has

💬 5 • 1.21 • Forge • 

Why this script doesn't work?

Kimaris: I made a simple script to convert all deepslate affected by an explosion into cobbled deepslate, but it doesn't work for some reason, I tried searching in the wiki but couldn't find any clue.

💬 2 • 1.20.1 • Forge • 

Structures locatable but don’t spawn in the world

Tesohh: hi, i’m not sure if this is really a kubejs issue, but i’m trying to add custom structures, so i made a data pack and put it into my kubejs/data. I can locate the structure, but nothing is actually there when i tp to it.

💬 4 • 1.21 • Forge • 

remove output by item id?

Aceplante: for some reason I am unable to disable all outputs with a certain id?

💬 10 • 1.20.1 • Forge • 

Custom item with crafting durability.

MrEizy: How can I make it so my custom item with durability is not used when crafted instead it removes durability?

💬 3 • 1.21 • Forge • 

Font use

𝕮𝖑𝖊𝖆𝖓38: Hello I'm clean, I would like to know if I could have permissions to use the default8.png assets from last font addon for my addon, ofc I won't be taking credit for the asset, but I'll provide credits along with a link to the original for java, I'm actually putting this in a bedrock addon "bugrock" not through marketplace I'm going to have it posted on cf and mcpedl and the addon will be released in like 2 to 3 years from now, because it's very high poly, anyway if I can't that's fine with me, because it's always good to ask just in case, so thanks for your time. And thanks for reading this, have a nice day!

💬 1 • 1.20.4 • Forge • 

Clarification on High Priority Data

DaddySpin (Reflection Enjoyer): I just want to confirm that High Priority Data is what I think it is and to my understanding it's basically event.custom but for general Json files and datapacks? Please correct me if I'm wrong and if I'm slightly right can someone please provide some example usage and syntax?

💬 1 • 1.20.1 • Forge • 

This isn't working.

PotatoBro: I do not know why, it gives an empty output, but the tag works. All the syntax is correct. Even the little nickname with the tiny ' ' is fine. I honestly do not know whats happening to make it bug out like this. I would ask of the Modern GT server, but I was banned for talking about Epstein.

💬 9 • 1.20.1 • Forge • 

What's the deal with these four mistakes?

MC-Nirvana: log: https://mclo.gs/KbvYA5J

💬 6 • 1.21 • Forge • 

how do i make a recipe drop more then one item on the mechenical crafter?

WEIRDERS23: im trying to make a bone recipe for automation

💬 3 • 1.21 • Forge • 

can't get keepIngredient to work.

5H4RP_B1T3RZ: i'm trying to keep the altimeter when crafting a slice map.

💬 7 • 1.20.1 • Forge • 

Trying to nerf an enemy's projectile through KubeJS

tln_: This is the script I found:

💬 13 • 1.20.1 • Forge • 

Error Changing attackDamage Despite item.getItem().getTier().getAttackDamageBonus() existing

cryocaustik: I pulled a list of items I wanted to modify and compiled an array of those IDs, then iterate over that array to modify the attackDamage of those based on a multiplier.

💬 13 • 1.20.1 • Forge • 

Use onHurtTarget inside of EntityJSEvents.addGoalSelectors

marcnum2: I want an action (casting a spell) to happen when an entity attacks, is this possible?

💬 1 • 1.20.1 • Forge • 

Track Individual Items

Owen: I'm trying to make an item's durability drain over time, even when not being held. The main thing I'm struggling with is tracking each item separately. I'm assuming I'm gonna be using NBT data, but how would I track an individual item?

💬 13 • 1.20.1 • Forge • 

Anyone know how to add multiple weighted LootJS entries with separate rolls?

vizthex: fixing a modded block that has no loot table, and i want it to drop 1 - 4 Gunpowder and 0 - 2 Ghast Tears - but i don't know how to add multiple weighted loots with different amounts, and the wiki doesn't give an example.

💬 2 • 1.20.1 • Forge • 

Can I use entity js with palladium to give a mob a energy beam render

Monkonpo: I want to make it so my mob shoots a energy beam and without entity js it does the damage no visuals and I was just wondering if I could use it to make it work this is for a alien evo mod

💬 1 • 1.20.1 • Forge/Fabric • 

Custom KubeJS item as a consumable for enchant table

LolsShow (Podcasting ARC): I want to make my custom item - raw cobalt - be a more powerful version of lapis in terms of higher enchant random rolls in enchant table.

💬 3 • 1.20.1 • Forge • 

Increase custom stat upon shooting a bow

[LOST] Pille: Ive checked the other threads here and saw that I need RangedJS.

💬 44 • 1.20.1 • Forge • 

Standardized way to check for modpack "development"/"release" build

Micky: Is there a standardized way to check for whether you've enabled a flag to develop a modpack VS. actually playing the modpack, or is it the Wild West here?

💬 7 • 1.21 • Forge • 

struggling to change tool required to mine an ore

valurae: is that your entire code?

💬 9 • 1.20.1 • Forge • 

LootJS breaks BlockPredicate.of()

MasterNinad: This is my create: mechanical extruder (which has built in kubejs support) recipe in recipes.js -

💬 1 • 1.21 • Forge • 

Append duplication

Eldritch Ewe: I made a function that makes item tooltips for me and somewhere along the line the tooltips for some of my blocks have doubled..

💬 2 • 1.21 • Forge • 

id help?

WEIRDERS23: im trying to make a recipe i got it all down but im trying to make a recipe using a singularity from avaritia and all of them have the save item id but not singularity id so is there a way i could put the id for it in a recipe or do i have to use something else?

💬 10 • 1.21 • Forge • 

Is it possible to remove a forge tag from an item?

PotatoBro: I'm doing it but it's not working.

💬 22 • 1.20.1 • Forge • 

prevent baby chickens spawning from thrown eggs

dianaisnthere: as the title says, i want to prevent baby chickens from spawning from thrown eggs

💬 6 • 1.20.1 • Fabric • 

What are my options for controlling the specifics of an explosion?

swifswaf: I have a server script that spawns an explosion when certain conditions are met. It spawns the explosion by summoning primed tnt with a fuse time of 0, which feels kinda hacky but I don't know if there's a better way to do that. If there is, please let me know.

💬 4 • 1.20.1 • Forge • 

Customizable Modded /Vanilla armor stats

Legosi: RPG modpack development devlog, learning KubeJS

💬 12 • 1.20.1 • Forge • 

remove loot from broken crop

SloppySlime: I have this crop in which I only want the seeds to drop, since the fruit has a much better way to get them and would clutter inventory space by being dropped by the crop. I don't have a single clue on how to do that please help me, best regards.

💬 3 • 1.20.1 • Fabric • 

1.21.11 fabric server alternative to kubejs

AidenA: I just want to be able to craft orbital strikes with orbitals+ mod, but i cant find a way to have mult item slot crafting for 1.21.11. does anyone know an alternative to kubejs that could help me?

💬 17 • 1.21 • Forge • 

why botania flowers are not spawning in twilight forest?

☩ Hiruka ☩ - ひるか DEV: I've been testing the datapack i created but i'm not finding any botania flower, why?

💬 5 • 1.20.1 • Forge • 

Damaging/Breaking an Item

29Naybla: I'm making a script to make players able to shear sheep using knives, but I'm new with kubejs and I would like to know if there's a better way to make the knife damage part work as I feel there's probably a simpler way to do it, that also doesn't involve me trying to simulate normal item breaking behavior.

💬 6 • 1.21 • Forge • 

Is it possible to remove an item from loot in mass using lootjs?

ScarlettFrost: I want to make netherite upgrade templates obtained differently, is it possible to easily remove them from all loot? I also wanna do this with some other items

💬 2 • 1.20.1 • Forge • 

Register new item with components

heimdal: I'm attempting to create a custom book with the written_book_content component (I want it to be a custom item rather than a minecraft:written_book). When I register a custom item with event.create, how do I do it in such a way that the item has a component by default? I don't see any component related methods in the builder but it has to be somewhere.

💬 3 • 1.21 • Forge • 

Tag help

MooMcMooman: I'm trying to add tags to certain items, but it's not doing anything

💬 48 • 1.20.1 • Forge • 

looking for documentation

Salad: Hello, i got a script thats pretty simple and just allows for toggling item frames to be insivible or not, but the "issue" is i dont know why?

💬 47 • 1.20.1 • Fabric • 

Poison Meter

Eldritch Ewe: Anyone know how I would go about making it so players have a poison meter that goes up from certain sources and down with time?

💬 1 • 1.21 • Forge • 

Replace block with matching blockstate

DANMATISK: I have a block getting replaced with another block when receiving a redstone signal but I'm not sure how to make sure the replaced block faces the same direction

💬 6 • 1.20.1 • Forge • 

Entity JS : Transforming Mob That Sucks Food Out Of The Player And Explodes When Dead Challenge

Berlium: Im going to preemptively file this ticket first incase i get stuck on somthing

💬 468 • 1.20.1 • Forge • 

Prevent item storing

Hajsori: How can I prevent that a player stores a item in a container?

💬 3 • 1.20.1 • Forge • 

How to spawn structure so it can be located with /locate?

Him: I have no idea how structures work, I'm trying to place a structure and have it be possible to track whether an entity is inside.

💬 4 • 1.20.1 • Fabric • 

Help with KubeJS Script for Daily Playtime Limit by Player (6 hours + Time Window + Scoreboard)

Gedo: Hi everyone!

💬 9 • 1.18.2 • Forge • 

Creating custom origins power types using kubejs

Deano: The origins mod for 1.20.1 now has a forge version. Im interested in the possibility of creating custom power types for origins using 1.20.1. What are the possibilities related to this?

💬 14 • 1.20.1 • Forge • 

COMPATIBILITY LUCKPERMS

Javariel14: Is there a mod that complements KubeJS to make permissions for LuckPerms, or is there a compatible way to do this?

💬 5 • 1.20.1 • Forge • 

error no waxing recipes stored on any interactions

valurae: Message not found

💬 1 • 1.20.1 • Forge • 

trying to convert a 1.19.2 worldgen.js into a 1.20.1 one

valurae: please help me.. it's just 140 lines

💬 5 • 1.20.1 • Forge • 

custom ore generation

Aqua: im trying to add custom ore generation to my modpack using kubejs datapack, cause the worldgen built into kubejs is reportedly not working in this version. Im not getting my ores to generate, even though i did the things im supposed to do i think

💬 11 • 1.20.1 • Forge • 

Unstuck command

hahahehe: i want to make an unstuck system for player of my minecraft server. so we have server unstuck points on the map that players will teleport to depending on which one theyre closest to. and then have a cool down for the unstuck command. how do i do this?

💬 1 • 1.20.1 • Fabric • 

remove supplementaries rope arrow

mr_ron: experiencing hassle attempting to remove this recipe

💬 4 • 1.20.1 • Fabric • 

Freezing Behaviour of Furnace

🍊Сонливий Боббі: I am trying to figure out how to control behaviour of furnace for my industrial modpack, but I can't figure out how to stop it from consuming fuel when it is not powered. If someone has experience with this, please share

💬 2 • 1.20.1 • Forge • 

Error Valid values are "uncommon","epıc" ....

Anonymous: It's giving me this error code. How can I fix it?

💬 18 • 1.21 • Forge • 

Is it possible to replace lapis in enchanting

ScarlettFrost: I want to replace lapis' function in the enchanting table with another item, but I have found 0 ways of doing that so im HOPING kubejs has some kind of method.

💬 10 • 1.20.1 • Forge • 

How to get the face of a block a player broke using BlockEvents.broken for popItemFromFace

900n1: I've set up a custom ore system where it goes through multiple blockstates before breaking, and I want items to pop out from the face of the block that the player is mining at instead of only having the items pop up on one direction only, how do i achieve that with this setup? ```js

💬 17 • 1.20.1 • Forge • 

note block

дзюрчик: is there a way to change the note block instrument for a custom block?

💬 1 • 1.20.1 • Forge • 

Possibly Dimension Editing

Cryptic: Hi there, I’m wondering it’s possibly to modify the world gen options within a dimension and dimension_type.

💬 1 • 1.20.1 • Fabric • 

get item nbt in shapeless craft

SloppySlime: I need to add the values in the nbt of 2 items in a shapeless recipe to give the sum to the result.

💬 7 • 1.20.1 • Fabric • 

Showing 100/11446 posts