Support Tickets


This page is still WIP!

enable swim mode in a dimension

HoneyVee: I'd like to know if its possible to enable swim mode like when you are in water, as a way to enable flying in a dimension, i dont know if anyone has done it before or has any examples i could follow that could allow it

πŸ’¬ 1 • 1.20.1 • Forge • 

Event handler 'StartupEvents.modifyCreativeTab' requires extra id

TokiPonaEnjoyer: below are my logs and the code causing it

πŸ’¬ 8 • 1.21 • Forge • 

How to check for partial item data component?

SageofTurtles (ping me): Hello everyone! I'm still learning my way around data components, so this is probably really simple to do, but I'm having a hard time finding anything telling me how to do it. I have an block in my modpack that I want to replace with a different block when right-clicked on with an item called a soul catcher. However, I *only* want this to happen if the soul catcher has a blaze in it. I used a command to get the data for the item, which I'll put below. Basically, the only thing I need to check is that the item ID is `create_mob_spawners:soul_catcher`, and that it includes `id: "minecraft:blaze"` within the `entity_data`. How would one go about that using a KubeJS script?

πŸ’¬ 2 • 1.21 • Forge • 

Need Help with FTBQuest Custom Task and Player UUID Error

Ranman: I'm attempting to make a Custom Quest Task to have above an amount of Create: Numismatic Currency in your Bank Account.

πŸ’¬ 30 • 1.21 • Forge • 

replace item in loot randomly with 4 other items lootjs

Salt: im trying to replace or modify all instances of iron helmets in loot tables with a random helmet from a selection of 4 helmet items

πŸ’¬ 14 • 1.20.1 • Forge • 

Iron's spells & EntityJs (Cast spell level.

ErikolGamer14: Hello! I'm new over here, I'm working on a modpack and I have some question about the EntityJS compatibility that has with Iron's spellbooks, I was able to get a boss too cast spells but all of them level 1, is there a way to increase the level for the casted spells??

πŸ’¬ 2 • 1.21 • Forge • 

Removing crafting remainders from a custom recipe?

DawnAndTheStars: I have made several recipes in KubeJS that use water bottles and milk bottles. Some of these recipes are for crates, in those cases I do not want the empty glass bottles to return to the crafting table. How can I override this behavior.

πŸ’¬ 2 • 1.21 • Forge • 

issues with kubejs

†FeløGrafix†: Hello,

πŸ’¬ 30 • 1.16.5 • Forge • 

Custom Repair Recipes (1.21.1 Neoforge)

