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

Started by Little_doll_C on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is it possible to make an entity spawn in a structure? If so, how can I do this?

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!

Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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! :/

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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!