Support Tickets
This page is still WIP!
make it so when u die u lose all the items forever,
GreenApple: if i die my loot gets cleared from my inventory
Tool and Amor stat modification
F...: I'm tinkering with the attributes system and i was wondering if there's a better way in doing what i desire, basically i want to have the complete control over every stat in the game.
is it possible to add screen overlays for effects?
SpicyMayo: Basically as the titles says, I want to add a custom screen overlay effect for a custom effect. How do i go about doing so?
looking for someone that knows how to use KubeJS to change/remove recipes for a modpack
StarCutter: I have no idea how to use KubeJS or add my own loot tables or anything like that but i need someone that knows how to for a modpack im making on forge 1.20.1 for a server. specifically, i need to change recipes for armors and SuperB warfare vehicles and remove recipes for SBW guns, add a loot table for Realistic Airdrops mod, etc. i can pay a reasonable fee
Any way to make Ice and Fire dragon egg drops not guaranteed?
serelitto: I've been struggling with that and LootJS doesn't seem to help. Does anyone have any ideas
modifyEntityDropsOr on(Events) be added again to the newest update?
Duungah: I’m trying to change a drop rate from a mod for mobs but I believe the newest update doesn’t have those options because I get an error.
I want to check if an item is food or not
Anonymous: I am trying to make every edible pam hc item go into a tag, so far I have each item from say pamhc2trees but I want to only add the edible stuff to the tag. how do I check whether an item is edible or not?
Sequenced Assembly
pipobutter: trying to get it to work but it wont, it doesn't show any errors and i still don't understand kubejs
Armor Attributes
Source: I have tried 2 different scripts and they both have not changed the armor values / attributes this is one of them. I also have made it startup a script.
Tinkers Construct Alloy Recipe editing
DisBanHammer: So I'm trying to find the recipe id for molten activated chromatic steel from Tinker's Advanced, but have no clue where to start with finding it
Removing items from dropping
: I'm trying to remove all drops from mod called Lifesteal using Lootjs, i just want the drops to be removed from chests, i have no idea how to do it for a mod entirely without Fing up if someone got it from crafting
Edit existing villager trades
kujo!: I am looking to edit the trade added by the Cobblemon add on Mega Showdown. You are originally able to buy a megaroid map for the price of a megastone. I want to be able to remove the original trade and edit the price. I assume it’s the same as editing any vanilla villager trade, can anyone help with this script in Kube
How to show curios attributes in the item tooltip
Liox: I used the following code:
MoreJS no registerPotionBrewing instance or field error
𝐹𝒶𝓃𝒹𝓌𝓎𝓃: Hello! I am using moreJS for Minecraft Forge 1.20.1, and have recieved the following error message:
how to move player
Wwelol08: I tried to make a lift that would smoothly lift him into the air, but I couldn't find a way to move the player (except teleportation)
Reading held item's NBT tags
𝙣𝙤𝙤𝙗𝙢𝙖𝙣𝙚𝙜𝙤𝙙: How do i read NBT tags of item held in mainhand/offhand (for comparison) and modify it (for example item has {Fluid: {Amount: whatever, FluidName: "whatever"}} and i want to modify Amount)
occultism
Natsu: hi, i try to make custom ritual but i have this error (picture of the post) with this code :
How to remove a default craft from Minecolonies blacksmiths?
Shmoo: I managed to add a craft to the blacksmith, but I would like it to "forget" one of its default crafts.
Unknown event error
DevilCat: Does anyone know why this happen? I'm new to KubeJS
Add custom chest block
clodcan: I need to create a chest block with functional slots but with a custom texture. Also, is it possible to change the number of slots in the chest? Thanks
adding effects to existing food items
reefridgeerator: i'm using an example file i found here to add an effect to an existing (modded) food item and i'm getting the error `dev.latvian.mods.rhino.EvaluatorException: Cannot convert Function to int`
Replacing Blocks on Worldgen - does it work in 1.20.1?
Diamondback88: Based on the tutorial here: https://wiki.latvian.dev/books/kubejs/page/worldgen
Adding enchantments to items
good name: Does KubeJS have any way to allow enhcantments on specific items? I am wondering if I could allow the Thermal Tuning enchantment (TaN) to Traveler's/Plate chestplates (TConstruct), and if yes, how?
Trying to use ServerEvents.lootTables(event => {
Zanx3BoI: Hi, so im trying to do a global loot table, but My script is not working, and I cant find the reason why why KubeJS doesnt work with this.
using the set bonus tooltip script and it doesnt show tooltips until reload
DaddySpin: only the first item in my array gets the tooltipp until i reload client scripts
How to correctly get the fluid ID from a fluid handler?
FutureLin: I tried using `.getFluid().getFluidType().toString()`, but it only works for vanilla fluids. For fluids created via KubeJS, it returns "Unregistered FluidType". How can I correctly retrieve the fluid ID?
Making custom fluid - how to remove bucket colour overlay?
Howlraptor: I want to have a specific texture for the bucket, but it adds the overlay from the .bucketColor method. How can I remove this?
GTRecipeModifier
Marvin (MaGeBZz): Hey I wanna ask if someone got an idea about it
Tag all blocks / tag all items with string in name
marcnum2: `const netherite_tool = Ingredient.all.getItemIds().toArray().filter(/** @param {String} item */item => {
Create Custom Heat Sources Without Create: Heat JS
Killme_prettyplz: Hey! I was researching a topic for my first modpack and was trying to figure out how to create a custom heat source for create when I discovered [the only kube addon that makes it possible](<https://legacy.curseforge.com/minecraft/mc-mods/create-heat-js>) currently does not work for create 6.0. I was wondering if it was possible to create them without the addon? Im trying to create a heating tier separate from super heated or heated that wouldn't be able to heat boilers.
Nat spawning wither skeletons?
Skemech or something: Is it possible to make it so skeletons turn into wither skeletons, when lightning strikes them?
Clientbound error
Mechin: I hope this is the right place to post this. I'm trying to make a modpack, and when I make a new world, I encounter this error. If I take kubejs out, the error disappears, so that's why I think it may have something to do with it. I have tried to remove everything from the root folder except the mod folder in case it was some config issue, but no. I guess the next thing I should do is start removing one mod at a time until I find which one is messing this up, but before I did that I thought I'd ask here in case it is a known issue
Cant prevent the crafting of liquids and the use of these liquids in other crafts
𝙣𝙤𝙤𝙗𝙢𝙖𝙣𝙚𝙜𝙤𝙙: i'm making a script which will remove items from my list
Check blockdata twice with BlockEvents.rightClicked triggering once
RQ: When I want to check if a block has specific data I use:
Disable armor buffs
awi: Hi is it possible to disable buffs from armors via kubejs like the one in the picture. Thanks
how do i change a block's tool material level requirement?
Damien: i want to make it so copper ore blocks can be mined with wooden tools. i've never done scripting before so sorry if it's really simple i have no experience lol.
Is it Possible to Prevent Crushing Wheel Recipes
CCYAX: I'm creating a pack using Kubejs Create and I am wondering if I can have a milling recipe that cannot be recreated by a crushing wheel. If so any help would be incredible!
Fluid transfer not working in custom block entity - Capability issue?
FutureLin: I'm creating a fluid transfer block that should automatically pull fluids from the block below it. The code runs without errors but no fluid is being transferred. Here's the core logic with debug logs:
armor protection not working for modded items
qarsan: this is my script, which compiles fine and logs says it's fine; but it just doesn't apply. is it same to assume that this item just doesn't accept item modification, and what can i do about it if anything?
Regarding the registration of items
Drowning Fish233: I'm trying to register an item and make it indestructible, but no matter whether I set it to maxDamage(0) or maxDamage(-1), it doesn't become unbreakable—instead, it breaks after one use. I attempted to use item components, but I can't find any tutorials for 1.21.1, and the hints in ProbeJS didn't make sense to me. Also, some methods on the wiki seem to be broken, and I can't use them.
Making Quick equip from Quark compatible with Curios
Aksolo: Probably not the place to post this, but ChatGPT didn't help and I'm bad at JavaScript.
cant remove ad astra steel?
fluffy?: am i doing something wrong? i copy pasted from the wiki
Enchanted book Tips and names
独钓寒江雪: I need to modify a specific enchanted book (e.g., Sharpness) to use my custom name and tips, and make it apply globally. The tooltip modification already works, but all enchanted books share the same ID. Are there any examples I can refer to? The version is 1.21.1 NeoForge."
block entity color
Habb: Is it possible to dynamically change the .color of a block entity in game so I can choose the block's color without having to register multiple versions of the same block in different colors? I'd prefer to handle the color using NBT data if possible
How do I remove villager trades by output?
Rex: I'm trying to remove the ocean map trade from the cartographer. I'm using desert only world generation, and because of that cartographers crash the game when they try to generate ocean monument maps.
Help with making Modded chest loot tables
Snowuh: Good evening!! I have been trying to do this placeable loot table chest for like a while now, i am getting quite frustrated because nothing works, the chest just appears with nothing on it, and i havent even put in the modded items yet, i just tried testing it and im not sure why it doesnt even work normally. Another problem i have is that one of the mods i wanted to add to the chest loot table is this gun mod "Timeless & Classics Guns: Zero" the gun tags arent like different from eachother... they're all just tacz:modern_kinetic_gun, and so i did /data get entity @p SelectedItem which has the data of it and i have absolutely no idea how i'll put that in the code its just all very confusing to me, its just very infuriating and im already just exausted from this sdkjlghksghsj
EntityJs Animation via tags
faze: Is there a way to trigger an animation—or even non-trigger animations—if an entity has a tag? Honestly, I think this opens up a whole range of possibilities: triggering animations when another entity is nearby, when it fires a projectile, when it's burning, flying, or even when there's a player close by. I using ProbeJS, but couldn't find anything related to tags on entities. I think it might be something connected to mobType, but I'm not exactly sure what variable I need to declare.
Summoning temporary friendly monsters around a player wearing a specific armor
Henry (Ping if not present!): I simply want it so wearing a specific armor piece will make a couple friendly monsters (as in hostile mobs, the helmet this ticket is for summons Blazes) Appear and follow the wearer, fighting for them, but despawning or dying after say 30 seconds
how to add transparent background on custom block i added with 16frame animation
Aka#Void: i created a custom block but i can see the gray background, how do i remove it, i want to make electro block
Making custom Epic Fight weapons
Henry (Ping if not present!): Im prolly just toopid, but I'm looking to add some custom weapons that use the other fighting styles from EF such as Knives, Longswords, Greatswords, etc etc, but idk how to do that
Attribute List
RickySpanish: Im really struggling to create a script to compile all registered attributes, im looking to use apotheosis to add prefixes and gems etc that use attributes from other mods but i need the full attribute registry preferably listed out like: "'apothic_attributes:armor_pierce'
Electric avenue
Skemech or something: Is it possible to make it so creepers are more likely to be struck by lightning?
Unable to load JSON model
Pecora Irlandese: I made a blockbench model and exported it as a JSON file, made a custom item to use this model but minecraft isn't able to load it
crops grow once per day
Wunder: hi i have a script but it refuses to work, its in server scripts
ISSEvents need help with script
SpicyMayo: Is there a way for me to trigger a full insta cooldown reset on all spells
Attribute change event
DaddySpin: Is there an event you can listen to that fires when an attributes value changes?
Assistance with spell that gives the player an effect
daniel hentschel: As the title says, im trying to make a spell that grants the player an effect upon casting. However I am unsure how to make it DO that, as while the spell does "cast", it doesnt actually do anything upon finishing casting. Also, it would be nice if someone could tell me how to make the name of the spell not look weird. Also, how do I set a base mana cost? The base mana cost appears to always be 40.
Hi my code dont work and i dont know why
Ksawi: This is my code i tried to make it with i dont know like 20 yt videos i started today. And it doesnt work it just stops killing me but dont give blindness and other effects PLZ help...
How to make a continuous spell through Kube Iron Spells??
bluelotuscoding: I really need to figure out why its glitching when i tried setting it up. is there any example out there i can use?
Any way to have subfolders for assets?
Tyler Geovex: ```assets/mod_name/sounds/file.ogg```
Intercept chat messages client side
Kirjorjos [ping on reply]: I'm trying to make a team chat for a server I'm on and hoping to make a client side command /teamchat <message> or something that automatically whispers it to the other people on my team (hardcoded). If possible, I also want to format the output so it looks like a normal message instead of saying "x whispers to you ..."
How do I give/set/replace weapons/gear/armor to an entity when it spawns?
vlk: I tried both of these approaches but neither works. I want to replace a gold sword in a zombie piglin's hand with a gigantic cleaver.
Loot table list for 1.19.2 (cisco's rpg [ultimate] modpack specific)
DodgyPickles: How do you create a Loot table list in 1.19.2 mod packs, ive tried my absolute hardest to use community made scripts but none work for this version. Please help ive been researching and testing for almost 6 hours now.
entity.teleportTo syntax
katze: Is ``player.teleportTo("minecraft:overworld", -29.5, 63, -18.5)`` not valid syntax anymore? I'm trying to make a command which will send the player to the spawn coords *in the overworld*.
Crop methodes
Wunder: Hi, coud someone explain to me crop specific methodes (like .crop, .growtick, .survive)
Remove features from a biome
MiKel: So ive been having troubles with making certain features not generate in selected biomes. Heres an example in the added picture: an ice dragon cave feature spawned in alexcaves candy cavity biome. How can I prevent it from spawning in this biome? (Version 1.20.1 forge)
I have no idea if this is even possible...
Skemech or something: Is it possible to make it so creepers are more likely to be struck by lightning?
replaceInput() working incredibly inconsistently with tags
the_real_letter_j: trying to edit mekanism recipes; some are changed but others aren't?
making a player's Wildfire Shields have a chance to summon a temp. player-friendly mob when broken
Henry (Ping if not present!): Basically, the Wildfire in my modpack has a high likelyhood to summon a swarm of blazes surrounding it once any one of it's shields have been broken
How to detect the NBT of a block and change it if it matches said NBT
GhastingOut: Trying to make it so that a block's NBT gets replaced the moment it is detected having a specific NBT thing. Is this possible with Kubejs or is it impossible?
How can I destroy the blocks I'm seeing without any tools? With kubejs, of course
Satsu The Vladat: I would like to see if there is any way to do that
Ticking crop
Wunder: Hi, im trying to make game check every tick if block (crop in this case) is placed on sand, is within 2 blocks of water and ages 1 stage every 24000 ticks (full day-night cycle). If someone coud provide answer on how to do this, it woud be great
custom mekansim gas
TheNimbleNinja: how would i go about creating a custom mekanism gas with kubejs?
ISSEvents.spellPostCast issue or ProbeJS
SpicyMayo: The event doesn't show a bunch of things that are possible or impossible in VSCode but they definitely work as i have an example of it working. for example ```const fire = entity.getEffect("betterasfour:fire_gigante")?.amplifier + 1 || 0 ;```. This line 100% works, but it doesn't show the getEffect as even related or the .amplifier
Anyone knows If i can remove Lava Pools using KubeJS?
McLovin do Amor: Well, Im creating a personal modpack and wanted to remove these lava pools that spawns in overworld, bcs they are often conflicting with some mods (in this image for example, the lava pool destroyed a house from CTOV)
how to store a variable in a block
voenstalc: I want to make this variable increase when you click on a block, and when its values are set, the block changes to another one.
how i can make thing with 3d model?
lehavasya: I have blockbench sword 3d model and i wanna to put it into my modpack. Therese no information about 3d models. Can anyone help? ( i just stupid yea )
Getting an entity of a certain tag upon spawn to join a team
Benroo1: EntityEvents.spawned(event => {
Do you know how to change the color of custom item names?
HAELo: Do you know how to change the color of custom item names?
How to remove specific enchantment books from loot tables with LootJS
serelitto: so far I am completely lost on how to implement that... this code seems to be not working and just defaults to removing all books from loot tables
Artificial/Force Despawn
Zetadrayzer: By Artificial/Forge despawn I mean if it’s possible to make a mob detect a player within a radius if so then just keep vibing, if it doesn’t then it just despawns