Support Tickets


This page is still WIP!

Does anyone have any idea how can this be done?

Capybara: i want to create custom jei screen?

πŸ’¬ 2 • 1.21 • Forge • 

Create mixing recipe not working

EtherShade: ive looked at multiple other posts and i cant find anything helpful

πŸ’¬ 8 • 1.21 • Forge • 

Need help refactoring code to make items unique/"singular"

zenithBemusement: Context: hosting a wildly customized version of Beyond Depths with a large group of friends. In order to drive up some Emergent Storytelling™, we decided to make it so certain high-value items would only appear once; the moment they were crafted/looted, all methods to obtain them would be wiped from the pack.

πŸ’¬ 3 • 1.20.1 • Forge • 

Do the Creative Tabs modification commands no longer work?

Punished Blazing Starlight: I've been trying to modify the entire creative tab menu, so it can be better organized, but the line "event.removeDisplay('');" has no effect ingame. I've seen people doing something similar to what I want to do with a mod called "Fermion!" But it isn't in the 1.20.1 version.

πŸ’¬ 1 • 1.20.1 • Forge • 

My code don't work

Lorp_OOO: My code don't work

πŸ’¬ 3 • 1.21 • Forge • 

How to detect Keybind press

MRFOXπŸ—‘: exemple if i want something to happen when i press the button "B"

πŸ’¬ 3 • 1.20.1 • Forge/Fabric • 

Need help for removing a recipe per gamestage Neoforge 1.21.1

SpicyMayo: Im trying to remove a recipe for someone not having the "engineer" gamestage, would love it if someone could show me an example of how it's done

πŸ’¬ 2 • 1.21 • Forge • 

Timer for ftb quests

DaliaVixen: Can anyone help me with the command to set a repeatable quest with a timer rest every 12 hour?

πŸ’¬ 26 • 1.20.1 • Forge • 

Anybody knows how to fix this glitch?

Femboy lover: Yeah it suddently showed up and i dont know which script is the problem and i dont wanna just play russian roulette until seeing which one is the problem can someone help?

πŸ’¬ 13 • 1.20.1 • Forge • 

This Error from KubeJS or not?

MikihinaSann: When i Enabled Script Like ChatDetectMini Game My Server Got Crash like this how to fix or it not KubeJS Crash?

πŸ’¬ 3 • 1.20.1 • Forge • 

server.scheduleInTicks and delayed server operations

