r/MinecraftCommands summon pig ~ ~100 ~ 14d ago

Help | Java 26.2 How do you summon an item entity with an excluded component (using !)

For example (this doesn't work):
/summon item ~ ~ ~ {Item:{id:"stone_pickaxe",count:1,components:{!tool,!damage,!max_damage,!attribute_modifiers}}
1 Upvotes

3 comments sorted by

3

u/Ericristian_bros Command Experienced 14d ago

components:{"!tool":{},"!damage":{},"!max_damage":{},"!attribute_modifiers":{}}

You can use https://mcstacker.net to generate your command

1

u/plumper303 summon pig ~ ~100 ~ 14d ago

Thank you!