How do I spawn an item?

Started by CrackHead on Tue, 09/08/2020 - 13:14

Topic category: Help with MCreator software

Last seen on 07:41, 9. Sep 2020
Joined Sep 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I spawn an item?
Tue, 09/08/2020 - 13:14

I'm not trying to do /give, I wanna do /summon minecraft:item but for an item I added. I tried /summon mymod:item but there is not an item category in my mod. How would I do this?

Last seen on 19:50, 30. Oct 2020
Joined Jan 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
(I'm assuming you want it…
Tue, 09/08/2020 - 13:18

(I'm assuming you want it with a procedure). There's only one entity for all dropped items, called item. It uses NBT to determine which item it actually is. However, in the World Procedures, there's a Spawn Gem --- at X Y Z block, which will spawn a dropped item of whatever you selected at those coordinates, which is much easier to use/configure.

Last seen on 08:29, 31. Oct 2020
Joined Feb 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
1.7-1.10- /summon Item ~ ~ ~…
Tue, 09/08/2020 - 13:21

1.7-1.10- /summon Item ~ ~ ~ {Item:{id:"mymod:item",Count:1b}}
1.11-1.16 /summon item ~ ~ ~ {Item:{id:"mymod:item",Count:1b}}

Last seen on 07:41, 9. Sep 2020
Joined Sep 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thanks to both of you. That…
Tue, 09/08/2020 - 18:15

Thanks to both of you. That's exactly what I needed, thankyou.