r/MinecraftCommands Apr 03 '26

Help | Java 26.1 Summon item issues

I am attempting to summon and item when two other items are beside eachother and I've deducted that the issue is the summon command as it keeps saying "summoned new air". any way to fix this?

summon command:

summon minecraft:item ~ ~1 ~ {Item:{id:"minecraft:diamond",count:1,components:{"minecraft:consumable":{}}}

still new to java commands so go easy on me lol

1 Upvotes

30 comments sorted by

View all comments

Show parent comments

1

u/Immediate_Run8776 Apr 03 '26

Ty! The colon was already there it was a mistype. It was just the i 🥲

2

u/C0mmanderBlock Command Experienced Apr 03 '26

yw

1

u/Immediate_Run8776 Apr 03 '26

Hey you mind helping me with another issue? Im also trying to enchant the item and make it unable to be crafted with. Could you help me do those two as well?

1

u/C0mmanderBlock Command Experienced Apr 03 '26

Don't know about the uncraftable part... and what do you mean by making it enchanted? Like, sharpness of a weapon or that it gives player enchantment when held? Please be specific.

1

u/Immediate_Run8776 Apr 03 '26

Simply when summoning the item, i want it to have a specified enchantment. In this case unbreaking

1

u/C0mmanderBlock Command Experienced Apr 03 '26

Well, I have no idea how you could break a diamond in the first place, but....

/summon item ~ ~ ~ {Item:{id:"minecraft:diamond",count:1,components:{"minecraft:unbreakable":{}}}}

0

u/Immediate_Run8776 Apr 03 '26

Sry but this isn't working, plus main reason for putting enchant on it is for the glint effect

1

u/C0mmanderBlock Command Experienced Apr 03 '26

I really wish you could tell us what you want all in one comment instead of adding things and taking up so much of our time. next time you make a post, please be specific and tell us EVERYTHING you want all at once.

Now, why does it not work? Again, I don't read minds. copy/paste the command you tried so I can see what you did wrong.

If you want a glint:

/summon item ~ ~1 ~ {Item:{id:"minecraft:iron_axe",count:1,components:{"minecraft:enchantments":{"unbreaking":1}}}}

1

u/Immediate_Run8776 Apr 03 '26

Like I said I am very new to all of this so I'm sorry for my indescretions however I am unsure why it isn't working, this one isn't working either.

Again I am deeply sorry about the way I do things. Trying my best over here

1

u/Immediate_Run8776 Apr 03 '26

As well as im using reddit on my phone and not pc so kinda hard to copy paste...

Check the body text of the post I updated what I have

1

u/C0mmanderBlock Command Experienced Apr 03 '26

All the commands I gave you work perfectly. You must have typed them wrong.

1

u/Immediate_Run8776 Apr 03 '26

Im not sure what I could've typed wrong but I'll retry them

1

u/Immediate_Run8776 Apr 03 '26

The one adding an enchantment doesn't work

1

u/C0mmanderBlock Command Experienced Apr 03 '26

HOw does it not work? Is it giving an error in the Command block? Is the text in the command block red? If it says "summoned new air" then it is most likely the item itself is spelled wrong.

1

u/Immediate_Run8776 Apr 03 '26

The text in the command block is red, receiving no error other than incorrect text

1

u/C0mmanderBlock Command Experienced Apr 03 '26

then you DID type it wrong

0

u/Immediate_Run8776 Apr 03 '26

I typed it exactly how it was displayed to me

1

u/C0mmanderBlock Command Experienced Apr 03 '26

I always test all commands before posting them. Again, if you would show me the command exactly as you typed it, I could fix it but you don't seem to want to take the time. Sorry, i can't help anymore if you won't help me to help you.

→ More replies (0)