Checking if an entity/postiton is inside a structure

Started by unlisted eevee on

Topic category: Advanced modding

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Checking if an entity/postiton is inside a structure

Is there a way of checking if a entity, or position is inside of structure? I am trying to create an entity that spawns inside of a mineshaft.

Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if you do your structure -…
Wed, 06/07/2023 - 21:54

if you do your structure - no problem 

if you want make entity spawn in vanillia structere - it s not that simple 

so for example you can make procedure that villagers will be replace by your entity - and you will have your entity in villages

but for mineshaft i have no idea ...