How to create a structure in which certain entities will appear by themselves?

Started by CharacterNotFound on

Topic category: Help with MCreator software

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to create a structure in which certain entities will appear by themselves?

I want to create a structure where I can spawn entities (without spawners), like piglins in the bastion remnants. How to do this?Is it possible to do in MCreator? 
P.S MCreator version 2024.3.Any help would be welcome

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
To the best of my knowledge…
Thu, 10/31/2024 - 16:16

To the best of my knowledge it's not possible to do this with MCreator. I know you said no spawners, but you might still consider using a special block or entity.

For my structures, I'll often have a special block that's programmed to spawn entities in a radius when randomly ticked- and then players have to break the block to disable reinforcements. You could also make an invisible, persistant entity with no hitbox, that does the same thing when loaded, if you want it to be subtler. For a surface structure, the procedure's pretty much just setting a random x/z offset, and then spawning a mob at world height, with the random offset applied.

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@Klemen ok this is works.For…
Fri, 11/01/2024 - 18:28

@Klemen ok this is works.For some reason this isnt working when i spawn a structure with structure block,but when structure naturally spaw, entities spawn too.