Tyler Geovex: ```EntityEvents.hurt(event => {

πŸ’¬ 19 • 1.20.1 • Forge • 

Is there a way to disable items being given on spawn?

Freeguy: Im specifically asking about the hexcasting book, i know the documentation is very needed for that mod but i dont like when this stuff is handed out for free

πŸ’¬ 2 • 1.20.1 • Forge • 

Unifying Oil and some gas from other mods for Stellarity

Myshka πŸ‡΅πŸ‡Έ: Hey there, just like the title said, I'm attempting to unify or atleast make other oils added by other mod usable by Stellarity and vice versa.

πŸ’¬ 3 • 1.21 • Forge • 

Need help for craft modification

SOMEBODY SCREEEEAAAM πŸ—£: I just need a bit of help cause i'm new to KubeJS its my first time using it so i dont really understand what is not workng here

πŸ’¬ 4 • 1.21 • Forge • 

Block Ftbchunks and Ftbteams interface

Ferjais: Message not found

πŸ’¬ 1 • 1.20.1 • Forge • 

Get player statistics and persistant data

Izunyan~: Hello,

πŸ’¬ 6 • 1.21 • Forge • 

Updating a script that give players a horse and dyed items on join.

Freshah: Hi all, over a year ago, after much reading, learning, and support here, I had a script I was very happy with and want to port it from 1.19 to 1.21. I tried myself, but events and stages and whatnot on the wiki seem to be unchanged, and I could use tips on what I have here that is changed in new versions. Just dropping it in my folder now gives the player the Flute item and the Atlas, if that's relevant. Thanks.

πŸ’¬ 2 • 1.21 • Forge • 

Make breaking blocks with a certain tool silent

aliign: I have a certain tool tier that I'd like to have the unique behaviour of making no sound. The closest I've gotten is this, but it produces some sound and also mines the block instantly.

πŸ’¬ 3 • 1.20.1 • Fabric • 

how would i make an item that runs /data modify on the clicked block?

thornium: this is the code i have right now and it doesn't do anything

πŸ’¬ 39 • 1.20.1 • Forge • 

get tags from tag

Lemon: is there any way of obtaining an array of tags from another tag? for example, the tag `minecraft:logs` contains the following:

πŸ’¬ 5 • 1.20.1 • Forge • 

Particle based confetti popper

Torrent Amador: The last time I tried posting this, Discord said no, so I have to redo it.

πŸ’¬ 1 • 1.20.1 • Forge • 

Block players from entering the end

chavuz: hello as described in the title im looking for a way to block players from entering the end aka. on player event changing dimension to end i would like to somehow make them not able to enter or just teleport them back

πŸ’¬ 12 • 1.20.1 • Forge • 

Modifying a block to give it cardinal directions

Lens: can i use blockevents.modification to give shulker boxes cardinal directionality?

πŸ’¬ 2 • 1.20.1 • Forge • 

Is there a way to store items in the "inventory" of a server?

hat guy: hello im wondering if I can save items on the server similar to an inventory/container. Im sure you can just store them manually in a table as persistent data or an inaccessible chest but I wonder if there is a proper way of doing this

πŸ’¬ 7 • 1.20.1 • Forge • 

Attempting to add translations to kubeJs fluids using .translationKey()

Auseawesome: I am making a jam/jelly fluid for my food modpack, I want to have it be called jelly in canada and the US and jam in the UK, New Zealand and Australia.

πŸ’¬ 62 • 1.21 • Forge • 

how can I make every ore except zinc ore turn to gravel when mined with a stone pickaxe?

β˜†π™šβœ¦n3uvaβœ¦π™šβ˜†: basically what the title says, I'm trying to make a modpack that is hell to progress through and I thought this would be a good idea if I knew how to do it

πŸ’¬ 3 • 1.20.1 • Forge • 

Immersive Engineering Mineral Vein

PEK-97: Is there a way to modify / add Immersive Engineering vein types using KubeJS?

πŸ’¬ 6 • 1.18.2 • Forge • 

I can't remove these recipes

ja80991: for some reason I can't remove this recipe and other similar ones that start with emi:/ , what's the problem here?

πŸ’¬ 1 • 1.20.1 • Forge • 

Block specific tools from being enchanted

Shaenarys: Hi,

πŸ’¬ 4 • 1.20.1 • Forge • 

render for players in spectator mode

faze: Is there a way for a player with a specific tag to see the floating heads of players who are in spectator mode?

πŸ’¬ 2 • 1.20.1 • Forge/Fabric • 

Message when interacting with an item is not sent

ITakerMetal: Hello, I'm trying to make a script so that when interacting with X item in this case the vampire fangs from the vampirism mod so that it cannot be used and releases a message to the player like "You cannot use this item yet" in addition to that (I still don't know if I can do it) to make that with the custom npc fork 1.20. 1 mod the player completes a mission and this item is unlocked, honestly it's my first time using Kubejs so I have little or no idea how to do it correctly. The script works, it blocks the use of the item but does not send the message, how could I solve it?

πŸ’¬ 20 • 1.20.1 • Forge • 

Can I use generic stacks in recipes?

Phoenixvine: I want to use the mobs from crazyae2addon's mob storage in recipes and the dev said if kubejs can handle generic stacks it should work

πŸ’¬ 27 • 1.20.1 • Forge • 

Tooltip removing

Marvin (MaGeBZz): I got this tooltip here that I've done

πŸ’¬ 6 • 1.20.1 • Forge • 

Reach

SehLoiro: I cant seem to find the way to change the reach distance of a sword using kubejs ?

πŸ’¬ 3 • 1.20.1 • Forge • 

Remove effects

Kam: Is there a way to disable specific effects? I wanna disable the insainity effect from sons of sins because the screen shake is really annoying

πŸ’¬ 1 • 1.20.1 • Forge • 

All items from LootTable

Tim: Is it possible to get all items that appear in pools in a LootTable?

πŸ’¬ 1 • 1.21 • Forge • 

Lang-file break

Marvin (MaGeBZz): I wanna have a lang key that makes a break between the lines

πŸ’¬ 20 • 1.20.1 • Forge • 

"Harvesting" an entity when right clicked with a specific tool, like shearing sheeps

Pakaru: I'm trying to make zombies drop rotten flesh on the floor when right clicked with any tool tagged with "kubejs:knives", but seems like "EntityEvents.rightClicked" doesn't exist, wiki doesn't help either..

πŸ’¬ 3 • 1.20.1 • Fabric • 

Carriage spawning help

BLU: I need help on this code..... it works properly if the horse is untamed/wild but if the horse is tamed it will teleport the player up in the sky.... I beed it to work without you falling to your death

πŸ’¬ 2 • 1.20.1 • Forge • 

Intellisense is not auto filling anything under event.player

Rex: Not sure what I set up wrong, everything else seems to work.

πŸ’¬ 11 • 1.20.1 • Forge • 

BlockContainer, Item and Tags

Tim: Im trying to log out every tag a block has. While it works fine with the blockContainer and using the tags attribute, when i try the same thing using the blockstate it doesnt work anymore and i get the same error as im trying to get the tags of an item. What exactly are BlockContainers and how can i get all tags of a block or an item?

πŸ’¬ 1 • 1.21 • Forge • 

Is there a way to change TaCZ gun recipes using the kubejs mod???

Femboy lover: I tryna change the iron ingots in recipes to steel from another mod

πŸ’¬ 2 • 1.20.1 • Forge • 

A little help please

Anonymous: A question, can i use kubejs to make that, for example, swords don't damage zombies, but other mobs?

πŸ’¬ 3 • Unknown • Forge/Fabric • 

Remove Broken Hephaestus Recipes With no Output Item

Wiz (Ping on replies pls): In a modpack that I'm working on a bunch of Hephaestus recipes are broken, example being cobalt ingots can not be made using the casting table, it simply pours and then voids the contents with the EMI Recipe that's supposed to be the cobalt ingot looking like Image 1, I already have made the rest of my script to add the recipe back the way it should be (Image 2), but I can't figure out how to remove the broken recipe.

πŸ’¬ 9 • 1.20.1 • Fabric • 

Get MapColour, SoundType and other properties for registry

Tim: Is it possible to get the MapColour and SoundType of a block by the block or blockState, that can then be used in the block registry? And is there any uniform way to get a blocks default properties?

πŸ’¬ 1 • 1.21 • Forge • 

Register copy of vanilla/modded block with some differences

SoundsDotZip: I am trying to register a block that is nearly identical to another block (for example, bedrock), but modified in slight ways.

πŸ’¬ 17 • 1.20.1 • Fabric • 

Can't start server, it can't locate Rhino

Smitties: We have a modpack and it can't load on a dedicated server, the mod says it can't locate rhino, we have the latest versions of neoforge, kubejs and rhino ( we checked and rhino is present and all. )

πŸ’¬ 7 • 1.21 • Forge • 

Is possible to play video on full screen without any gui for all player?

lehavasya: i wanna to play special video when player get achievement

πŸ’¬ 6 • 1.20.1 • Forge • 

removing recipes neoforge 1.21.1

dodo123sh: i have this recipe id and am trying to remove it but it doesnt work correctly so was wondering why

πŸ’¬ 8 • 1.21 • Forge • 

Change Ingridient by crafting

dima532: I want to make a recipe change the item in the ingridients to outher item, like water bucket to empty bucket, by just taking the water. Can i do it manually and not rely on built-in items? (like said buckets and bottles)

πŸ’¬ 12 • 1.21 • Forge • 

Get Block Properties

Tim: How do i get Properties like material, hardness or resistance from an Internal.BlockContainerJS or via block pos?

πŸ’¬ 1 • 1.20.1 • Forge • 

Allow player command when holding specific item?

TravHan2009: Hello, I am fairly new to KubeJS and have not found an answer reading throught the wiki or elswhere online so posting here.

πŸ’¬ 10 • 1.21 • Forge • 

Only run code if they arnt a specific player

Norevex: I currently have a script that deletes a players inventory on death, but not everyone on my server is capable of playing under these condition. how would i do this?

πŸ’¬ 5 • 1.20.1 • Forge • 

How do I make a projectile item

DragonSD360: I'm sorry if it is obvious how to do this, but I have no clue how to make an item that whenever you right click on the item it would make a projectile item that would deal damage and would apply and effect on an entity that it would hit. Any help or direction would be appreciated!

πŸ’¬ 6 • 1.20.1 • Forge • 

Remove original food effect

Mireruku: Is there a way to remove the original food effect? for example make golden apples dont give any effects?

πŸ’¬ 5 • 1.20.1 • Forge • 

create crushing 6 arguments missing

n00by95: ServerEvents.recipes(e => {

πŸ’¬ 5 • 1.19.2 • Forge • 

Suppressing Chat Messages

Maxzedzi: Hello!

πŸ’¬ 2 • 1.21 • Forge • 

Manipulation of player.dat files

Scout the Saneless [pls ping]: Is it possible to manipulate the `player.dat` files, so as to implement a way to edit a player's stats/inventory even when they're offline?

πŸ’¬ 9 • 1.21 • Forge • 

Play sound to player

Oakmontowls: I'm trying to play a sound to the player and I can't get it to work. I found this thread which says to use the runCommandSilent thing but I'm not sure what exactly they mean by that https://discord.com/channels/303440391124942858/1339357228662259803/1339357228662259803

πŸ’¬ 3 • 1.21 • Forge • 

Create Mod data pack help: delete an original recipe and replace with a mechanical crafter recipe

kujo!: Hey can anyone help me with adding custom crafting recipes to the mechanical crafter while deleting vanilla/original modded item recipes? I can post my code using kube.js if so. Thanks

πŸ’¬ 3 • 1.21 • Forge • 

Ore Still generating I've tried the wiki tutorial and datapacks

ecoay: Not sure what I am doing wrong I followed the wiki https://kubejs.com/wiki/tutorials/worldgen/2001#custom

πŸ’¬ 2 • 1.20.1 • Forge • 

Cannot remove tags from modded ores.

Gilgy: Using Fabric 1.20.1. Trying to use kubejs to incorporate my own custom tool levels, with the mod mythic metals. I was able to remove the tag minecraft:needs_iron_tool from minecraft:diamond_ore and miencraft:deepslate_diamond_ore, and replace it with my own custom tool level. However, I cannot remove the tag from banglum ore (just one example), which is preventing me from mining it with a copper pickaxe.

πŸ’¬ 7 • 1.20.1 • Fabric • 

more efficient way

Skemech or something: So as of right now, this is the shitty way I'm doing this

πŸ’¬ 83 • 1.19.2 • Forge • 

moreJS potion brewing is no worky sadge

Sleep: Copied directly from the example scripts on the 1.21 github branch. No error message, no warning message, no recipes :C

πŸ’¬ 6 • 1.21 • Forge • 

damage making me tweak tf out

Lava: how do you change a weapons damage on 1.21? I've read every mention of it in this channel and i have not found a SINGLE solution

πŸ’¬ 9 • 1.21 • Forge • 

trying to add mekanism recipes

Dīpuu~ōkā: im trying with all my might (idk how to code) to create a recipe for some of the mekanism's prosseces, but i cant seem to be able to make it so the machin's output dosnt just give one oof the prosseced item, and i cant add an infusing recipe for some reasons, anyone able to help ?

πŸ’¬ 13 • 1.21 • Forge • 

twilight forest ore generation

bryan: hi, is there a way to allow twilight forest to generate custom ore or do i have to use datapacks ? you can see on the screen that mod ores do not spawn

πŸ’¬ 1 • 1.20.1 • Forge • 

JS Question: why is this working? 'for(const el of arr)'

KingPsychospud7: why does the following allow me to reassign a const? it was my understanding that `for(const el of arr)` is valid only if el is not reassigned within the loop

πŸ’¬ 58 • 1.20.1 • Forge • 

.

Isaac: how can I rename items? for example all dirt blocks changed name to diamond dirt.

πŸ’¬ 2 • 1.21 • Forge • 

I need actual help

ItzByc (Ping on reply): My kubejs randomly started saying that server recipes internal error null and something and it disabled the recipes from my testing script, pls help me <:hmmm:609911633078124558>

πŸ’¬ 7 • 1.20.1 • Forge • 

question on where to put my code

zalcc: Made code for my modpack that on initial start gives you a map to a custom structure but dont know where or how to add it into the kube js or modpack in general

πŸ’¬ 7 • 1.21 • Forge • 

Help with LootJS PLEASE - Entity Loot Modification Not Working

bean2xd: Hello everyone,

πŸ’¬ 22 • 1.20.1 • Forge • 

Prevent blocks with certain NBT from being placed.

Leah: Hi, I'm trying to prevent blocks with certain nbt from being placed. I tried an event.cancel in the blockplace event... and although you can't place the block, it causes the block to appear for a moment before dissappearing, and the inventory becomes wrong and needs to be updated. Pasting the script into the client does not fix the issue. I would like ideally to have the block not even have the interacted animation done.

πŸ’¬ 48 • 1.20.1 • Forge • 

I want to code a custom block press

ItzByc (Ping on reply): A block that uses forge energy to press items using create mod system, you input a copper ingot and you get a copper sheet out, using forge energy, can someone help me?

πŸ’¬ 3 • 1.20.1 • Forge • 

Curios that gives immunity to an effect(s)

Henry (Ping if not present!): ```js

