Support Tickets
This page is still WIP!
Dumping all chest structure loot tables with LootJS Addon for 1.20.1
Frog.: Does anyone have a script or example on how to do this plss
Farmers delight addon, hearth and harvest
Engineer_Ashe: I was curios how I could add recipes to the cask from hearth and harvest, I remember there being a custom recipe type that could hook onto other mods stuff even if it doesnt have a direct method. So if anyone could help that would be nice and wanted to ask here before I went and asked the mod dev in his server as I figured he would re-direct me here
Energy-using Block Entities
bwhitta: Howdy! Is it possible to make it so that a custom block entity requires energy/power?
attempting to modify the poltergeist item (Celestisynth) always returns with an error
RGBgamma/stockphoto: for some reason kubejs does not want to acknowledge the poltergeist. it works perfectly fine with the other celestisynth weapons but it just. doesn't like the poltergeist for some reason
Proplems with adding recipes Mekanism: More Machine
XantiFuchs: Hello everyone,
Turning this into a ticket to avoid blowing up another post!
PARVUS 𝑮𝑬𝑳𝑼◆🌸🌼🌹: This is in reply to a message: https://discord.com/channels/303440391124942858/1474144029435367576/1494277091301261392
Trying to run a series of commands on world creation
Spookysquid19: I saw a similar post from a year ago but didn't want to necro it, so I'm making my own.
Control mob spawning
Xmapka: I want to control mob spawning and I'm happy with how everything works in related script except that baby cows keep spawning after breeding. Yes, I know about incontrol, but I'm curios in implementing it all on kubejs.
Help with Entity Spawn Contol (EntityJS)
MistaUnlucky: Yo, I'm tinkering with entity spawn control. And I was able to make it spawn to a specific biome (Mushroom Fields) but they seem to be spawning in too much in a short amount of time and not stopping (Comes to the point it spawns about 2k in like less than a minute).
Not sure exactly what this error is, can someone please help?
Pagan: I'm trying to add custom cards to the Buddycards mod using KubeJS, but idk what I'm doing really. Is there anyone here who can help me with figure out how to properly implement it? Here is my item registry layout (which is what I got from the mod developer themselves), but obviously this is how KubeJS actually registers items/blocks etc. How can I change this enough to make it work with the systems already incorporated in the Buddycard mod itself? Along with the code are the `latest.log` and `startup.log` files incase someone is wanting to take a look and what happens when launching the game with this code specifically.
Custom music disc trouble
Alcates: I'm trying to use the example script https://discord.com/channels/303440391124942858/1236820803014627360/1236820803014627360 to register custom music discs, but they make no sound. The disc registers with the correct lang, tags, and texture. The jukebox accepts the disc and says it's playing, but there's no sound. I did verify that I could hear vanilla discs, so it's not a settings issue.
Can't access player inventory during openChestGUI
Pambo: Probably the same issue as here but I thought I'd try anyway.. maybe there is a solution by now https://discord.com/channels/303440391124942858/1409681502974902342
Having trouble with a recipe involving custom fluid in a modded recipe
TomatoSoupter: Trying to make a Brewin' and Chewin' fermenting recipe to create a custom Wardenzola fluid based on Wardenzola from Dungeon's Delight.
how to get arguments from recipe data
MeeM: I'm too lazy to see recipe data one by one(especially too many recipe data like an all TiC alloy recipe)
Kubejs and AStages Mod tweakin
Plurixity: So im trying to get it so that the crafting recipe for the mace is only accessible for players with the wind stage, but for some reason whatever i do and try to remake it over and over it wont work, it always lets me craft the mace.
How do I replace pre-existing biomes with other ones?
Veaper: For example replacing a plains biome with a birch forest
How do I replace ingredients in a recipe with a count of ingredients?
genderneutralnoun: Title. I want to replace the ingredients in a Create mixing recipe so that instead of taking 1 copper ingot, it takes 3. I searched the wiki pretty thoroughly for an answer; couldn't find one.
How do you make custom armor in KubeJS, as well as models for it?
SkippyZii: I've tried making armor at some point but I kind of am not clear on how you do the part where it renders in game on your character. Also, is it possible to have custom models for it, like for example I want to make armor that has the model of a wizard hat. Cheers!
Making an existing block transparent
Toastr125: Can it be done? I mean transparent in the sense of letting light through. I still want the texture to be opaque, just let through.
item disapier
roccop1101: Is there any kind of code or script (for example in KubeJS or similar modding tools) that allows items in a player’s inventory to disappear under certain conditions?
ctx.source.player is undefined
sylqui: i'm on kubejs 1802.5.5, trying to make a simple command that just teleports you to spawn:
Updated KubeJS, tooltip issues
qwerty97475: So I have this script in client scripts
Specifying input/output components
deaderg: Hey! I'm working with the KubeJS Create addon, and trying to use sequenced crafting to allow the player to craft one enchanted book into another (in this specific case, unbreaking books into indestructible books from a mod)
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 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?
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.
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.
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.~~
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
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.