Support Tickets


This page is still WIP!

Execute loop while player is drawing a bow

Helore: I'm developing a custom stamina system and i'd like to know if it is possible to check if player is drawing a bow and execute a loop while it is true.

๐Ÿ’ฌ 1 • 1.21 • Forge • 

KJS Datapack

Mark: I want to add compatability between mods in my modpack and Overgeared, i know i can do so via datapack, but is it possible to put the scripts of the datapack into KubeJS instead? If so, where and how?

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

attributes of armor dont stack

Sheiny: I'm copied code from: https://gnomebot.dev/paste/1422383110607077548/1422383110607077548/1422383110900940820

๐Ÿ’ฌ 5 • 1.21 • Forge • 

Lychee: Display recipe output chance in JEI

Auri: Hi, I am using 9thCore's Lychee Schema (https://github.com/9thCore/KubeJS_Customs/releases/tag/LycheeSchema-v1.0.0) to add new item exploding recipes to the game with KubeJS.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

LootJS: Adjust Butchercraft hook drop amounts

Doc ๐Ÿงช: I want animals to drop less regular meat. I'm trying with cows right now. The loot table for butchering a cow is [here](https://github.com/Lance5057/Butchercraft/blob/1.21/src/generated/resources/data/butchercraft/loot_table/meat_hook/butcher_cow.json), and it looks the same in my 1.19.2 files.

๐Ÿ’ฌ 4 • 1.19.2 • Forge • 

Client Event Making Block Emit Particle not Working SPECIFICALLY with custom KubeJS blocks

