Is it possible to make an entity spawn in a structure? If so, how can I do this?

Started by Little_doll_C on Wed, 07/22/2020 - 13:04

Topic category: Help with modding (Java Edition)

Last seen on 15:30, 24. Jul 2020
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Is it possible to make an entity spawn in a structure? If so, how can I do this?
Wed, 07/22/2020 - 13:04

Hello!

I have a question: can we make an entity spawn in a structure we have made? If so, how can I do that? To go more in details, the entity needs to spawn in a tiny arena (when I say tiny, it's at least the size of a villager's house)

Thanks in advance!

Last seen on 17:49, 25. Mar 2021
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
If you are making the…
Wed, 07/22/2020 - 14:35

If you are making the structure using structure blocks, just add the mob there using a spawn egg and enable the "Include Entities" option of the structure block when saving :)

Make sure to disable despawning for that entity or else it will disappear! :/

Last seen on 15:30, 24. Jul 2020
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thank you so much :D I will…
Thu, 07/23/2020 - 12:31

Thank you so much :D I will try this immediately!