#I don't understand how to put this text into my recipe

65 messages · Page 1 of 1 (latest)

tawny crypt
#

I'm trying to add an Item.of('draconicevolution:mob_soul', '{EntityName: "minecraft:wither"}'), but nothing comes out.

spare creekBOT
#

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

hearty wolfBOT
#

Paste version of help.js from @tawny crypt

pale wigeon
#

wdym "nothing comes out"?

#

also, you should add .toJson() at the end

#

wait what

#

what is that recipe type? despair

#

also just to be sure, did you use some AI to make this script?

remote jacinth
#

oh boy what is this

pale wigeon
#

I don't even know despair

#

??ai

hearty wolfBOT
# pale wigeon ??ai

NEVER use any AI to generate KubeJS code. They currently know very little about it, and what they do know is often outdated or false. You can instead look at the KubeJS wiki or ask for help in #1047320998199955458.

tawny crypt
# pale wigeon wdym "nothing comes out"?

: {"type":"type","name":"name","time":2595600,"rewards":[{"item":"draconicevolution:draconic_chestpiece"},{"item":"draconicevolution:draconium_core","count":64},{"item":"draconicevolution:draconic_energy_module","count":16},{"item":"ae2:molecular_assembler","count":64},{"item":"ae2:brain_processor_press"},{"item":"industrialforegoing:machine_frame_advanced","count":32},{"item":"draconicevolution:draconium_block","count":64},{"item":"ae2:crafting_accelerator_3_level","count":3},{"item":"ae2:1024k_crafting_storage","count":4},{"item":"draconicevolution:draconic_bow"},{"item":"draconicevolution:wyvern_core","count":32},{"item":"ae2:item_cell_housing","count":8},{"item":"ae2:cell_component_4096k","count":8},{"item":"ae2:skyfarium_processor_press"},{"item":"industrialforegoing:machine_frame_supreme","count":16},{"item":"minecraft:netherite_block","count":64},{"item":"quantumquarryplus:quantum_quarry_plus","count":2},{"item":"ic3:overclocker_2_level_upgrade","count":64},{"item":"draconicevolution:draconic_staff"},{"item":"draconicevolution:awakened_core","count":16},{"item":"draconicevolution:grinder","count":4},{"item":"ae2:security_station"},{"item":"ae2:gladius_processor_press"},{"item":"ae2:interface_3_level","count":16},{"item":"draconicevolution:awakened_draconium_block","count":64},{"item":"ae2:wireless_booster","count":64},{"item":"ic3:solar_generator_7_level","count":2},{"item":"avaritia:skullfire_sword"},{"item":"draconicevolution:chaotic_core","count":8},{"item":"draconicevolution:draconic_capacitor"},{"item":"ae2:wireless_access_point"},{"item":"draconicevolution:awakened_crafting_injector","count":12},{"Item":"draconicevolution:mob_soul","tag":{"EntityName":"minecraft:wither"}},{"item":"avaritia:neutronium_block","count":64},{"item":"ae2:wireless_crafting_terminal"},{"item":"ic3:solar_generator_8_level"}]}: com.google.gson.JsonSyntaxException: Missing item, expected to find a string

pale wigeon
#

what the forge is that despair

tawny crypt
#

I edited out the unimportant information The recipe itself works I checked it the problem is with the addition of this.

pale wigeon
#

not like that despair

tawny crypt
#

I don't really understand

pale wigeon
#

nor do I

heady wolf
#

basically your script is garbage because it was spat out by a computer

pale wigeon
#

💀

heady wolf
#

we can't just debug it. we'll have to make it from scratch

pale wigeon
#

plus the recipe type

#

my_mod:my_mod_type despair

heady wolf
#

what recipe is it supposed to be

tawny crypt
#

I don't want to add unnecessary information that has no relevance.

hallow orbit
#

{"Item":"draconicevolution:mob_soul","tag":{"EntityName":"minecraft:wither"}},
this is correct?

heady wolf
tawny crypt
#

The script works problem only with adding more complex items with nbt

pale wigeon
#

??helpyou

hearty wolfBOT
# pale wigeon ??helpyou

╰( ͡° ͜ʖ ͡° )つ──☆:・゚˜”°•.˜”°• Many Help •°”˜.•°”˜*
Please provide a description of your issue with as much detail as possible. If you have an issue with a script provide the script. Explain what you can see happening and what you expect to happen. Be specific!

Tell us what is happening, we already know it "doesn't work".
Avoid using words like "it", tell us exactly what "it" is.
Don't assume anyone knows what you are talking about, be specific.

Provide screenshots or video of the issue, not the code or chat, if possible.

Provide the log.

heady wolf
#

what?

heady wolf
#

this script cannot work i think

pale wigeon
pale wigeon
#

plus the recipe type

tawny crypt
heady wolf
heady wolf
#

javascript just deals with that

tawny crypt
#

okey

pale wigeon
#

either way

#

??helpyoy

hallow orbit
#

#hoisting

pale wigeon
#

??helpyou

hearty wolfBOT
# pale wigeon ??helpyou

╰( ͡° ͜ʖ ͡° )つ──☆:・゚˜”°•.˜”°• Many Help •°”˜.•°”˜*
Please provide a description of your issue with as much detail as possible. If you have an issue with a script provide the script. Explain what you can see happening and what you expect to happen. Be specific!

Tell us what is happening, we already know it "doesn't work".
Avoid using words like "it", tell us exactly what "it" is.
Don't assume anyone knows what you are talking about, be specific.

Provide screenshots or video of the issue, not the code or chat, if possible.

Provide the log.

pale wigeon
#

tpyo 💀

heady wolf
#

this isn't the log

pale wigeon
heady wolf
tawny crypt
#

need to post warning or what?

dark whale
#

your problem is that item: is written uppercase in that line

pale wigeon
#

^

hallow orbit
#

the only thing i could found its ```{Item: 'draconicevolution:mob_soul', nbt: {'EntityName':'minecraft:wither'}},````i think Item must be lowercase

heady wolf
#

also the recipe type.

#

wait

#

did we just misinterpret you. do you actually have a mod with that namespace for some reason

pale wigeon
#
newKit(e, 'exclusive', [
    ...
    Item.of('draconicevolution:mob_soul', "{'EntityName': 'minecraft:wither'}").toJson(),
    ...
], 2595600)
pale wigeon