#Defining an item as fully charged in Custom Recipe events

5 messages · Page 1 of 1 (latest)

long barn
#

Apologies if this has been talked about, I searched and didn't see anything regarding what I'm trying to understand.

Essentially just trying to figure out how to call for an item to be charged in order to be a valid ingredient for a recipe. For example, in this recipe, how would I define the Nitro Energy Cells to be fully charged?

event.custom({ "type": "powah:energizing", "ingredients":[ Ingredient.of('powah:energy_cell_nitro'), Ingredient.of('mysticalagradditions:nitro_crystal_crux'), Ingredient.of('powah:energy_cell_nitro'), Ingredient.of('powah:energy_cell_nitro'), Ingredient.of('mysticalagradditions:nitro_crystal_crux'), Ingredient.of('powah:energy_cell_nitro') ], "energy": '1020061442', "result": Item.of('powah:energy_cell_creative') })

I'm also trying to figure this out for Applied Flux cells, Ars Energistique Cells, Applied Botania Cells, and Mekanism Batteries (if that makes a difference)

solar elkBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

gleaming kindle
#

Hold the Item in your Hand and Run /kubejs hand, Copy the Green Item of from chat then Paste that instead of what you currently have for that item

#

I can't garantee that this will Work for every recipe Type tho, as some recipe types don't Support nbt

long barn
#

Thank You! I've only been messing with KubeJS for like 4 days, I was unaware of the hand command