How do i make my entity Produce an item?

Started by zombimcreator on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i make my entity Produce an item?

I want my entity to create an item simular to a chicken laying an egg, but i do not know how! can someone help? note: i have never used procedures before.

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
do to the triggers area in…
Thu, 05/29/2025 - 00:20
  1. do to the triggers area in your mob
  2. press the plus button near on inital spawn
  3. create procedure
  4. then put reapeat 1e+100 times do: wait random integer between min: 6000 and max: 12000 included do: spawn dropped item: (whatever your dropped item is)
Joined May 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you so much! one…
Thu, 05/29/2025 - 00:30

thank you so much! one question though, how do i get the "1e" ?

Joined May 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nevermind, figured it out…
Thu, 05/29/2025 - 00:34

nevermind, figured it out. THANK YOU!

Joined May 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
update, its not working,…
Thu, 05/29/2025 - 01:53

update, its not working, whenever i try to spawn the entity, it's invisible, and my game crashes shortly after.

 

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
huh idk i dont really use…
Fri, 05/30/2025 - 02:14

huh idk i dont really use mcreator that much so maybe you should not do 1e+100 cause thats too big try a smaller number maybe?