Support Tickets
This page is still WIP!
add tick event to existing block
Aceplante: As seen in my previous script (https://discord.com/channels/303440391124942858/1492978684074655925), i was able to successfuly make a custom block that spreads.
Transparent slab
Tyco: I am trying to make a transparent slab, but the block faces between the slabs are still showing up which seems unusual. I've attached my code below. Any help would be appreciated, thanks!
Facing Block from block builder
Text settings: Sorry if this is a dumb question but I'm not sure how to get the custom block I'm creating to face you when placed.
How to change item on explosion
Chubbachoo: I want to change one item (coal) into another (diamond) on an explosion, is there any way to do this in kubejs?
Support for addInformation for EMI 1.20.1 Forge
nico: Im trying to add an info to EMI in 1.20.1. There is REIEvents and JEIEvents. JEIEVents/REIEvents are not working (as I expected), i tried EMIEvents but doesnt work. Is there a way in 1.20.1 for EMI ? Thanks
How do I remove or change certain AI for the dragons from Ice and fire?
Cr0w37: I want to remove the breath attacks from the dragons.
how do I change an entities hitbox?
Cr0w37: I want to change which hitbox the spells from ISS are casted from on an Ice and fire dragons. Is this possible?
replaceInput not working
Ravioli: I'm attempting to use replaceInput to replace the sticks in the crafting recipe with a tag. It is not working nor am i recieving errors.
changing entity model based on player input
Po: i made a spell that allows players to summon a shield. The player must provide 3 inputs;
How to alter the effects and food of existing food items
TomatoSoupter: Trying to nerf Neopolitian strawberries and was wondering if there is a way to do this via KubeJS or any of it's addons.
How to make blast chiller not consume mold?
Janke: i have two recipes (i changed the coin die to be used as a nugget cast)
plz help
Anonymous: im using create northstar and i want to make a resipe that make it so i can make martian steel with one iron ingot and 8 charcoal and i want to make it a non spesific order
Add a translucent background under the text that changes size dynamically according to the text size
Xmapka: Have what is in the first video, want what is in the second, is there an easy way to do this? Wish it was just like another object property next to the shadow
Is it possible to set default gamerules with KubeJS?
Sacri Pan (ping me please): for the next created worlds just in case
override get collision methods entirely/manually decide which faces are solid
asof: i'm trying to make a block with no entity collisions that's always waterlogged (basically as a "water block") but i'm struggling to get it working.. any suggestions? (currently it spills when given a block update)
how to change initializing order for startup scripts
MeeM: https://discord.com/channels/303440391124942858/1492401576877228042
Custom eat/drink sound?
moonst0ne (please ping reply): How can I give an item a custom eating sound, or use a vanilla sound? For example, I have a jam jar that I would like to sound like a honey bottle when consumed.
EntityJS - Finger Shananigans
Berlium: Im attempting to make a custom hand projectile entity that spawns the actual hand but im having issues with that + glowlayer and animation issues in the actual entity
help splitting ability for item summon and adding sounds and particles (palladium)
Monkonpo: i made this ability to summon my weapon as i want to let you later on upgrade it but the way its set up now only works on toggle and it makes it so when ever you scroll in the hot bar it just spawns more keyblades also if anyone knows how to also make it where when wearing a curios accesory it changes the weapon that would be really helpfull
forceload a chunk to spawn entity
leon: how can i forceload a chunk to spawn there a entity like a immersive portals portal?
Removing create stone from world gen
pipobutter: I'm making a pack but i just hate the create stones and wanna know if there is a good way to just remove their whole generation from the world
[ISS] Add player resistance to ALL schools when armor equipped
Leha_Vasya: its possible?
Any way to create new potion recipes without MoreJS ?
DariusZeBaguette (ping me): Is there any way in KubeJS forge 1.20.1 to make potion recipes for a custom potion (already created) WITHOUT using MoreJS in ANY way possible? I have quite a lot of issues with MoreJS that prevents me from using that mod, is there any other obscure way?
argument types are invalid for creating a block tag
Crabus: pasting the log incase and the file i'm using that's being loaded (which isn't made by me but I'd still like help for it)
Fluid Bucket Texture
Anonymous: Currently trying to make a bucket for a fluid based on brewin and chewin's jam jar using the .bucketItem method but I can't seem to get a custom texture to work as it keeps auto-generating the texture instead
Custom Armor doesn't display Armor Trim on Item Sprite
ildiem: If I add the `minecraft:trimmable_armor` tag to armor I created with KubeJS, it can be trimmed but will only show the trim on the player model, not the item sprite.
Sorry, completely unaware of loot table syntax.
chiipasa: Am I misunderstanding the use of setloottablejson? Line 6 is definitely the issue, I just don't know HOW it's the issue.
I need a working Custom ISS Spell and Item
DarkHunter: Hey, I'm looking for working custom spells and Items for Iron's Spells and Spellbooks.
Is there a way to replace certain blocks upon worldgen with scripts?
Sacri Pan (ping me please): This post explain the blocks I want to replace
How to make bone meal place grass just on 1 block when clicked on grass block?
NanChik: I know it's strange idea
Registering Fake JEI Recipes
n1xx1: ~~I'm trying to register a fake JEI recipe, but I'm struggling to get it show up. This is my current code.~~
Adding JEI information to an item with NBT data
Mario: I am trying to add an information page to Goat Horns which all contain their instrument as NBT data, to no avail.
change item texture while keeping base item stats
RedΛngel: I have a dynamic KubeJS script that generates 56 smithing recipes based on 8 base items, those 8 items can be clad in different materials to generate the same item with a different texture:
Custom compatibility with modded fluid and items.
Atom Sorcerer: Trying to set up parity and compatability across various mods in my modpack. There's technically two types of blood in my modpack, the blood fluid from Biomes O Plenty, and the blood vials from Iron's Spells And Spellbooks.
Remove block menu without cancelling placements off of it
Fox • Fox๐ซstar: Hello; I have a block with an inventory accessed upon right clicking it (Storage Duct from Caverns and Chasms), which I would like to disable. I had tried to accomplish this using the command
KJS Create - .noMirror() and .kjsMirror(false) don't work for Mechanical Crafting
CelestialAbyss: ```js
KJS Create - .noMirror() and .kjsMirror(false) don't work for Mechanical Crafting
CelestialAbyss: ```js
anvil recipe making
milo: is there a way to make a custom recipe for anvils?
Armor modifiers help
๐ง๐๐ค๐ฅ๐๐ช๐๐ค_๐ค๐๐ง๐๐: Trying to modify custom armor in neoforge 1.21.1 and Kubejs is saying the modifiers for the armor protection doesnt exist
Best way to check/setblock with blockstates
jona23: currently making an API that replaces blocks around the player with another block
Iron Spells Kubejs| How do I make a Spell work in the inscription table.
Magenta: Hello I am currently working on a custom project for a server with custom spells. I am fairly new to this and have not been able to find how to get a spell translated into the inscription table to book. I also have not figured out if possible how to make a custom pixel art profile. is anyone able to help?
Struggling to remove recipes and items since I have duplicates from multiple mods
Terrabytez: I created a quick script from the wiki and a YouTube video (placed it in the server scripts folder) and it did literally nothing after running ```/kubejs reload server```. What am I doing wrong? I'm trying to remove all the recipes for the silver chestplate from Werewolves, and also I want to hide it in EMI
turn off survive explosion?
mr_ron: how can i make a block not survive explosion (so it doesn't drop via tnt) ?
Re:Avartia Remove Neutronium Compressor Singularity using KubeJS
Rage: How can you remove say the Coal Singularity from the Neutronium Compressor?
Trying to transfer potion effects to another player
Craftmayham: I'm trying to make a raycast that copies all potion effects on one player and sends them to another but it just crashes? Is there a different way of getting potion effects I'm unaware of?
NeoForge 1.21.1: ServerEvents.recipes() triggers mass Create recipe parse warnings.
FORTSUMTER: When I add a ServerEvents.recipes(event => { }) file on my NeoForge 1.21.1 server with KubeJS 2101.7.2-build.348, the server starts showing a large number of recipe parse warnings specifically for Create mod recipes and Create addon recipes during recipe processing. This happens even if the file is completely empty except for the recipe event. My custom recipes still get added and work in-game, so the issue seems to be warning spam during KubeJS parsing of Create-type recipes rather than the recipes actually failing. The warnings reference recipe types like create:filling, create:mixing, create:deploying, create:compacting, and other Create processing recipes, with messages such as Failed to parse recipe, results: either<fluid_stack, create:processing_output>[], and unknown fluid_stack or fluid_tag keys. If I remove the ServerEvents.recipes() script, the warnings stop. So it looks like simply enabling the KubeJS recipe event causes KubeJS to attempt parsing existing Create processing recipes, then fall back to vanilla, which creates a huge amount of log spam.
Kubejs doesn't load textures
NanChik: I am trying to change vanilla blockstates, models and textures with kubejs and suddenly stops seeing all textures which I've change.
how to forbid enchanting an item
VarenayKrevetka: Hello. I'm creating my own modpack. And I would like to forbid enchanting an item for specific enchantments. How can this be done?
recipe deletion is impossible
sisQo: im trying to figure out how to remove ONE recipe from the game but i just cant do it and I DONT KNOW WHY
Change Villager Trades to use currency instead of emeralds
Whimsiwilde: In forge 1.20.1, I am using numismatics as a game currency for everything in my modpack. However, I haven't found a way to replace the use of emeralds from villager trades (modded and unmodded) without completely rewriting every trade. I would love if a simple code could be used to just replace emerald with the value of emeralds for the currency.
Errors being thrown for as far as I can tell, no reason.
MilkMan: I've added a custom liquid and mixing recipe that results in that fluid, and somehow, KubeJS is now convinced that this has broken every single recipe sequence that uses fluids. I have to be clear, it has not, they all still work, but it still throws up these errors, how do I get rid of them? Yes I'm using KubeJS Create.
kubejs issues
Cosmic: hi so im working on a modpack and kubejs is running into issues causing the server to not be able to launch heres some logs that i can give you
Friend tried loading into server and I was able to play normally but she wasnt
Mosey: Message not found
How to get a custom mod recipe to recognize other modded items
sinadee: I'm trying to edit some recipes in my modpack so every instance of mahogany logs (biomes of plenty, hexerei, forestry) and mandrake (hexerei, hexalia, monster girls) are useable within hexerei. The problem is hexerei uses custom recipes for cauldron crafting. When I use the item ids from the other mods, hexerei does not recognize them and I get an error in game. I have probejs, so I thought all the mods in the modpack were already imported. Is there another way to import other modded items into a custom recipe system?
How to disable function of tools
MeeM: Only disable function,NOT deleting completely.
get rarity of item or get all items of rarity, also hi ^^
gem: me again todays problem:
Spawn a mob once an hour
โก Yogurt โก: I was wondering if I could get some help for a script that spawns a mob at 0, 0, 0 once an hour in the nether (and does not despawn).
Adding Loot Table to custom block with inventory
Rebby: Hello, how would I add a loot table to a custom block with a custom inventory, similar to chest inventory?
1.20.1 update recipes for 1.21.1
Wi13Y82: Just getting started updating some Server event recipes from 1.20.1 forge to 1.21.1 neoforge. Looking online it looks like the Server event recipes were not really changed and should still be the same. I thought I'd ask here to see if that's correct.
remove tag from tag
Aceplante: why are nether wood blocks not properly removed from these tags?
Could someone help me with ISS With KubeJS
DarkHunter: Hey, I've tried to make custom items and spells with KubeJS Iron's spells mod, but ended up not going well.
Removing features by biome?
JamGaming1949: Hi there. im trying to edit the worldgen for a modpack im working on with a friend. We want to remove certain features from certain biomes. Is there a way to filter the "removeFeatureById" event to a certain biome. specifically im trying to remove windswepts holly trees from snowy taigas.
Get Item IDs by Regex
Eldritch Ewe: In my startup script I want to get all Cobblemon berries (already have the regex done) and run some code for each using of the item IDs, how would I go about doing this?
How can I make Tinker Tools not take durability on use?
Lucky: I specifically don't want to make them unbreakable, since I am using a mod that has items lose durability on death, unfortunately Tinkers ignores the mod disabling item durability on use, so tinkers just loses durability on use and on death! How great!
How to change Tacz attachments recipes?
oygurd: It seems tacz attachments arent the same as regular items in minecraft, the script doesnt read it as a 'result' for some reason
Blockstate dependent bounding box
UselessRobot: I'm trying to make a block where the bounding box is dependent on the blockstate, like snow layers. I had a look through previous questions about this but they're a little old and say it's not possible so I was wondering if there's been any change or someone found a way to do so.
having trouble allowing a kubejs item to receive trident enchantments like impaling and riptide
valurae: ServerEvents.tags('item', event => {
[PR review required] I've created a feature PR for kubejs_thermal
Tsukimaru: *See also: [KubeJS-Mods/KubeJS-Thermal#22](https://github.com/KubeJS-Mods/KubeJS-Thermal/pull/22)*
Help. How do I create my own command?
Lord Zif Tech: I was trying to figure out how to set up my own team, but I didn't quite get it.
Effect that deals damage over time that scales with movement
Bruh_Brother_: I’m trying to add an effect that damages an entity every 3 seconds or so, and if the entity moves, it takes damage more frequently based on how fast they are moving. Higher levels deal more damage. I’ve never done something like this before, so I’m a bit lost.
Custom Tier Tools compatible with silent gear?
ChouKpop: I wanted to ask if it's possible to make the script compatible with creating gear for Silent Gear. The new tier would be DESH, Tier 5
Disabling the hurt animation when lowering max health attribute? Or when decreasing health at all?
PARVUS ๐ฎ๐ฌ๐ณ๐ผโ๐ธ๐ผ๐น: Is there a way to note have the hurt animation play when you lose hp or health? Is that something we can do?
How to create a custom effect that applies when the player interacts with a chest in a structure?
Cr0w37: Hey I want to make an effect that summons a mob when the player opens a chest.
ProbeJS dump incomplete
UselessRobot: I'm not exactly sure what's going on but whenever I use the dump command for ProbeJS, some entries end up missing. I'm not able to test it but it seems to be deterministic, in that the same classes aren't dumped. I've cleared the ProbeJS cache and turned on aggressive probing to see if that would help but no dice. I do have a number of optimisation mods and I'm wondering if that might be the cause.
How can I change food properties of an already existing food item without changing anything else?
Darkus: I tried to run this command bellow, but when I reloaded the game the minecraft:baked_potato gained .alwaysEdible and .fastToEat property, even though I didn't write anything regarding them.
Adding the possibility to strip logs to farmers delight knives
Lemmy: Just wondering how to make it so farmers delight knives are able to strip down logs like an axe could, or if I need to do a custom crafting recipe for it
Tool tier modification overrides Quark
Kevin: Quark adds the ability to give tools a baked enchant. Golden tools are also given a higher mining tier through quark.
Disabling a specific json in a mod's data
Mesrszmit: I'm trying to disable Seed Oil and Ethanol being a fuel for Create: Diesel Generators, i tried replacing the .jsons with empty (just {}) files, but that causes crashing
Botany Pots script not accepting seed item
Puffer: So for context I have gotten the lead block to be considered a valid soil type and go into the botany pot. Sadly the ingot refuses to be considered a seed type and cant even be put into the botany pot. I'm not a pro at coding so I have no idea what I'm missing. I have checked that the item names are correct as well as their place in the script, but I may be wrong. Go figure right?
Entity js questions
Monkonpo: Can I give my entity glowing eyes and is it possible to also give them a custom spawn animation
how to detect if a player has a specific item in their inventory?
Arborescent: hi. I'm trying to write a script that will only continue if the player has the `kubejs:food_dex` item in their inventory. But I don't even know how to access a player's inventory? I tried looking through some of the code here but so far nothing is working, I can't even get a single item id. What do I do? This is what little I have rn
Hard Remove Tooltips
KateBulka: I know there was a user-made script on 1.20.1<= that allowed to remove tooltips based on their lang key, but I haven't found anything like that for 1.21.1 ๐ค Has anyone tried to do that?
How to make tools consumable after crafting?
JustTroniusPlay: I have crafting recipe that use Gregtech Tools. Most tools in the mod used for crafting and not being consumed fully. I found there **.damageIngredient()** to essentially consume a tool durability, but when I craft ALL tools disappear even when I specify: .damageIngredient('gtceu:bronze_' + tool, 9999).
Having trouble editing the configs of a mod through KubeJS
swifswaf: I don't entirely know if Sinytra Connector has anything to do with this, but I'm trying to edit the config of a cloud mod depending on the dimension the player is in. The code is from two different threads, but for some reason it can't recognize the setting I'm trying to change.
Directional block does not shift texture at all when axis is changed
ScarlettFrost: I'm probably missing something VERY obvious, but I'm not really sure what and I can't find the right info on the wiki
attack damage not changing on some weapons
Pie: I want all wooden weapons in my world to do no damage, yet it only works for wooden swords and nothing else in the spartan weapondry mod.
setting body rotation of an entity
Po: .setpitch() seems to alter the pitch of the head of an entity fine but .setYaw() doesn't work on the head or body for some reason
looking to add a recipe in the circut slicer from Extended AE
SwiftPawn35: i can seem to find the callback needed for the process for it, any ideas?
Using Fancy Menu and KubeJS to create a GUI for the Source Relays in Ars Nouveau
Rebel86: I would like to use Fancy Menu and KubeJS to create a GUI for the Source Relays in Ars Nouveau. I know that it's possible, and where to get started, but nothing about the more complicated details.
custom gui
Monkonpo: i have this custom gui for my power that i want to be used for the energy and health if anyone could help it would be very helpful and later on i also want to put a icon in the circle this is for a palladium kingdom hearts mod
curios editing
leon: i want to edit the nbt of a curios item but i dont know how because the player is wearing it
swing item in off hand
imBL4CK: I'm making an item similar to Flint and Steel, but with its own unique features. It's usable in the off-hand, but when used, it swings the main hand instead of the off-hand. Could someone help me with this?
Create Kubejs Keep NBT?
Berlium: I have a sequenced assembly that i use but idk if is possible for it to keep nbt when creating an item.