Support Tickets
This page is still WIP!
Drawer Recipes
D.A.V.E.: Hey I'm trying to create a large amount of recipes that all use minecraft wood types as inputs. I made a script once that used a table and called from it for the Wood Types and I want to do that again but I've forgotten how.
JS Delight Miners Delight parser error
zeroneon: Seems like Miners Delight has some kind of incompatibility with JS Delight - unless I am doing something wrong.
How to hide pre-existing tooltip
Rhioost: Hello, how may I hide the highlighted text that comes with the mod?
Remove Create Diesel Generators Burner from valid heating block in JEI
hyperstitiousdiskordianwarfare: I'd like to stop the Create Diesel Generators Burner from showing up in JEI as a valid burner for the Heated condition. I've already tried hiding it from JEI and I have it in Item Obliterator. Any idea how I would go about doing this?
Spartan Weaponry Custom Weapon Tiers
Berlium: Trying to make custom spartan resonarium weapons for all material types in deeper and darker but the DDtiers doesn't exist
How to get when an item was smithed?
Annie: It doesn't seem to fire the event for... `ItemEvents.crafted((event) => {` so I'm unsure how to capture it.
Help creating a new create sequence recipe with a Create: New Age Energizer step.
Zurite: Like the title says, I'm trying to add a sequence recipe using the energizer. My current idea is to create a custom recipe, but it seems to not like me very much at the moment. If it's possible to use the energizer within a regular create sequence recipe I'd love to hear it :D
Registry errors when modifying unrelated recipes with Create: Klinks n Klangs installed
Grim: As the title says. When I tweak an unrelated recipe to Klinks n Klangs, I get an error log with the root appearing to be Unknown registry key in ResourceKey[minecraft:root / neoforge:fluid_ingredient_type]: minecraft:fluid_stack. I am not doing anything with fluids in my changes.
Immersive engineering arc furnace recipe
Bode: im trying to remove all craftings for brass and creating anly one made on the arc furnace, but it doesnt seem to work
Error Message when people try to join
Anonymous: I am using the essential mod for multiplayer, and when people try to join my world they get this error message. They have all of the files for the modpack I do, and some days it works while some days it doesn't
Texture file check
UltraPuPower1: Is it possible to run a check for a texture file?
Productive keeps stats
Mays: Is it possible to have the item to keep its previous attributes and just change the tool to it results and keep any other data it had, such as enchantments apotheosis reforges/gems
Hooking up another mod to make a custom item
LolsShow (Podcasting ARC): I want to add a custom spear for Rose Gold from [Additional Additions](https://modrinth.com/mod/addadd) and use arguments and base from [Backported Spears](https://modrinth.com/mod/backported-spears). I know that you can do it, but how?
Can i use kubejs to change all ingame text colors to §5 (dark purple)
Cloud: I already changed some texts in the main menu to the color i wanted manually by adding the §5 in some lines in en_us.jason but doing all of it manually is way too time consumming there is 6000 lines of code in that file, any ideas to make it automatically changed all the text to the color i want ?
How to make mobs spawn in specific structures/biomes?
Kammy: I've spent the last few hours reading over the wiki but, I can't seem to understand what I'm doing wrong, if someone can point me in the right direction it would be a big help
How to prevent KubeJS trying to automatically put a fluid colour on a custom bucket item?
Geyrnauch: See the screenshot for details -- I have created custom bucket textures, but KubeJS keeps putting this annoying (default white) water-like fluid over the top of it. It would be great if this didn't show at all!
Removing placed_structure / patches ?
JustNatan: trying to remove chalk patches amd cork trees from arts and crafts
Change a specific Jei renderer
Sinn Sinnamon 💚: I have this mod but I wanna change one little thing about the rendering (mainly because it doesn't work)
how to make biome specific villager trades?
Kruta Zhaba(the coolest frog): it's for my modpack
How to modify ALL items at once?
𝓗𝓾𝓫𝓮𝓻𝓽𝓪: How would one go and modify the properties of all items or all items of specific type? To ie. make all items edible or all food inedible.
hasCollision not working
Danymaddox: Hey guys! Im trying to make ash block from Supplementaries to have no collision (so create plough can harvest layers/block) but i cannot modify the block no matter what i try. Here's my code:
Kubejs
Rantspider: Is this the right place to ask about a kubejs script? I wanted to set up something on an ATM10 server so when you do /rtp instead of teleporting you instantly a gui pops up where you can select the overworld, nether, end etc I know nothing about that as when I've made little servers for me an a few friends in the past I've always just used plugins or whatever but apparently ATM10 only likes neoforged as I've read online it's been racking my brain for hours trying different scripts to see if they work but nothing happens
Do tooltips have translation keys?
bog (ping if you reply): Hello! So, what I do for my pack is I register the items and then actually name them in `assets/kubejs/lang` since I personally like that method a lot more.
Help with unifying recipes (AKA: Please stop adding squid parts to your Farmer's Delight addons)
DiscoTech: I have four different mods in my pack which add some form of squid drop, whether it's the whole squid or just the tentacles or both. Some of their recipes use conventional tags. Some use their own mod-exclusive tags. Most don't use any tags at all.
Is it possible to add one loot table to another with lootjs?
Burning Sulphur: I know it is possible with datapacks, that's how fishing works. But i can't find any examples of people using a loot table instead of an item in .addLoot()
make ae2 crank charge thermal machines
Ggki: as the title says im trying to make the ae2 crank charge thermal machines (spesificly the energy cell for now)
Write Enchanted Books
archemagos: I want to add a cool mechanics where player write a long spell inside a book and use a lapis lazuli in offhand with book in main hand to trigger item swap for enchanted book.
Trying to add create sequenced assembly support to some AE2 recipes
Bladereaper: Hi, Currently I'm trying to understand how sequenced recipes for for KJS but its odd..
prevent Tempad in Biome
mr_ron: wondering if kjs supplies a way to prevent the use of Tempad https://modrinth.com/mod/tempad in a particular biome?
How to make a spell that shoot projectile?
Evan: how to make a spell that shot some thing like an arrow for example.
Entity with nbt not spawning
DANMATISK: the marker spawns successfully only without the setNBT line
detect and disable lgbt quark bees?
Aceplante: I know this is a long shot, but anyways: quark currently renders lgtb bees in game even if explicitly disabled in the config, at least in versions 1.16.5 and 1.18.2.
Playing sound when a quest gets completed
Ekazuya: I'm trying to make it so certain quests play a custom sound when completed and while this:
how do i make a villager only bed?
Kruta Zhaba(the coolest frog): so players have to make their own beds to skip the night
Change texture of custom fluid bucket
ggerald_: How do i change the texture of the bucket of my custom fluid
Add nether_quartz_ore to terralith:scarlet_mountains
AnderZytolga: I want to have nether quartz generate in scarlet mountains (because nether is disabled) and I cant see to get anything working
Changing what can break certain blocks
Misho: Hello everyone! I am planning on making a mod pack with similar progression to Terraria's, but I am very new to this stuff. I want to somehow make some of the blocks and ores to be only minable with certain pickaxes, but I am not sure how this could be done. If anyone is able to help me find out what to do I will be beyond grateful. Thank you and God bless!
Custom command replace
Estatrix: I'm trying to make it so that I can have custom commands that replace already existing commands, in this case, "Immersive Messages" mod.
Hot Item
Chdoorwe hellsin: how would i make an item that dmg the player when its in the player's inventory
Custom 3x3x1 mining tools
D.A.V.E.: Hello, I'm trying to create custom 3x3x1 mining tools E.G. Mining Hammer/Excavator I also want functionally to have the hammer/excavator to only mine one block of it's mining type while shifting
Getting an error after modifying weapon stats
tln_: A startup script, so it prevents me from launching my instance!
How to store a scoreboard in a variable
Tropico: It might seem simple but I can't figure out how to store a player's dummy scoreboard in a variable to reuse it later in a conditional statement I've only found how to see all the scores but not their values could you please help me
Force Open Inventory
capa2: I configured that allows me to toggle on and off the inventory crafting slots (which i have currently triggered by the luck potion effect), and everything about this code works so far other than i want it to try to open the player's inventory when they rightclick the custom block I made, allowing them to craft until they close their inventory (because i really dont want to make a mod with that functionality it seems very hard and this method seems to work for what I need it to) .
Curio attributes don't stack
Wyvernity: ```StartupEvents.registry('item', event => {
Default Item NBT data for Thermal Series Augments
Nerx: trying to make custom integral components with some templates i found in this server, there are 2 slots for other items which i have no clue what they were, so i just placed some random create and minecraft junk into them for now to test, does anyone know what i should actually place in there?
Sound Registration and Startup Event not working
Kydian Nestoris: Neither the voicelines registration nor the StartupEvent login is working. No errors are shown for KubeJS, probably not even read => folder structure problem. I've attached the one I have + both files that don't work.
Converting translation key to string
Grim: I'm trying to get the name of an entity and convert it to a string to store a completion counter for Gateways to Eternity gates. I can get the name using entity.name, but when I try to do string operations on it, it starts giving me a translationKey. How can I just get the displayed name as a string?
Scaling attributes in Pehkui
Lampent51: I'd assume editing [Pehkui](https://www.curseforge.com/minecraft/mc-mods/pehkui) attributes would be the same as editing base Minecraft ones, but I can't seem to make it work? The `safe_fall_distance` works fine, but `knockback` doesnt. I tried making it `pehkui:generic.knockback` but it wouldnt work either.
How to read files in KubeJS
Lightning323: How do I do it? Is it even possible? I want to read the JEI blacklist from the config folder and erase recipes from the items listed.
Trigger entity event (cast spell) when mob attacks using onHurtTarget
marcnum2: The following code causes a spell to be cast every 20 seconds, however, I'd prefer the spell to be cast onHurtTarget.. Is there any way to incorporate this? Maybe I can link the server script to a startup script?
How to create Item Application recipes using KubeJS Create Addon?
MasterNinad: An example of doing it via JSON, how to do this dynamically using KubeJS Create?
EntityJS how do I add custom sounds to custom mobs?
LgndTheDredgen: I'm trying to update an old custom mob but I don't know how to add custom sounds to it, I also wanna add several sounds simular to how a zombie has multiple hurt sounds.
Scoreboard script help
DSTC: Im trying to get into coding and i have been using this to help me learn so im trying to make a scoreboard I have economy craft in my game that adds the scoreboard I used another economy mod that added players ranks and ping in ms above players heads and in scoreboard and is no longer in the game I wanted to make a custom script to do that and was wondering if I could get help with that roman is the newest player to the server after all that was done and none of the ping times update
Cobblemon Raid Dens addon & KubeJS cancel event
MisterLov: Hello everyone, I am a bit confused regarding this stuff. Does anyone know how to deal with custom events from tier mods ?
EntityJS help
WaterConsumer: I took the script of a older post here and tried to tweak it a bit. I want certain mobs to avoid lava and tfc bushes. My current code does not work. Any help?
Is there a common jar release?
SirEdvin: I am trying to implement some custom kubejs integration for my mod. Is supports both fabric and forge. Is there a common jar artifact I can use for this?
Convert number to int
Hajsori: Hello I want to convert a number to an int. I already tried this:
Bucket for Custom Fluid
Curlooo: I wanna make a few custom fluids, the issue is that the bucket has in-game the "no texture" texture, I tried .bucketcolour() .bucket(), in the event fluid creation, they both are invalid functions as the error says, as well as thickfluid() and thinfluid() I heard that they got removed in the 1.21 version, so my question is how do I make a fluid bucket that works and has at least some kind of texture.
crafting from an enchanting table
Syrax 🌙: I'd like to make poisonous potatoes enchantable, and *only* when enchanted with a level 30 enchant in an enchanting table, instead of the regular item it replaced the output with a custom item (I already have that)
Block Modification for Generated Blocks through GTCEu Tag Prefix Method
Nill Bye: Some background, if anyone can help with this; I'm trying to program some compatibility between TFC and GTCEu, primarily by adding the non-vanilla TFC stone types to GTCEu's ore Tag Prefix. It's done through this code:
how do I make make spells from Iron spells and Spellbooks as enchantments?
Cr0w37: I have a spell here added as an enchantment but it doesn't work and I am unsure why please help.
Changing tamed mobs attributes
MonoRedBaron: Is there a script I can use to change the attributes of tamed mobs? For example, changing the max health of wolves to 20 when they're tamed.
Player Events
Algrate: Hello, I want to know how to make player event scripts. I checked the wiki but player events section wasn't complete. I'm specifically trying that whenever the player wakes up from the bed (when it gets day time) server sends a certain message. Can someone help me? Thank you!
Need help for making Brewin' n Chewin' recipes
fisto planet: Needing some help regarding BnC recipes, as I don't know how to properly register fluids for recipes(both input and output). I also want to know how I can assign fluids to items so when you right-click a Keg with their item, they dispense their respective fluid(example: create honey bucket dispenses honey into keg).
sound not registering/footstep sound question
MintiestKitKat: i'm attempting to make a block which sounds identical to glass, but doesn't have a footstep sound, but it isn't working. what's going on here?
Sync Player Data
Dusty: I have a script that lets players put a coin pouch in a curios slot. Coins will be automatically placed into the pouch and compressed.
add blocks that require support
asof: i could implement this pretty trivially with a neighbor changed event, but i'm not aware of anything like that so i'm kinda suck
need help with grass-like blocks
HoneyVee: i need to know how to make blocks like this require support at the bottom, and not be able to be placed on top of each other
Kubejs tool tip colours don't have all the vanilla colour options
Burning Sulphur: trying to add a ```dark_purple``` tool tip but can't
Mass replacing Modded items.
D.A.V.E.: Ok. this one is a tall order but I'm going to try. right now my pack has two mods Overgeared and Create: alloyed. they both add Steel armor and weapons/tools. I want to replace any instance of Overgeared's steel armor tools and weapons with Create: alloyed's. this includes both recipes that use them and recipes that have them as outputs. whats the best way to do this?
make block require support, like flower/lantern
Aceplante: I know how to create blocks, but what tag do i need to add to make it need to be supported? Currently it can be placed on walls or midair?
How to get a non-static method of a ClassJS class?
radzo73: Based on the example code:
Renaming items doesnt work at all
HottingGobllin: here is a code i found on yt but it doesnt seem to work as the items have the same name that they always used to have idk if there is something wrong with the code or something else
Kubejs-Curios item to apply imunity
Inflitraz: I'm trying to make a custom item with curiosCapability to make the player imunnity to blindness, I already try do make it using curiotick and player.potionEffects.remove,
Okay now i get a error thats only happening in turkish language epic instead of epıc can anyone help
Asgore: im tryining to dowland the alienevo mod but this stops me from doing it you guys actually solved this but only in 1.21 can anyone help me with this
Need a loot of help to make books from Apotheosis
Gojo_Manjiro: Recreate the enchant books from apotheosis
About how quest tags work
Anonymous: There seems to be something called "tags" in FTBQuest's quest parameters, which is "used for kubejs events". How could I use this system to add a scoreboard value when a quest with a said task is completed?
1.18.2 Fabric Block Modify Script not working
Anonymous: I'm trying to make a script for specific blocks that makes it take longer to break for example stone, I'm using the KubeJS wiki provided script on how to change this, and yet still it crashes. Here is the script:
water purification
LLDJ: So i want to be able to purify the water in a canteen
How to detect if certain items are above a block?
sleepingoverrated: *please do not directly provide me with code , i wanna learn
Is there a good way to transfer all tags from one block to another?
DayTheMagpie: I'm trying to add all tags from Project: Vibrant Journeys's hollow logs to Quark's hollow logs. I know I can do it the long way adding each individual tag to each log, but is there a quicker way?
Is there a way to place a block?
LLDJ: imagine a right click with a item and then i want it to place a block where i clicked. but not replace it. place it against
Recipe Help
Plazzy: I'm using the following code and EMI does not display the correct input items:
custom block that can explode like tnt on right click or can execute command on right click
YigitAKLN: ```JS
Is this right to change how long it takes to mine a block for 1.18.2 fabric?
Anonymous: ?
Weak Item Component Matching
Scout the Saneless [pls ping]: Guess who's back trying to mill her specific player heads! Still trying to wrap my head around this, as the recipes generate, but they won't initiate. I assume there's no `weakComponent` thing like there was in 1.20 in the form of `weakNBT`.
random item
Aiko: i just want a script that onces you defeat the boss it gives you a random item
`player.setSprinting` Doesn't really work.
Neohedron: was doing some brief testing for an idea I had and it looks like `player.setSprinting` is more of a suggestion than an actual means of stopping a player from sprinting. I figured this would be an easy means to prevent the player from sprinting unless certain conditions are met, but a player can easily circumvent a recurring `setSprinting(false)` call by just holding down the sprint key. After a few ticks `isSprinting` returns false, and continues to do so, even though the player is clearly sprinting. Am I going to have to eat the player's sprint input instead? How would I do that?
How to procedurally generate recipes for wooden planks from modded logs?
motley: Good morning/afternoon/evening everyone,
Need help with a TNT Crossbow
Anonymous: I'm trying to make some sort of a tnt crossbow, for 1.18.2 fabric, where whenever a custom crossbow shoots, it shoots out tnt (cant be just explosive arrows)
Custom commands not working
Beef Cake: I am simply trying to make a custom command and make sure KubeJS is working as I expect,
Error with LootJS when trying to remove a drop
tln_: This is what I currently have and it's throwing out an error when I put it in server scripts
RecipeViewerEvents.removeEntriesCompletely & StartupEvents.modifyCreativeTab bug? together
dejeh: startup script:
Play sound when open custom block inventory
Jere: Ive created a custom inventory on a block with kubejs, how do i go about altering blockstates when its open, playing sounds etc?