marcnum2: The code:```js

๐Ÿ’ฌ 13 • 1.20.1 • Forge • 

Change / Transform Block Exploded by TNT and / or Alex's Caves Nuke

marcnum2: Here's my block

๐Ÿ’ฌ 6 • 1.20.1 • Forge • 

Changing Weapon Attribute of modded item

Belen: My code works fine with a vanilla item (code I stole from another post called Changing Weapon Attribute of Weapon), so I don't completely understand how it all works. But when I try to add an attribute to an item from the clast mod, it doesn't work.

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

leaf-type rendering

Sharky | Ping me: I want a new type of 'leaf' im adding to render like normal leaves, idk how better to explain it, refer to images

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Texturing block particles

cobalt: Registering a block, and `textureAll` doesn't work. Using `.texture` *does*, but the block particles break. Is there a way to make the block particles use the correct texture?

๐Ÿ’ฌ 1 • 1.21 • Forge • 

how to make an item edible

Po: i wanna make a modded item edible for an advancement how do i do this? i tried

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

How To Give An Item

Owen: basically im currently using

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

My custom armor disappear ๐Ÿซฅ

allogu44: I'm trying to create armors but, although they are created as items, didn't work correctly, only work well if they are equipped from the hotbar with right click, and if they are moved in the inventory with shift + right click, disappear without explication, it doesn't show me errors and the wiki doesn't give me information for this version, I get the methods and codes from a YouTube's video and I don't know if I'm missing something or if I'm doing something wrong

๐Ÿ’ฌ 1 • 1.21 • Forge • 

1.12.2 Modifying modded mob stats

Komod0: Since there is no support channel explicitely for 1.12.2 I’ll type here.

๐Ÿ’ฌ 3 • 1.12.2 • Forge • 

Creating a Block Entity (1.20.1)

Chase MK: Hi, I'm trying to make a block entity with Kube but I don't really understand how.

๐Ÿ’ฌ 9 • 1.20.1 • Forge • 

placed block capabilities?

Cr0w37: I want to know how to increase enchantment level based on certain blocks placed around the enchantment table if possible?

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Get hardness value from block item

Jaofumi: I've tried alot of ways to do this but i haven't seem to find a way

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Recipe and durability for a debug item

Nvv: I wanna make a recipe for the miniship creator stick from vs and i wanna make it so it breaks after one use so its not too op.. How do i do that? (By use i mean one right click on a block, cuz thats what it takes to turn it into a ship)

๐Ÿ’ฌ 12 • 1.20.1 • Forge • 

How to intercept a right-click event on a fluid block?

zee Lime: Folks, anyone's got a clue how to intercept a right-click event on a fluid block using KubeJS? `BlockEvents.rightClicked` seem to work for solid blocks only :/

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Is it worth it to stop trusted players bypassing restrictions?

PARVUS ๐‘ฎ๐‘ฌ๐‘ณ๐‘ผโ—†๐ŸŒธ๐ŸŒผ๐ŸŒน: I already have a script in my personal pack to stop players from breaking or placing blocks in unclaimed chunks but I do notice that some things still allow you to break say a village:

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Copy existing blocks. Specifically Amethyst Clusters

ThreeForths: I know this has been asked here a few times, and I've been reading over existing posts and the closest thing I've gotten is a block with my custom texture on all 6 sides haha.

๐Ÿ’ฌ 2 • 1.20.1 • Fabric • 

How do i remove all the items of an specific mod from all villages

BgamiX: I made a server with Ctov because i like the giant villages and also added artifacts and relics, the thing is, every chest on the mod has 4 artifacts or relics, plus the giant villages you really can fill a double chest full of artifacts with just one village

๐Ÿ’ฌ 6 • 1.20.1 • Forge • 

Duplicates values on my armor ?

Ise: Hello ! For context, I'm trying to modify the values of the allthemodium armors, to make them less op :

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Adding Aether Freezer Fuels

ShabyFrost: I would like to add snowballs as fuel for the Aether's freezer block.

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

How to check for a full advancement instead of criteria?

Craftmayham: I'm trying to check for any full advancement completion and I've tried the PlayerEvents.advancement event and it seems to run anytime any part of an advancement is completed. Does anybody know how to check advancement progress or full completion?

๐Ÿ’ฌ 4 • 1.20.1 • Fabric • 

How does one replace an item across all loot tables?

mentosan (judele): .

๐Ÿ’ฌ 28 • 1.20.1 • Forge • 

Add tooltip based on enchantments on items

Zanguche: Hello! I'm trying to figure out how I could add some kind of dynamic tooltip which changes based on the highest enchantment level that a tool has.

๐Ÿ’ฌ 7 • 1.21 • Forge • 

How to make log block with rotation on 1.16.5?

ManFromIcyWastelands: Before posting I've looked for other posts on this topic but they're all for 1.19+. On legacy wiki 1.16.5 functions are mixed with 1.18.2 ones and they're hard to distinguish between. Note (just in case): I have optifine installed.

๐Ÿ’ฌ 1 • 1.16.5 • Forge • 

is it possible to use a tag in place of a single item in ItemEvents?

Morus: i want to use an ItemEvents.dropped to make a sound effect play when you drop certain items and i'd really rather not have to copy that code for each individual item.

๐Ÿ’ฌ 3 • 1.21 • Forge • 

Is there a way to detect when a Villager harvests a crop or disabling villagers from harvesting?

Fareskingtube: I want to disable villager potato farms so I want a way to cancel the event of them placing or breaking crops

๐Ÿ’ฌ 1 • 1.21 • Forge • 

How do I make an if statement to check for an item's nbt? 1.19 Forge

Merry: I have searched everywhere in this discord and cant get it to work

๐Ÿ’ฌ 30 • 1.19.2 • Forge • 

Removing potion effects with MoreJS

S q u i d: I am trying to remove both a few vanilla and several modded potions, I tried following the instructions for it as follows:

๐Ÿ’ฌ 2 • 1.21 • Forge • 

Custom dye colors

dong beater3000: Is it possible to create custom dye colors in KJS? Obviously creating things like the wool block and such are just creating separate blocks which is easy, but things like dynamically tinting sheep/banners/leather armor/etc is a bit less obvious.

๐Ÿ’ฌ 24 • 1.20.1 • Forge • 

What is happening here

โ˜ฉ Hiruka โ˜ฉ - ใฒใ‚‹ใ‹ DEV: This error confuses me, i don't know what is happening and neither why:

๐Ÿ’ฌ 64 • 1.20.1 • Forge • 

Edit backpack size

Zeus_32: I want to make sophisticated backpack have only 9 slots at base tier but i can't figure it out, the recipe it self shows, but it wont let me craft it

๐Ÿ’ฌ 50 • 1.21 • Forge • 

Okay so, how do i get fluid?

โ˜ฉ Hiruka โ˜ฉ - ใฒใ‚‹ใ‹ DEV: I wanna set fluid but determine it by quantity, similar of how i do with Item.of(), i don't know how to use the fluid determinator

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Do anyone know how to create a custom bucket, like the wooden bucket mod.

uwuertywgohr: Do anyone know how to create a custom bucket, like the wooden bucket mod. I want to create different buckets in my modpack to contain different types of fluids.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Do anyone know how to create a custom bucket, like the wooden bucket mod

uwuertywgohr: Message not found

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

ignore water movement / "charm of sinking"

mintiestKitkat: this is probably a longshot, but, is there any way i could implement something like the Charm of Sinking from Artifacts with kubejs? something that makes a player move around freely in water, as if it wasn't there?

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

VisualJS shader not loading?

Yez: Simple shader thats just a copy of the vanilla Color Convolve shader but with contrast added fails to load without saying anything else?

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Adding fluid tanks from other mods to Ad Astra Giselle

Rebel86: I would like to add another mod's fluid tank to the list of tanks compatible with Ad Astra Giselle's Space breathing enchant, but the mod doesn't support that natively. Is it possible to use KubeJS to add more, or do I need to open an issue on Giselle's Addon GitHub, I would really rather not if i don't have to.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Replacing loot with LootJS.modifiers but JER isn't updating properly

Fareskingtube: I tried using Lootjs to replace loot but JER isn't updating it The loots are spawning but JER isn't showing them:

๐Ÿ’ฌ 1 • 1.21 • Forge • 

is it possible to make a item drop from the face the player is actively mining?

Lezlie: title but i have thisjust dont know how to make it drop from said face (needed because it keeps dropping into a wall and dissapearing

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Crash Report

Shugabrush: Seems like an armor stand has an index out of bounds exception. How do I fix this or identify exactly what's causing this?

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

Porting custom cake script to fabric

[]20112x: I am attempting to use the script from <#1184426569012351017> in fabric and am running into crashes when starting the game, namely dev.latvian.mods.rhino.EcmaError: TypeError: Cannot find function tab in object net.minecraft.class_1792$class_1793@4351b265. I understand that this is most likely due to the forge classes in the script, but I do not know where to begin.

๐Ÿ’ฌ 1 • 1.20.1 • Fabric • 

Adding modded features to vanilla biomes

polytone 1.21.11 never: I'm trying to add some features from features from a mod (Alex's Caves) to some vanilla biomes, but it isn't working for me. Sorry for the noob question, what am I doing wrong?

๐Ÿ’ฌ 10 • 1.20.1 • Forge • 

Tooltip Adjustments

Mark: ``` ItemEvents.tooltip(event => {

๐Ÿ’ฌ 25 • 1.20.1 • Forge • 

about kubeJS

Jason.HanSway: I am using an identical copy of the modpack provided by the server host, but as shown in the screenshot, I am unable to join the server.

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

why the heck this is not working?

โ˜ฉ Hiruka โ˜ฉ - ใฒใ‚‹ใ‹ DEV: this is so fudging annoying:

๐Ÿ’ฌ 8 • 1.20.1 • Forge • 

How to read arbitrary NBT without parsing getNbtString()?

ManFromIcyWastelands: Warning: I have optifine installed.

๐Ÿ’ฌ 1 • 1.16.5 • Forge • 

can i force an item texture?

LgndTheDredgen: some mods item textures are glitched and i cant directly replace them to fix it, but can I make a script that forces an item to use that texture instead?

๐Ÿ’ฌ 11 • 1.20.1 • Forge • 

EnderStorage recipe edits not working?

skoolboi: Not sure why, but the following code in my server_scripts isn't modifying the recipes. Any ideas why?

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

How do i intercept end crystal damage?

RARE PANDA: I'm trying to make it so the player cant break an end crystal from too far away. This script doesnt even say hi, and the entityevents.death doesnt either.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Using NBT tags to use specific buckets with the Ceramic Buckets Mod

PotatoBro: Pretty simple and straight forward. Don't know how else to add onto it.

๐Ÿ’ฌ 13 • 1.20.1 • Forge • 

Kubejs Worldgen Help

CostlierSquid: Hello, so I found on the wiki that apparently the worldgen stuff in server events is apparently not that good in 1.20.1, but essentially, I just wanted to replace block x with block y, but I wasn't sure how to do this. I saw that it should be done via datapacks because its easier, but I wanted to see if I could just do this via scripting first. If possible, I would love to know how to do both if someone is willing in the event one of the options does not work

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Can i make shafts and cogs ect use stress with kube on 1.21.1?

Zeus_32: Title

๐Ÿ’ฌ 7 • 1.21 • Forge • 

Add others redstone block

TimeheroTH: StartupEvents.registry('block', event => {

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Java Adapter problems

milo: Trying to extend the `CoilItem` class' `useOn` method to allow placement on usually unsupported blocks.

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

Executing Commands using KJS

EEX5: I’m trying to make it so that when a player joins, a command such as a game rule runs. So like in gregtech odyssey for example, the command /title runs when the player joins or something. I wanna do something similar but am unsure is there is a OnJoin event or something. If not, I could do it like when a player chops down wood; just anything early game ig.

๐Ÿ’ฌ 10 • 1.20.1 • Forge • 

Nerfing tamed mobs

MonoRedBaron: Title. Is there a script I can use that will change the attributes like health of a mob when it's tamed? I'm playing with Ice and Fire and I want to nerf tamed dragons while keeping wild dragons strong.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Items are registered *after* tool tiers?

mo_mo (ping me): Is kubejs registering items after registering tool tiers? I can't set the repair ingredient to a kubejs-registered item: `Failed to read ingredient from kubejs:bronze_ingot: Item with ID kubejs:bronze_ingot does not exist!`

๐Ÿ’ฌ 3 • 1.21 • Forge • 

ClientEvents rename doesnt work

DaddySpin (Reflection > Mod): im not sure why but this client script doesnt work at all

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

blocks to not cull on themself

Mr.Fluff: Q: what render mode do i need for blocks to not cull on themself

๐Ÿ’ฌ 18 • 1.20.1 • Forge/Fabric • 

Better way to speed up effect duration

Jaofumi: i'm trying to make the effects the player has timer speed up and this was the best i could come up with so i was wondering if there was a better way of doing this

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

how can i change specific data on setCustomData?

Creeeator: ```js

๐Ÿ’ฌ 4 • 1.21 • Forge • 

Locking the use of a keybind

Pakaru: Basically, I want to prevent players pressing M to open the Map without having a map item in their inventory. Is it possible to lock a keyboard keybind using KubeJS?

๐Ÿ’ฌ 5 • 1.20.1 • Fabric • 

Effect not working when item stack = 1

mayojar_: title

๐Ÿ’ฌ 9 • 1.20.1 • Forge • 

Cloning a modded block?

Yez: I'm trying to copy the block of sky sky block but its crashing mid load.

๐Ÿ’ฌ 8 • 1.20.1 • Forge • 

Fluid replacement in melting recipes doesnt work?

Amy: I'm trying to replace certain TConstruct molten metals in smeltery recipes with their Gregtech counterparts. For example, when melting an iron ingot, i want it to output GT's `liquid iron` instead of TC's `molten iron`. Unfortunately I just can't get it to work, no matter what. I already made it so GT's fluids have the proper tag and can be used in place of TC's fluids for casting/alloying recipes but when it comes to melting, it still outputs TC's fluids for some reason.

๐Ÿ’ฌ 3 • 1.20.1 • Forge • 

Thermal Foundation making own Augments

Xsmer: So yeah i wanted to add my own augments but idk how and Yes i was looking in Wiki and Yes i was using ChatGPT and it went from kubejs trough data packs and trough making Completly new addon which is Hard, i am on forge 1.20.1, please someone help ๐Ÿฅฒ

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

entityjs questions about spawn control

kirb: event.addSpawn('kubejs:sasuke', ['#minecraft:is_overworld'], 20, 3, 5);

๐Ÿ’ฌ 19 • 1.20.1 • Forge • 

Making a /setspawn and a /spawn command for a server

Jörgen Automobilen: Basically I need a /setspawn command to well set the spawn of the server to a certain point for /spawn to go to I'm kinda new and inexperienced... pls go easy on me

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

[Create] Adding Mysterious Conversion (via reflection) causes client script crash

Starwort: I'm trying to add Chromatic Compound mysterious conversion recipes back into Create 6 (as Create still has the code to make this work) - but I can't get the Mysterious Conversion recipes back; it causes this error:

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

Shaped Recipes not registering properly

fisto planet: Making a modpack and to cut down on bloat im merging all wooden pressure plates, wooden buttons, boats(including boatload variants and chest variants), and sleds(snowy spirit). Apparently only the Button recipe works since it's the first recipe, but everything else after that doesn't register properly. I have no clue what to do since im new to KubeJS and it seems like every other recipe other than the shaped ones are working fine.

๐Ÿ’ฌ 7 • 1.20.1 • Forge • 

Limit stack size in inventory

Emyrian: Is there a way to limit the stack size of inventory slots for a custom entity inventory? For example, I want the stack limit for my Drying Rack slots to be 1.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Unable to remove recipes for some mod items

rocketmice: I've been trying to mess with custom modded recipes, but a couple of mods seem to be resistant to modification -- specifically Create: Stuff and Editions & Immersive engineering. I'm able to add recipes for the items, but can't remove the original recipes. I can show the code I've been using, and I have been using the cipherwrite mod to make designing the recipes easier.

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Custom item functionality and recipes seems to be completely swapped around?

UltraGaymer (Ren): Hello! I am using KubeJS to add some custom items and blocks for my modpack, along with recipes for said items. This works completely fine in singleplayer! However, on my server, the functionality and recipes for items seems to be completely swapped around? For example, if I grab the "Ultrapure Primium" item (which is made to be a crafting component for some other recipes), it behaves entirely like a different item that just so happens to be a block, which means right clicking will place blocks! In addition, it tries to have the crafting recipe of that block, but... since that has a messed up crafting recipe too, everything ends up being really broken! Again, this issue *only* occurs on my server (which has the same scripts and the same config and mods), and does not occur if someone plays in singleplayer or opens a singleplayer world to LAN

๐Ÿ’ฌ 7 • 1.20.1 • Fabric • 

durability

Anonymous: I want to duplicate the item durability of items that are part of 1 tag, but, I've been having problems with that, I installed a mod that adds tags automatically to some items, and because some things got their original tags broken, would something like this work?

๐Ÿ’ฌ 47 • 1.20.1 • Fabric • 

Disable errors from other mods

egg: I've got an issue where every time I load into a world, I get 13 errors (and 695 warnings) from several mods in my modpack. Is there any way to disable those errors without disabling errors from my changes?

๐Ÿ’ฌ 4 • 1.21 • Forge • 

getting custom armour to adopt a model and texture

Sharky | Ping me: ```js

๐Ÿ’ฌ 4 • 1.20.1 • Forge • 

Basic Tooltips

Mark: (im new to KubeJS so sorry if i ask simple questions) How could I add basic tooltips to items? like I want to make it so i hold down shift and then a tooltip with info pops up

๐Ÿ’ฌ 5 • 1.20.1 • Forge • 

Is it possible to keep the bucket in a smelting recipe?

๐•€๐•ฅ๐•ซ๐•Ž๐• ๐•†๐•จ: i wanted to make a salt recipe for my modpack but the bucket dissapears

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Failing to change specific item's behaviour

Gelre: So I'm pretty new to KubeJS but fortunately it all seems pretty easy and I've gotten most stuff I want to do to work without issue but I'm running into 1 particular item that is simply refusing to have it's behaviour changed.

๐Ÿ’ฌ 5 • 1.21 • Forge • 

Connnected Textures

ggerald_: I switched from 1.20.1 forge to 1.21.1 neoforge. In 1.20.1 i used LDlib to make connected textures but it doesnt work anymore. the connected texture, mcmeta and block model

๐Ÿ’ฌ 2 • 1.21 • Forge • 

Effect value change

Fennix: "I want to change the Ancient Knowledge XP bonus in Apotheosis. By default, level I gives +100% XP, level II gives +200%, up to level IV giving +400%. I don’t want it to scale that much. I want each level to give only +10% XP, so level IV gives +40% XP.

๐Ÿ’ฌ 1 • 1.21 • Forge • 

optimization question, custom blocks

Mr.Fluff: how can I make this more efficient?

๐Ÿ’ฌ 3 • 1.20.1 • Fabric • 

make a mob have a chance to summon a evoker fang on them when im getting damaged

LgndTheDredgen: I am making a script that I want a 15% chance to summon an evoker fang on a mob that attacks me but not sure how to detect the hit and then summon the fang on top of them instead of myself

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

1.18 Block that sounds like netherrack

J.F. Lifesteal: In later versions there is a soundType that is for netherrack, but in 1.18 theres materials instead, but from the wiki I can't find a netherrack material, so how am I supposed to make a block that sounds like netherrack?

๐Ÿ’ฌ 9 • 1.18.2 • Forge • 

For loop concatenation help

Bad Idea Generator: So, I'm trying to make a for loop that creates recipes for a bunch of tracks autogenerated for tfc wood types by create steam and rails.

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Dark Familiar not working in KubeJS 1.20.1

Usman: Hi KubeJS support,

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Unable to remove L_Ender's Cataclysm items from L_Ender's Cataclysm mob drops.

LouWii: LootJS.lootTables(event => {

๐Ÿ’ฌ 1 • 1.21 • Forge • 

Issue creating a fluid with type different to 'thick' or 'thin'

Driftwood88: Hi, first time posting here!

๐Ÿ’ฌ 2 • 1.21 • Forge • 

Items to give and take tags

Owen: so im needing to make three items. a syringe item, then two filled syringes. the two filled syringes should be giving the player a different tag depending on the contents of the syringe, and then returning a single syringe back to the player. the empty syringe should be taking the tag away from the player, and providing a matching syringe. i've been trying to do this without making the max stack size 1 and using ```js

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

Scheduler warmup needed???

RARE PANDA: Why do i have to put this in player event login in order for the "first" schedule including event to actually use the scheduler?

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

PlayerEvents.inventoryChanged can't detect when last item is thrown

Dagilio: Im trying to make it so if you have the ingot in your inventory it sets you on fire until you throw it away and then removes the fire. but no matter what i check it never works. I tried checking if item.count==0, item.count==null, ==undefined, i tried checking item itself for null or undefined, and event==null or undefined. So my question is how can i detect when the stack becomes 0

๐Ÿ’ฌ 5 • 1.20.1 • Forge • 

Botany Pots Growth Speed up

Xsmer: so basically i want to make every crop in botany pots growth a little bit faster so for example from 2 minutes to 35 seconds and also i mean not by only one or some recipes but all of them but idk how to achieve this, can someone help?

๐Ÿ’ฌ 1 • 1.20.1 • Forge • 

effect script doesnt do more than 6 seconds

Purphect: So im making a script for a palladium ability, but for whatever reason it wont apply the effect for more than 6 seconds max

๐Ÿ’ฌ 1 • 1.20.1 • Fabric • 

wood type for Sophisticated Storage limited barrels?

Hollyleaf: Trying to add custom crafting recipes for limited barrels and I'm not sure how to actually change what type of wood it is, right now it just defaults to acacia

๐Ÿ’ฌ 16 • 1.21 • Forge • 

Custom waystone runes not showing runes overlay

Frosty: I have managed to make a functioning waystone variant using one of the example scripts, and got the textures and models working except the runes.

๐Ÿ’ฌ 2 • 1.20.1 • Forge • 

Return statement not stopping command execution

MasterNinad: > .executes(ctx => {

๐Ÿ’ฌ 6 • 1.21 • Forge • 

Showing 100/10905 posts