Mob that is passive during day, hostile during night

Started by moleskykeeper on Sun, 02/07/2021 - 21:10

Topic category: Help with modding (Java Edition)

Last seen on 16:12, 16. Feb 2021
Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Mob that is passive during day, hostile during night
Sun, 02/07/2021 - 21:10

So, I'm currently working on a mod that adds a mob that, like the title states, is passive during the day, and hostile at night. MCreator doesn't appear to have any built-in options for this sort of thing, so I was wondering if anybody had any idea how to implement this? It's ok if it requires coding, I can do that, just tell me what to do.

Thank you in advance.

Last seen on 22:42, 25. Feb 2021
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
https://imgur.com/a/yaswQtr…
Sun, 02/07/2021 - 23:51

https://imgur.com/a/yaswQtr

there's no coding needed, just create a procedure like the first image(in the link I sent) then go to your living entity, AI and Goals and add the "attack entities of type "EntityPlayer"" then click conditions and add the procedure you've made.

Last seen on 16:12, 16. Feb 2021
Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Sweet, thank you so much!!!
Mon, 02/08/2021 - 00:03

Sweet, thank you so much!!!

Last seen on 16:12, 16. Feb 2021
Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Actually, what version of…
Mon, 02/08/2021 - 00:07

Actually, what version of MCreator is this in?

Last seen on 22:42, 25. Feb 2021
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
yea i was hoping this was in…
Mon, 02/08/2021 - 00:09

yea i was hoping this was in the 2020.5 version but, i made this in the new snapshot version 2021.1

Last seen on 16:12, 16. Feb 2021
Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Oof, yeah, especially not…
Mon, 02/08/2021 - 00:23

Oof, yeah, especially not great cuz I'm trying to get this in on 1.12.2,,,, (Because of interaction with other un-updated mods, I wish I could be doing this in 1.15+ ugh)