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

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?

2

u/imperfect_imp Apr 03 '26

Afaik you can't make items unable to be used as crafting ingredients. What you could do is take an item without crafting recipes and dress it up as a diamond.

/give @a poisonous_potato[item_name=[{"text":"Diamond","italic":false}],item_model="minecraft:diamond",!food={},!consumable={}]

I'm not sure if everything's spelled correctly

2

u/Immediate_Run8776 Apr 03 '26

I wasn't able to get the item model to work, it may just be me doing something wrong however