Support Tickets
This page is still WIP!
The Escapee - Part II
Berlium: The Entity is almost done I just need to copy the axolotl's swimming goals + the lingering cloud effect of the creeper + add pitch/vertical head movements + better body to model allignment
Anyone know why this isn't working? Can't find much info on the LootJS wiki page.
vizthex: I wanted to add Quark's shard drops (2 - 4 when you break a glass block) to various modded glass blocks, but it gives me an error about the method not existing - and i can't find what i need to use on the LootJS wiki. Does anyone know how to fix it?
FTB Stuff and Things Jars script errors
AkersA: I have been trying to work this script for 4 days now and keep getting 56 errors for all the jars about fluid output. I have looked at other examples of 1.21.1 scripts for the jars, but couldn't find where i made my mistake. I have also ran this through Gemini and still couldnt figure it out i have attached the Script, Kubejs log, and latest log for the modpack. i know there are other things i need to fix with sluicing and recipes. if anyone could assist it would be greatly appreciated.
How to input a container of fluid in a recipe
JoSchmo34: I'm trying to make a recipe that takes in a container of water and i would like fluid cells, buckets, and other similar things to all be vaild inputs. Is there any easy way to check for this using kubeJS?
Enchanted Book combination in Anvil (Cost Calculation)
archemagos: Current problems:
Removing the create fan recipe categories
Brickyboy: I'm trying to remove the create fan recipes categories from showing in JEI+EMI.
Trying to make a sword which applies bonus damage (non magic) depending on entity's max health (9%)
Soulbound: 9% bonus damage calculated from the max health basically, I tried this
How do i do something when a specific item is right clicked on a block?
𝗣𝗿𝗶𝗰𝗸𝗹𝗲𝗻: I did not find any information regarding item right clicked events on the wiki
Making a block explode when something is placed on it
The Goat: I'm aware of the Exploding Coal mod, but it doesn't work properly + a KubeJS script would be more customizable.
KubeJS Iron's Spells: Is it not possible to imbue spells into staves?
SkippyZii: Message not found
add specific tool
BastiK11: how i can add a specific tool to this script. example: only with stone shovel i get sand
Disable ISS spells
Estatrix: Is it possible to disable all spells from a ISS addon through KubeJS?
Multiplayer LAN problem.
Hyperran99: Okay, so I've been developing a Forge mod-pack for me and my friends to play on and used KubeJS to spice things up a little. When I made a world and invited them, they couldn't get in and got this error message. Later on we disabled KubeJS and low and behold, multiplayer had worked.
Farmer's Delight cutting board recipe that consumes both items used?
B: So I've made this rather silly recipe to make lava using a cutting board, but remembered that the magma block wouldn't be consumed upon crafting, is there a way to make it so that it is?
Can't get accurate biome colours and item in hand doesn't add .color()
Kisaiya: I've been struggling to make a custom slab block that imitates the full sized grass blocks in my modpack. This is my best result so far but the colours seem slightly off and the item model in my hand isn't coloured. Any suggestions to fix these two issues?
removing biomes
JustNatan: trying to remove biomes via tags but it keeps generating anyways so im wondering if im doing anything wrong
Custom weapon attributes
Kammy: So I recently had a custom weapon made by <@211699493190631424> , and although I managed to get it in game, the weapon attributes are... less than ideal for a weapon of it's size, but I can't manage to change the attack speed specifically, any and all help will be much appreciated
Layered block builder
UltraPuPower1: Continuation of https://discord.com/channels/303440391124942858/1479814375207473374
Struggling to understand making blocks with different textures on sides.
TeutonicViking: I'm going to preface this by saying I'm a very big noob at kubeJS, this is some of my first experimentations with it.
how to add condition to spawn portal?
NanChik: I want make nether portal (or portal from mods) must be place at the bottom of the world (y ~-60)
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?
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
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
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.
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
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
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
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?
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
Java Method cannot be found
Rundas: Hello, for some reason, kube cannot find a java method.
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
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
Over the rainbow
Skemech or something: How can I get every color of sheep to naturally spawn?
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?
How to make players spawn farther and spawn a structure around them?
throw new NullPointerException(): I currently have the following script:
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.
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:
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.
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:
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.
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 ?
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
How do I replace the name/tag of an item?
valurae: As in I want copperequips:copper_boots to turn into copperized:copper_boots
What is the input format for color?
UltraPuPower1: https://kubejs.com/wiki/ref/BlockBuilder#color
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.
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.
Fluid Tooltips and names
UltraPuPower1: Trying to get tooltips and names working on fluids, in summary, what a nightmare :p
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?
[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?
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.
How do I make custom ender eyes?
Veaper: It's for a modpack I am working on. I may make multiple posts here.
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)?
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.
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.
Registry player death
jovlax: How can I registry player death and then apply the command?
[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,
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.
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.
remove output by item id?
Aceplante: for some reason I am unable to disable all outputs with a certain id?
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?
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!
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?
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.
What's the deal with these four mistakes?
MC-Nirvana: log: https://mclo.gs/KbvYA5J
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
can't get keepIngredient to work.
5H4RP_B1T3RZ: i'm trying to keep the altimeter when crafting a slice map.
Trying to nerf an enemy's projectile through KubeJS
tln_: This is the script I found:
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.
Use onHurtTarget inside of EntityJSEvents.addGoalSelectors
marcnum2: I want an action (casting a spell) to happen when an entity attacks, is this possible?
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?
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.
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
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.
Increase custom stat upon shooting a bow
[LOST] Pille: Ive checked the other threads here and saw that I need RangedJS.
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?
struggling to change tool required to mine an ore
valurae: is that your entire code?
LootJS breaks BlockPredicate.of()
MasterNinad: This is my create: mechanical extruder (which has built in kubejs support) recipe in recipes.js -
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..
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?
Is it possible to remove a forge tag from an item?
PotatoBro: I'm doing it but it's not working.
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.
Customizable Modded /Vanilla armor stats
Legosi: RPG modpack development devlog, learning KubeJS
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.
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?
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?
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.
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
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.
Tag help
MooMcMooman: I'm trying to add tags to certain items, but it's not doing anything
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?
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?
Prevent item storing
Hajsori: How can I prevent that a player stores a item in a container?
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.