* Upvote this comment if this is a good quality post that fits the purpose of r/Minecraft
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
Specific_Tear6322025-11-30 21:47
What specifically are you trying to summon, and what have you tried so far?
Andrew68752025-11-30 21:49
I was trying to spawn enchanted golden apples and I had tried the way you do it in chat(/give @s enchanted_golden_apple [amount]) but that didn’t work and all the tutorials I saw were for Java
You can't use `@s` in a command block because it refers to the entity executing the command, and a command block isn't an entity. `@p` means "nearest player". See https://minecraft.wiki/w/Target_selectors for other options.
Andrew68752025-11-30 22:04
Thanks
Andrew68752025-12-03 03:18
I can’t figure it out do I need to do something with like the condition?
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
https://minecraft.wiki/w/Commands/give#Syntax
https://minecraft.wiki/w/Enchanted_Golden_Apple#Data_values
https://www.digminecraft.com/generators/give_food_pe.php
You can't use `@s` in a command block because it refers to the entity executing the command, and a command block isn't an entity. `@p` means "nearest player". See https://minecraft.wiki/w/Target_selectors for other options.