πŸ’¬ 3 • 1.20.1 • Forge • 

Right clicking item applying potion effect

Lava: I have a question i've seen lots of answers to but none worked for me. How would i make a certain item give the player a potion effect and then go on cooldown when the player right clicks with it?

πŸ’¬ 2 • 1.21 • Forge • 

how to detect if player is staring at sun

🍍 Nugget_Sk: also how do i check after it detects it again

πŸ’¬ 2 • 1.20.1 • Forge • 

How can i make custom potion using morejs

ItzByc (Ping on reply): I'm trying to make a haste potion but idk how, then I tried to make it's process in more js but it says uncraftable potion, I need help making a haste potation, strong haste, long haste, like the vanilla ones<:hmmm:609911633078124558>

πŸ’¬ 1 • 1.20.1 • Forge • 

Limit the amout of tamed wolf / pets

Helore: is it possible to limite the amout of tamed pets?

πŸ’¬ 1 • 1.21 • Forge • 

Crash.

AwareFreak_97: if i install kubejs 181 on my neoforge server, the server is crashing. i dont know why.

πŸ’¬ 39 • 1.21 • Forge • 

Check block placement for summoning event

toboios: I wanted to summon an entity kinda like you would summon an iron golem, but I'm not sure how to write the "if" statement properly