cani: How would I go about making custom repair recipes (I believe most are auto-generated by minecraft but I'm a rookie in java)?

πŸ’¬ 14 • 1.21 • Forge • 

Change player/entity attributes' base value

Dan: Hi! I'd like to know if there's some way to change players' base attribute's values instead of adding modifier values using KubeJS on Forge 1.20.1, and how I could do it.

πŸ’¬ 1 • 1.20.1 • Forge • 

Recipes with Durability Restrictions.

Cryptic: I am trying to edit a recipe within 1.20.1 fabric,

πŸ’¬ 23 • 1.20.1 • Fabric • 

How do I make an existing modded tool unbreakable? I've tried .uses, .maxDamage, neither worked.

PrototypeShadowBlitz ⚧: I want to make a set of tools unbreakable for a modpack I am making, truly unbreakable. Is there a way to modify the tool to make it no longer take durability damage, or just have infinite durability or something?

πŸ’¬ 44 • 1.21 • Forge • 

A liquid in a mod doesn't show up in the item's information when using /kjs hand.

PrototypeShadowBlitz ⚧: Is there a way I can fix this myself or do I need to wait for the mod author to fix this? Is this considered a bug on their end? Never ran into an issue like this.

πŸ’¬ 24 • 1.21 • Forge • 

How do I make an enchantment compatible with an existing item

Rex: I'm using the clockwork mod, and they either removed enchantment support for their crossbows, or it somehow broke. Is there a way to make them enchantable again?

πŸ’¬ 4 • 1.21 • Forge • 

Is there a way to give a specific item an enchantment without glint?

Lucky: Trying to give some items some default features that are locked behind enchantments that really shouldn't be

πŸ’¬ 7 • 1.21 • Forge • 

Detecting a block at a specified location relative to the player.

legobrick22: Is something like this possible? I'd like a script to return true if a specific block is at a predefined location relative to the player.

πŸ’¬ 16 • 1.20.1 • Forge • 

Add new infested blocks

kimaris: Hello, I'd like to know if there's any method to add new silverfish infested blocks (blocks in which silverfish can hide in).

πŸ’¬ 41 • 1.20.1 • Forge • 

Hi, I'm building a 1.20.1 Forge modpack (528+ mods) and need help with a KubeJS script.

PepeTheGrimReaper: **The Problem:**

πŸ’¬ 2 • 1.20.1 • Forge • 

Cannot save inventory

Shoko: Im trying this

πŸ’¬ 49 • 1.21 • Forge • 

staff creation not working

Dracoruff1211: ```StartupEvents.registry('item', event => {

πŸ’¬ 61 • 1.20.1 • Forge • 

item being repairable in anvil by a single item

Anonymous: is there any way so any item can be repaired by a single item through kubejs

πŸ’¬ 1 • 1.20.1 • Forge • 

Trying to hide itens in jei by custom data

Diju: I'm trying to remove some specifcs guns from TacZ, but they all have the same name, so I tried by the custom data, but it's not working, the client.log doesn't give any error

πŸ’¬ 7 • 1.21 • Forge • 

Game Crash Removal of item help please!

Gummy Bear: need help removing an item with code that'se causing the game to crash well multiple items I have no idea how to code btw

πŸ’¬ 81 • 1.21 • Forge • 

Custom Create Mod Recipe Please Help

Gummy Bear: I need a gold and netherite scrap recipe to make netherite thats easy and cheap custom made

πŸ’¬ 82 • 1.21 • Forge • 

my foreachrecipe script doesn`t work properly

MeeM: i watched guide from gnomebot and google search to make this script but only shows null/undefined

πŸ’¬ 62 • 1.20.1 • Forge • 

Can't find function .textureAll

samm: Hi, I couldn't open the logs file for some reason. Here's a screenshot of what I saw upon launch

πŸ’¬ 10 • 1.21 • Forge • 

im having issues with adding more than one effect onto a food item

Mosca: The script works perfectly fine when add a single effect but when i add multiple effects it just adds the effect but twice which im unsure how to fix

πŸ’¬ 9 • 1.21 • Forge • 

Starter Kit Book not working

TheButterbrotMan: Hi everyone,

πŸ’¬ 18 • 1.21 • Forge • 

Get blocks in an area

Owen: how would i get all blocks in an area around the player? for example, `let tarBlocks = entity.level.getBoundingBox().inflate(range).block.filter(block => whitelist.includes(block.id))`

πŸ’¬ 26 • 1.20.1 • Forge • 

fluid instantly going out of bucket and into world once obtained

Zote Part Two: Battle Tendency: ```ItemEvents.entityInteracted('minecraft:bucket', event => {

πŸ’¬ 5 • 1.21 • Forge • 

Glass pane block type through block registry

Tanker: Is there a way to add a custom block with KubeJS that uses the glass pane block type? Been looking through the wiki for a bit trying to find a solution to this but I'm no longer sure if this is actually possible since glass panes aren't listed in the list of alternate block builders.

πŸ’¬ 8 • 1.21 • Forge • 

Invalid Quantifier for Regex

Ben: I'm getting invalid quantifier error * for this script, I've tried with the other negative lookahead/lookbehind ```?<!``` and ```?!``` but they give the same error but for ?

πŸ’¬ 16 • 1.21 • Forge • 

Snowlike layer block

Mellowitsch: Is it possible to create a block that works like snow? So for example i have a block that looks like dirt and i can place this like snow (layer over layer)

πŸ’¬ 8 • 1.20.1 • Forge • 

gregtech machine syntax help

TheNimbleNinja: im looking for help finding out how to do specific machine stuff like the metal molding. it usies the alloy smelter but i dont know its syntax to use it

πŸ’¬ 1 • 1.20.1 • Forge • 

Is it possible to automatically load datapacks from a folder upon world creation?

Mushroom: So that you don't have to open a folder every time you wanna create a world with the same datapacks.

πŸ’¬ 27 • 1.20.1 • Forge • 

Custom rock block model

Lachry-mosa-D: I've been trying to make a block with a custom rock model, but I have not yet found out how to use .model(value: ID). Can someone explain how to because there is no tutorials for this and the wiki is no help with this :p

πŸ’¬ 19 • 1.19.2 • Fabric • 

Custom Trial Vaults

NASisawesome10: I noticed that there are seemingly no posts talking about making custom trial spawners or vaults?

πŸ’¬ 19 • 1.21 • Forge • 

Is it possible to detect when a player hovers over an item with another item and right clicks?

WiiSafetyManual: There is an event `PlayerEvents.inventoryChanged` but I'm not sure exactly how to use it to do whatever you want here.

πŸ’¬ 3 • 1.20.1 • Forge • 

item combination but prevent if item already has nbt

duck: ```js

πŸ’¬ 9 • 1.21 • Forge • 

detect if player is in water and or swimming

naik: is there an event to do this? i wanna make it so that the player eventually gets freezing if they swim for too long without armor (maybe change the time until u freeze with each tier but i wanna figure that out on my own)

πŸ’¬ 28 • 1.21 • Forge • 

Having trouble with ItemEvents.modifyTooltips for Durability Tooltip

Waris Kung: Hi everyone! I'm trying to make a script that adds a custom durability tooltip to all damageable items. However, my current code isn't working

πŸ’¬ 1 • 1.21 • Forge • 

Speed up suspicious block brushing

RoarkCats: Is it possible to speed up suspicious block brushing from somehow for tiered brushes?

πŸ’¬ 7 • 1.21 • Forge • 

Create a Crop

SuCr1lh0sツ: Can someone help me create a simple crop for my world? I'm a beginner and I can't find anywhere that teaches how, and I don't want to use AI.

πŸ’¬ 14 • 1.21 • Forge • 

Play sound periodically while wearing specific item(s)

Anonymous: Hey there! I was going to try reading up on the wiki to figure it out myself, but since it's down, I might as well ask.

πŸ’¬ 1 • 1.21 • Forge • 

Tough As Nails

Lilo: Hey, good morning, does anyone know where to find the commands to edit things in the Tough As Nails mod using kubejs?

πŸ’¬ 1 • 1.21 • Forge • 

Modifying Existing Projectile Spells Provided by Iron's Spells and Spellbooks (and addon mods)

Io: I'm using the startup kubejs script attached to apply a potion effect to a spell that otherwise did not have such a function. I used EntityJS to apply the effect on the "elemental_synergies:brimflame_bolt" projectile entity. However, using the same code for the "elemental_synergies:brimstone_hellblast" did not result in applying the effect on hit entities.

πŸ’¬ 3 • 1.21 • Forge • 

Curios Slot Get/Set

Owen: how would i "get" an item in a curios slot, without using the kubejs-curios mod (dont want loads of dependencies). similar to `entity.getItemBySlot()` but for curios slots

πŸ’¬ 7 • 1.20.1 • Forge • 

Having trouble with tier.incorrectBlocksForDropsTag

Darkus: So I have given a modded pickaxe a tool tier that allows for breaking obsidian but not ancient debris... But for some reason it can break ancient debris. here's a toll modification that I used:

πŸ’¬ 6 • 1.21 • Forge • 

Im trying to import my code into datapacks but it keeps denying it, why?

The_Good_Guy: Message not found

πŸ’¬ 18 • 1.21 • Forge • 

how to make a block not place on another

Anonymous: im trying to make a new sapling for my pack but it keeps being placed on blocks i dont want it to i tryed makeing a start up script were it tryed to diable the right click on other blocks but it will places

πŸ’¬ 119 • 1.20.1 • Forge • 

New redstone stuff/block tinting

Anonymous: How do I add a new redstone block and also how to add biome tints to greyscale blocks

πŸ’¬ 6 • 1.20.1 • Forge • 

How to make blocks flammable?

Xmapka: `.soundType` does not copy this property

πŸ’¬ 19 • 1.21 • Forge • 

Curios rendering

Captn138: Hello, so I wanted to have the Create Aeronautics' aviator's goggles as a curios for the head slot, just like the Create's engineer's goggles.

πŸ’¬ 3 • 1.21 • Forge • 

My Shaped recipe isnt working and Idk why

DemonyoTV: ```//onEvent('recipes', event => {

πŸ’¬ 52 • 1.20.1 • Forge • 

Kube js doors/trapdoors

Anonymous: I need help adding new door types/trapdoors to my modpack im useing kube js for pretty much most of it

πŸ’¬ 118 • 1.20.1 • Forge • 

registering a bed with a custom model

Alterated: im having trouble registering a bed with kubejs, got this from a friend:

πŸ’¬ 61 • 1.20.1 • Forge • 

leave block block tint

Anonymous: i need help meking my new leaves have biome tints but also have the apple texture on them i been struggleing even getting the tint to work idk if im doing something wronge or not

πŸ’¬ 15 • 1.20.1 • Forge • 

custom spells

β–„οΈ»β•¦θŠ«≡π“šπ“²π“·π“°π“Ÿπ“±π“ͺ𝓷𝓽𝓸𝓢══-βž–: im trying to create a spell, i managed to make a school but i cant figure out how to make the spell particle effects, make the spell damage entity, icon, name, and a texture, but i did make the spell appear in game but thats abt it and the wiki doesn't really help much, and i cant find any tutorials videos, so can someone help me with this

πŸ’¬ 1 • 1.20.1 • Forge • 

Modifying a modded recipe

corvus: I just wanted to run this by people with more experience than me. I'm modifying a recipe for food in a minecraft server and I don't wanna mess something up.

πŸ’¬ 12 • 1.21 • Forge • 

item crafting with any food item

duck: this is a weird combo of old and new code

πŸ’¬ 15 • 1.21 • Forge • 

Better Than Wolves Squid

kimaris: I'm wondering if there's a way to make squids behave like in BTW using EntityJS (Forge 1.20.1).

πŸ’¬ 53 • 1.20.1 • Forge • 

Changing Enchantment Values

Nitai: Hey, Can anyone point me out to an example or something that let me change values of protection effects?

πŸ’¬ 15 • 1.21 • Forge • 

Adding custom enchanted fishing rod trade to villager?

ZonkoTheGreat: I am trying to make it so level 2 Fisherman only sell level 1 Lure enchanted fishing rods, this is my first example I am trying to make work. How do I fix the item registry?

πŸ’¬ 6 • 1.21 • Forge • 

I want to make the alexsmobs vulture and swordfish into living variants that spawn in the world

Not LumpyAcidFish: how would I go about doing that. Giving them neutral AI and spawning in the overworld.

πŸ’¬ 8 • 1.20.1 • Forge • 

Removing Potion Recipe

Zanguuz: I'm using MoreJS to remove a potion effect I don't like for my modded server, and I can't figure it out.

πŸ’¬ 10 • 1.21 • Forge • 

Everlasting

Krispy: Is there a way to make an item indestructible to the void, lava, cacti, and anything else that might destroy something?

πŸ’¬ 5 • 1.21 • Forge • 

How to take the functionality from a modded item and give it to another?

Bruno: title

πŸ’¬ 12 • 1.21 • Forge • 

raycast

WavyShark: I'm trying to understand raycasting, and add it to my script. I'm wanting it to turn whatever block I'm looking at to air, but it's just not working. Can someone help me out here?

πŸ’¬ 6 • 1.20.1 • Forge • 

Create a Timer

Lilo: Hey, good morning, does anyone know how to create a timer? Or a delay to be more exact?

πŸ’¬ 62 • 1.21 • Forge • 

Custom block not spawning in structures correctly

Lens: ```js

πŸ’¬ 6 • 1.21 • Forge • 

Kubejs Error during loading.

Fers: Every time the game is loaded the following error appears on the logs, it does not crash the game but it is there

πŸ’¬ 13 • 1.21 • Forge • 

Is it possible to remove enchants from the game using KubeJS?

UltraPlaysETC: essentially the title explains it, but more indepth, I want to remove specific enchantments for my server (like power, infinity, etc), is there a way to remove them so it cant be used? or what would be the best method to prevent players getting them?

πŸ’¬ 10 • 1.21 • Forge • 

Armor set with an Active Ability

frank mayonnaise: So what I’m looking to do is essentially if a player is wearing a certain set of armour, they can press a keybind to activate some sort of ability, (ex granting a player a potion effect). Optionally it would also be neat if it could consume and require mana from Irons Spellbooks as well if that’s possible

πŸ’¬ 3 • 1.20.1 • Forge • 

unlock a recipe via quest

harrison: hello i mean the tital says alot but basicaly all i need is a way to unlocka locked reicpie with a quest i have had a looka round and cant really figure out a way to do it is there a way i can ? (Ftb quests)

πŸ’¬ 21 • 1.21 • Forge • 

Is it possible to summon blue wither skulls?

minari: They're tied to the entity's NBT in Vanilla, so /summon cant spawn them, but I was wondering if KubeJS can?

πŸ’¬ 11 • 1.21 • Forge • 

Bug Create: Protection Pixel KubeJS

Meiseside: KubeRecipe.java#90: Failed to create custom recipe from json {"type":"create:filling","ingredients":[{"item":"protection_pixel:incompletehammer"},{"type":"fluid_stack","amount":250,"fluid":"minecraft:lava"}],"results":[{"id":"protection_pixel:incompletehammer"}]}: Failed to read required component 'ingredients: either<create:sized_fluid_ingredient, ingredient>[]' - java.lang.IllegalStateException: Failed to parse either. First: Unknown registry key in ResourceKey[minecraft:root / neoforge:fluid_ingredient_type]: minecraft:fluid_stack; Unknown registry key in ResourceKey[minecraft:root / neoforge:fluid_ingredient_type]: minecraft:fluid_stack; Second: Failed to parse either. First: Not a json array: {"type":"fluid_stack","amount":250,"fluid":"minecraft:lava"}; Second: Unknown registry key in ResourceKey[minecraft:root / neoforge:ingredient_serializer]: minecraft:fluid_stack

πŸ’¬ 14 • 1.21 • Forge • 

Is it possible to modify multiple model json files with kubejs?

titin: I'm using the butchery mod in my modpack and the render scale for some of the items (the carcasses) is too big. Is it possible to make a script that can modify the json files for the models? I've gone and manually modified a few of the items, but there are a lot of them and it would be much nicer to have a script rather than having to go through and manually modify each file individually.

πŸ’¬ 13 • 1.20.1 • Forge • 

is it possible to create a block that emits a redstone signal?

ducky: I want to create a block that emits a redstone signal constantly. Is is possible? I did not find anything in the blockbuilder wiki.

πŸ’¬ 4 • 1.21 • Forge • 

adding advanced tooltips in 1.21.1 neoforge (old 1.20.1 forge script)

duck: ```js

πŸ’¬ 5 • 1.21 • Forge • 

custom item recipe using fire fan

Ilayst11.999999999999: event.recipes.create.smoking(['zcoffeecraft2:steamed_milk', 'minecraft:bucket'], 'minecraft:milk_bucket') EROR event.recipes.create.haunting(['zcoffeecraft2:steamed_milk', 'minecraft:bucket'], 'minecraft:milk_bucket') NO EROR WHY

πŸ’¬ 16 • 1.21 • Forge • 

How to get attack cooldown?

Anonymous: Currently i'm using EntityEvents.hurt but I can't get the attack cooldown of the attacker

πŸ’¬ 5 • 1.20.1 • Forge • 

Remove Tall grass from bonemeal

Anonymous: Hey there! I have started using KubeJS over this last week, with minimal programming knowledge. However, I've been following tutorials and looking at existing scripts to figure things out.

πŸ’¬ 10 • 1.21 • Forge • 

please help me, i need glass block, and i need guide for all block events, or how to get block xyz

Weak | Mann: help pleeeease!!!

πŸ’¬ 48 • 1.18.2 • Forge • 

Silk touch and non silk touched

Krispy: Is there a way to make a "broken" block when breaking without silk touch, and example being stone and cobblestone

πŸ’¬ 8 • 1.21 • Forge • 

mekanism recipe

Krispy: is there a way to find a recipe types id? im trying to remove the mekanism energy smelting recipes as a whole but cant figure out what the id is

πŸ’¬ 15 • 1.21 • Forge • 

spells

WavyShark: I need help making a spell a friend of mine gave me work

πŸ’¬ 5 • 1.20.1 • Forge • 

Can someone help me? stats cmd

Anonymous: Hey everyone, I was wondering if someone could help me create a script to display stats, like using `/stats`.

πŸ’¬ 13 • 1.21 • Forge • 

Method for figuring out what tab an item belongs to when /kjs hand does not provide that information

Tachtra: I wish to remove items from the creative tabs of certain mods (ex. TFMG, create vibrant vaults, aeronautics/simulated), but /kjs hand does not show what tab items of theirs belong to. I have tried to discern this information by looking at decompiled code via intellij, however for some reason the string for the registries in those mods (if I could find them) never seemed to work. Despite this being only somewhat an aesthetic change, at least in my case, I think it could still be relevant to know of other methods of figuring out which creative tabs an item belongs to.

πŸ’¬ 2 • 1.21 • Forge • 

Adding chance outputs to existing recipes

Pip: I want to add a chance of getting sawdust from each of the Create sawing recipes, but the only way I know how to do that would be to individually replace each recipe's output since they all have different outputs. How can I make a helper function that replaces each recipe with its same output and and added chance for another item?

πŸ’¬ 6 • 1.20.1 • Forge • 

how can i make custom casing for create?

Frosty: im trying to make steel casing but idk how to make it work with cog encasing, belt encasing, connected textures, and wrench pickup. im pretty lost on this

πŸ’¬ 7 • 1.21 • Forge • 

item model

TugkanDeMan: im struggling to find the documentation on how to make an item a 3d model

πŸ’¬ 16 • 1.21 • Forge • 

Making wood unbreakable with your bare hands

Lachry-mosa-D: I've been trying to figure out how to make it impossible to break wood (trees) and only make it possible to break it with an axe. I know how to make it impossible to break but I have not yet found a way to check if the player is in creative and check if the player is holding an axe. Is there also a way to send a message saying 'You can't break wood without an axe'? I tried this but didn't end up working.

πŸ’¬ 6 • 1.19.2 • Fabric • 

How to make item a fuel for furnace minecart?

NanChik: There is no tag for this

πŸ’¬ 9 • 1.21 • Forge • 

Trying to make a kubejs Abyss carver to make a gigantic hole basically

Anonymous: This is my first kubejs script beyond the most absolute basic of things, so be wary...

πŸ’¬ 4 • 1.21 • Forge • 

.damageIngredient on a .replaceInput ?

Lens: trying to replace all crafting uses of framedblocks hammer with the c hammer tag:

πŸ’¬ 1 • 1.21 • Forge • 

Help pl

Kudaar4ik: I can't make the thermal series mod spawn apatite ore, but it's there. If you could provide me with a ready-made script, I would greatly appreciate it.

πŸ’¬ 38 • 1.20.1 • Forge • 

How do I remove nether portal activating using flint and steel?

Lucky: I want to make my own custom item to enable the nether

πŸ’¬ 9 • 1.21 • Forge • 

create: diesel generators distillation recipe keeps throwing errors

svansen_floven1: ```js

πŸ’¬ 14 • 1.21 • Forge • 

Kubedex not working

Pitersonix: Just like that, I have used it for some time before, but now it doesn't work. Any ideas why?

πŸ’¬ 17 • 1.21 • Forge • 

Removing tags to remove enchantability

Amber: I tried to remove some tags from swords bc I noticed every minecraft:sword has minecraft:enchantable/weapon, but couldn't make it work, the idea is to make wooden tools can't be enchanted

πŸ’¬ 3 • 1.21 • Forge • 

Showing 100/12067 posts