How would I grant an advancement to the player if they are a close to a modded entity?

Started by Graydoor on

Topic category: Help with modding (Java Edition)

Last seen on 03:51, 19. Jun 2023
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How would I grant an advancement to the player if they are a close to a modded entity?

How would i grant the player an advancement from being close to a modded entity? 
Im using 1.19.2, MCreator version is 2023.1

Last seen on 08:00, 23. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Something like this could…
Mon, 04/17/2023 - 04:47

Something like this could work (replace bee with the entity and the advancement with your advancement obviously)

Last seen on 03:51, 19. Jun 2023
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you! it worked, just…
Mon, 04/17/2023 - 13:25

Thank you! it worked, just wondering if it would be bad to have quite alot of these, im planning to make many mobs but im not sure if this would lag the game

Last seen on 08:00, 23. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't think so, you could…
Tue, 04/18/2023 - 01:17

I don't think so, you could also make multiple if/do blocks in one entity iterator thing if you want to try preventing lag