πŸ’¬ 3 • 1.20.1 • Forge • 

How to modify attack speed or damage items in 1.21

Tekabe: I've been trying to nerf the allthemodium and mystical agriculture swords in atm10 for a while, but no matter what I did, I couldn't succeed.

πŸ’¬ 2 • 1.21 • Forge • 

Making a container item

Flame: I am currently making a currency system for my minecraft server, but I ran into an issue when creating a wallet like item.

πŸ’¬ 25 • 1.20.1 • Forge • 

Is there a way I can find the creative tab ID using kubejs?

Your Darling: I'm trying to remove an item from the creative tab of a mod but I can't seem to find the creative tab ID

πŸ’¬ 2 • 1.20.1 • Forge • 

WTF is this error

beannn: v

πŸ’¬ 5 • 1.20.1 • Forge • 

Edit/Replacing Farmer's Delight recipes

Zera: Trying to fix/adjust a recipe from a mod that uses Farmer's Delight's cooking pot.

πŸ’¬ 65 • 1.21 • Forge • 

Removing Recipes

Zera: I have been struggling to remove a recipe for over 24hrs now and I don't understand what I'm doing wrong. It is a standard crafting table recipe, so it's not something done in a specific station *(although I'm trying to achieve those too for some FD recipes without success)*.

