Support Tickets
This page is still WIP!
Garden Cloche.
S-s-Spudd: Hi, I was wondering if i could "force" the garden cloche to accept a dirt/soil block from dire things rather than me having to create individual recipes for each thing. I've checked out the wiki and have done the base plate code which works but that would require me to create a recipe for each plant. <:PotatoBUFFERING:1214760149487722576>
making a terraria style hardmode?
Frosty: i wanna make it so when you enter the nether, mobs get more health and higher damage but i dont think anyone here has done it with just kubejs before
Item Fluid Value
♣Khalito♣: How would I make an item have a fluid value? Similar to how a water bucket is equal to 1000 mB
Craft condition
Shackull: I really don't understand if I can somehow add a crafting condition for an item, or something like that. (For example, it can only be crafted at night, or if the item is in your inventory.)
Turn existing item into staff With Irons Spells JS
Opanyo: Anyone know how I can take the example script for making a staff from the irons spells js wiki and use it to instead turn an existing item into a staff?
How to change Create's stock ticker network frequency
pietruszka123: Hello, I'm trying to create a custom structure with a create shop but all the structures share the same network frequency. The structures are created using structure blocks.
Apotheosis Attributes
Ouppy Elle: is there a way to have items that are crafted gain a random apotheotic attribute, similar to terrarias random prefixs
Can I make scripts that work on both 1.20.1 and 1.21.1?
Deano: Basically as the title said im interested in what the limitations would be in making scripts that function in both of these versions
Issues trying to create a log block with rotation
Chollice Ketteridge: I'm trying to recreate the latex mechanic from cherry flavoured in my 1.21.1 pack and I've mostly got it working with just a couple of issues.
Create Compacting Recipe
Anonymous: Below is a ZenScript recipe for Ochrum which combines 2 tuff blocks, 1 granite block and 25mB of lava to get 1 Ochrum in return.
custom entity ai is not functioning
SOSSALMON: hello I'm on 1.21.1 neoforge, I'm trying to do a calamity modpack with confluence: otherworld on neoforge 1.21.1. please ping me with response if anyone gets the time
Knockback
Wi1d_Buffal0: I wanted to set knockback from mobs really high because I figured it could be funny, but I don't really know what I'm doing when it comes to entity related events. Like I don't have any scripts or anything, that's how confused I am.
Can someone help? I don't know what parameters can be put in or where to even find these parameters.
Bubbleboodypfftt: I just wanna make blocks explode when right clicking man
Remove a block from world generation
Emilie et Ælissa: So, there is a mod that generates structures and also adds some blocvks, and I would like to remove a specific block that gets added to the game. I just want the block to be gone and non-existent. How can I do this? I figured it'S gonna be BlockModification, but there seems to not be something that I can sue there.
need to do this for a range of chunks instead of the one set of chunk coords
this shit bussin: i also need to undo it after x amount of time via the remove command.
no more insta break
Skemech or something: How could would I make it so blocks like sugar cane, grass, tall grass, ferns, mushrooms, ect. not be instant break anymore?
how to make mobs target/attack Valkyrien skies ships?
Cr0w37: Is this even possible? If so help me plz
RPG classes
Joaco2702: Hi, I'm trying to create different RPG-style classes for my modpack. I currently have six classes, and I'd like to know if anyone can help me create the code block for weapon debuffs for certain classes. I'm using GameStages for this.
How do I possibly use the hitbox when making a block
ItzByc (Ping on reply): I want to make a plushie with a model I have from blockbench but idk how to make it's hitbox workable
Use AnimationJS to cancel better combat animations
EyesEyes: Can I use __AnimationJS__ addon mod to directly __cancel better combat animations__?
How do I make one item become another item by dropping it?
TheEpicDragonCat: I don't need much help just the names of the commands that would make this possible.
block ui
rhyley: just need help with making a block with a ui i can change to allow me to make a custom way to craft something
System for filling loot table by difficult or tier
Hudoki Yicade: How I can create the system which can help me, I have a lot of items and a lot of structures, and I wanna put them into loot tables by their "tier" or "difficult", common item can be founded in overworld, uncommon in overworld with lower chance and in nether with default chance, rare items is common for ender etc
Change on fail
Mays: Is is possible to have a chance to fail with the pressure chamber from pneumatic craft
Editing or Adding Description to Mob Effect
Lampent51: _Overall,_ I want to add a description to a custom mob effect, and to eventually add descriptions to effects that don't yet have them in EMIffect/JEI.
[Models][Armor] not showing
Mr.Fluff: im not sure what im doing wrong here but none show the modes they should when worn
hostile entity in the works
Dracoruff1211: how would i change this to be player? i want the mob to automatically attack the player(for now) till i make him use spells in tandem with animations.
automatic equipping items
Dracoruff1211: how would i automatically equip an item to an entity?
Can i make a mob break blocks in front of it?
HolyCartoon: One of the bosses in my modpack sometimes gets stuck on leaves / snow can i make it only break these blocks
I get an error because of unvalid text chars
cluxy: I think there is a encoding error because of my windows language. My windows language is turkish. When I tryna play a modpack this error popping up. I dont know why. I got this errors when I try to play Lucky World Invasion.
fire check
Π΄Π·ΡΡΡΠΈΠΊ: is there a way to check if an entity died from fire?
NBT Data when declaring items
jaro: hello! i was wondering if there was any way of adding nbt information to items when declaring them in the startup script, as id like the vanilla stat display (whats underlined in the first pic) to not show up
how do i make a block entity
rhyley: i want to make a block entity with a custom ui to craft
Warp, or set permanent spawn point every time a player connects to server.
Anonymous: Is it possible to set something up, where as soon as a player connects, they warp to a specific set of coordinates? In my case, tp -56 315 253 in the overworld dimension. But not effect things like respawning at beds etc. Just every time you connect, you spawn in an exact spot.
GeckoJS Custom Armor Model issues
Chef_BOI_Ardee: I finally figured out how to add a custom helmet with GeckoJS, but when my player's head moves around, it seems to be anchored at my feet rather that staying attached to my head. I also consistently crash due to a rendering error if my startup script has the following after the ``.boneVisibility`` part of item registration: ``renderer.setAllVisible(false);``.
Trying to remove categories in emi/gui
CostlierSquid: Hello, my goal is to literally do what is said above, to remove categories seen in jei/emi. I tried using the the code listed here but it didn't work, so I would love to see if anyone could help me with this.
i want to make that moss block isnt at 65% but 100% in composter
Vetex: i dont know how to do it can someone help me?
How to add goal to zombies to throw projectiles at player when towering up?
EyesEyes: I also will later animate the zombie model's arms so there is a windup time for the player to react.
KubeJS Startup Script Errors
Misaki Mei: Sorry for my terrible English, it’s not my native language.
Custom armor models for clothing
seven: Posting this as a sequel to [this](https://discord.com/channels/303440391124942858/1464322649462149190), but with a lot less text: does KubeJS allow creation of custom armor with completely custom blockbench-made models and textures? I watched [this video](https://www.youtube.com/watch?v=kh1ojgpyenQ&pp=ygUdY3VzdG9tIGFybW9yIG1pbmVjcmFmdCBrdWJlanM%3D) but the custom armor's models seem to just be retextures of vanilla armor; my goal is to have custom clothing pieces such as hats, jackets, boots, all made through blockbench, but I haven't seen this being done anywhere while googling. Is my only option adding a clothing mod and changing the models and textures of clothing added by that mod, hoping the amount of items is enough? Is it even doable?
Entity lootjs not working on summoned entity
Stonurd: Hi, I added a loot to a entity the alexscaves:gingerbread_man and its not working AND working at the same time:
Prevent Bottling Water
BodhiSmith13: I want to prevent the player from filling water bottles by right clicking water blocks with glass bottles.
more than four spells
Dracoruff1211: as it turns out, on geckolib entities, you technically cant override their ais, since they uhhh ig have no ai??? its wierd. anyways since i found that out how would i give a mob more than 4 spells via this
event custom i have no idea
es7509: [01:14:35] [ERROR] ! generalrecipe.js#413: Error in 'ServerEvents.recipes': TypeError: Cannot find function toResultJson in object 1 ender_eye.
How to remove items so they don't show up in JEI/EMI and players won't be able to craft them?
Valerie: i read some of the posts regarding removing items but they are still pretty confusing to me. there are some duplicate items in my modpack and i want to remove them, how do i do that using kubeJS? also do i need to make a new .js file in the folder? which category will this be in? (client, startup, server)
Entityjs: creating new entities based on existing class but with different assets and hitbox
kirb: i want to use what i read on https://github.com/liopyu/EntityJS/wiki/Clone-Entity-Registry-Event to create new entities based on the class of an existing one, but i want their hitboxes, models etc to be different. Are the other parts of the wiki valid for this?
spell casting not working
Dracoruff1211: not using echoes of tyros version just for any wondering(not even sure if that would crash with irons js or irons js just wouldnt work)
Broad Curios + KJS question for custom clothing
seven: Prefacing this by saying that I'm new to working with Minecraft scripting/modding in general. I'm currently working on the modpack for a server I'm working on, and I couldn't find a mod online that added clothing I found on-brand with the server's steam/decopunk theme and allowed KJS to add/remove/edit said clothing. So, by doing some brainstorming and googling, I imagined this approach:
Component syntax in custom recipe works in one case and not another (for the same recipe)
heimdal: I have a mod recipe for which I'm trying to add an item with a component. I've got a working syntax which gives a valid result for one input, but when I use the same syntax on a different input (for the exact same recipe, so literally just changing the strings) it throws an error (exception occured when decoding a given StructField [Field: ingredients]).
How do I make a recipe keep enchantments
wan6845: I'm trying to make a recipe for a helmet that requires another helmet (crafting table recipe), is it possible to transfer the enchantments from the original helmet to the new crafted helmet
Lower water level with right click
LLDJ: I have a mod that adds water physics and legendary survival overhaul. i want to make it so that when you right click water with a canteen it lowers the water level by 1.
Make every tool have one durability and "Use Tinker Tools" tooltip, but not tinker tools
Fluffy Red Panda: pickaxe, shovel, axe, hoe and sword but not with #forge:tools tag
block entity help
rhyley: i need help with getting a block entity working with a ui for "crafting"
How to check nbt on block
Hudoki Yicade: I want to make it so that when I place a block, there is a tag on it, and so that in the future, blocks that appear in the world from a certain list cannot be mined by the player, but if the player himself placed the block, then he could mine it
How to make create mixer not consume item
Bladereaper: Hi, I am trying to setup a script to make it so the create mixer can mix an item but not consume the template in the basin just the ingot, how would I do this? I couldn't find any documentation of it?
block entitys
rhyley: just want some help to find a template for block entitys and all the different things i can do to then aka like gui and stuff like that just want to know some options
playing block bench animations in world
Po: i have a ritual that when right clicked i want to play this animation is that possible with KubeJS?
fetch `final_density` at a provided `Blockpos`
Neohedron: So I found that someone was able to do this back in 1.20.1, but with probejs I can't see the `.generator` object on `level.minecraftLevel.chunkSource`. Obviously I changed the event hook and am using `Java.loadclass`. But where is `.generator`?
I want to make it so when i order wolves (or any tameable mob that can sit) to sit or stand it shows
Sound: I want to make it so when i order wolves (or any tameable mob that can sit) to sit or stand it shows on chat, help please.
Create Mixing Help
Max: Hi, Ive got a working recipe that will have water and 2 items as an input with a chance of one item as an output. Is there any way to make it so that one of the items stays in as a catalyst of sorts?
trying to set item model
β§βΛβ§ π΅ππππππ β§Λββ§: StartupEvents.registry('item', event => {
Rendertype not working as intended...?
DaGamer5T3w: It doesn't change how the block renders at all
Changing the values of specific items wont work
HolyCartoon: I wanted to change the values of the wooden armor but they wont change. Ive copy pasted the script from one that works (all the other ones work) and the item id with /kubejs hand in case of a syntax error, yet it doesnt work and it has no error showing on /kubejs errors startup. Am i doing something wrong that doesnt get caught by errors or what
Recreating the functionality of bone meals
Pakaru: I'm adding an item that is essentially the final upgrade of bone meals, a bone meal with infinite uses. I was wondering if it's even possible on fabric, considering forge events don't exist here, i can't use the bone meal forge event.
Ban Enchants
Señor Carlitos: Hi I need to blacklist certain enchants, for example: "minecraft:mending".
I cannot make more than about 6 exception, when banning recipes
Señor Carlitos: Hi! I hope somebody can help me. I am making a modded server where more of mekanism will be unlocked later. Right now I just want the materials to be able to be processed.
Aftertaste potion effect
ItzByc (Ping on reply): I tried using the script that is in this post https://discord.com/channels/303440391124942858/1448064914169266216
How disable vanilla item or up the chance of the item mods like (cobblemon)
Slaazey: can someone help me, i dont know how do that
Mass Change 1 slot of a 3x3 recipe
fairbanks2126: I need to change 1 out of 8 identical items in some recipes, how do I do this?
whitelist for an potion bag
β¨Sarahβ¨: im using the wallet_menu.js to make an potion bag, but i dont know how to make create an whitelist for the container
Cancel player shield blocking
Helore: Hello guys, is is possible to cancel player blocking with a shield? Right now i have this code, but it doesn't seem to work:
How would one would create a tag??
Bladereaper: Hi, I have a block that can only be broken with stone tools, but I want to change it so it needs a more difficult tool to break, mainly a gilded quartz pickaxe.
.setLootTableJson() doesn't work
Mowo: So.... is there any alternative way to edit block's loot table in startup scripts?
want to bulk remove recipes in Mekanism
Leopotion: i want to for instance, remove all the "upgrade" recipes from basic to advanced
GTMaterials.get not working properly.
PotatoBro: I'm trying to give Andesite Alloy a recipe, but when I use GTMaterials.get('andesite_alloy') it considers it as a null state and crashes. I don't know why.
How to remove the "emi:info" of a specific item
mykullwave: I haven't used KubeJS a day in my life, but whenI tried to do this all it did was remove the info tab of every single item.
What's the 1.21 equivalent of Utils.getRegistry()?
mo_mo (ping me): trying to update this example script: https://discord.com/channels/303440391124942858/1148963004193460225
Join message using KubeJS
ItzByc (Ping on reply): I Want to make a message that broadcasts to everyone on the server I am rn, telling them that a member has joined for the first time
the quests kill task tweaks mod player hit data location.
RARE PANDA: Guys does anyone know where the "quests kill task tweaks" mod stores the players that it the entity data? im trying to remove it with kubejs under certain circumstances.
Allow google to ONLY index the support and example script forums with AnswerOverflow
EyesEyes: Thought it wouldn't hurt since we already have the support forums on the kube js website.
Custom Taming Items?
Doctor Doodooβ΄²: Does anyone knows if its possible to make custom taming items? like if i could tame a wolf with a diamond. I know a Custom Breeding Item code, but dunno if its possible with taming. I don't know much about coding, so it would be great if someone could help me.
Creating regular crafting recipes for crafting table-like recipes.
DiscoTech: Context: The Pastel mod has a recipe type which is essentially just shaped crafting recipes but with an added "colors" object and a few other additions. However it includes a bunch of recipes which don't even use that field, yet can't be made in a regular crafting table. I'm trying to write a script which creates a regular shaped crafting recipe for any recipes where all of the values in "colors" are 0.
Curseforge having problems exporting the kubejs folder how to resolve this
γγΌγ―γγΌγγΉγΊγ‘: Before I start I will like to say that I have already contacted curseforge and they gave me the one line answer to come here instead.
Try biome_modifier add_features + datapack handling from server scripts
Saihao: Hi π
Mechanical Crafter Recipe not working. Again
The Eleventeenth Drawgon: Running into this Issue Again, I tired making a Mechanical Crafter Recipe and it's not working. KubeJS is not giving an Error and the Recipe is not registering in JEI. I tired the fix i did last time and it's not working so I'm officially lost again.
Custom Tool Leveling
TrueEvasive: I'm making a modpack that is rpg based and I want to incorporate my own tool leveling system using kubejs. As of rn, It doesn't seem to be working. I am not receiving any errors but the minecraft tools are not receiving the custom nbt I'm trying to attach to it.
Example script for kubejs create doesn't work
Vanessa Reyes: the example script provided for the sequenced assembly doesn't work which means I dont know how to make my own script by adapting the example one. is the documentation outdated or?
Entity attributes cannot be modified on spawn
Scarlet: I am working on a modpack and I am attempting to change a mobs attack damage and speed.
I want to add Botania to a pack, and remove almost everything with KubeJS.
Supercopia: I want to add Botania and remove every item and recipe from the mod, except for an item called "Tiny Potato", and add a custom recipe for "Tiny Potato". I wanted to know if there are any methods to do it more efficiently than going recipe by recipe, and how to remove items, and in general there is anything I could do better.
Custom models for item / armor
β§βΛβ§ π΅ππππππ β§Λββ§: Im trying to load a custom model for an item I made in block bench and I cant find out how to do it? is their an addon i need?
custom blocks texture not picking up
Mays: For some reason the textures aren't applying even if I dont do animated textures. I already got an animated item working, but blocks what so ever isn't picking up.
Creative tab renaming only partially working
brosquito: Hello! I have been running into an issue with my startup scripts her only my first tab rename functions as expected. The rest fail to change, they are all affecting custom tabs.