πŸ’¬ 22 • 1.21 • Forge • 

needs_(material)_tool tag not working

marcnum2: ```ServerEvents.tags('block', event => {

πŸ’¬ 6 • 1.20.1 • Forge • 

cannot find function tagblock

marcnum2: const othersidewardennotblocks = ['deep_dark_regrowth:moonstone_crystal', 'deep_dark_regrowth:ghost_jelly']

πŸ’¬ 14 • 1.20.1 • Forge • 

emi

πŸ˜‘SrNadienπŸ˜‘™: Emi example 1.20.1

πŸ’¬ 1 • 1.20.1 • Forge • 

Change Damage of Species' Spectralibur

liamhuber.: I am trying to edit the attack damage of an item in a mod. It is unbreakable and does 8 damage, but I want it to do 6. With my current startup script I get an error upon starting the game. Any help would be greatly appreciated. Below is my current script:

πŸ’¬ 2 • 1.20.1 • Forge • 

Tedium check

AlmanaX21: I am working with ATM 10 and I wanted to add compatibility to all recipes for oil between MI and tag `c:fuels/crude_oil`

πŸ’¬ 1 • 1.21 • Forge • 

world generation

hi: is there any mods that can allow me to remove custom modded ores from world generation. or if theres a way to do it in kubejs

πŸ’¬ 1 • 1.20.1 • Forge • 

im trying to give players item when they respawn, with luckperm groups

Aka#Void: so i have 5 luckperm groups each players on that groups get different armbands when they respawn, but everytime when i try to get armbands from different groups allways gives me the same armband

πŸ’¬ 1 • 1.20.1 • Forge • 

Limiting enchantment levels

avgLemon: What I want to do is force all instances of a specific enchantment to be a certain level, and not display the level number.

πŸ’¬ 4 • 1.20.1 • Forge • 

Entityjs translucent + emissive

faze: Is there a render type in EntityJS that allows both transparency and emissive effects?

πŸ’¬ 23 • 1.20.1 • Forge • 

Make a new block that inherits properties of another block

Leah: Including things like model, texture. Is it possible?

πŸ’¬ 2 • 1.20.1 • Forge • 

How do I make an unbreakable block breakable?

DaGamer5T3w: I am trying to get the command block in specific to be breakable at all, but putting these lines into the `startup_scripts` does not seem to cut it

πŸ’¬ 1 • 1.20.1 • Forge • 

Make item lose durability if in the players main/off hand

Lens: I would like to make the walking sticks from the "TFC Canes" mod take durability as the player uses them. Currently they only take durability if you break a block with them. By "using them" I just mean that the player has the cane in their main hand or off hand.

πŸ’¬ 1 • 1.20.1 • Forge • 

custom block canSurvive

Atobá Azul: Is it possible to make a custom `canSurvive` for kubejs blocks?

πŸ’¬ 1 • 1.20.1 • Forge • 

Showing 100/8928 posts