Mini solution to a problem I had about entity spawn

Started by a guy called l… on

Topic category: Help with modding (Java Edition)

Last seen on 23:35, 30. Oct 2023
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mini solution to a problem I had about entity spawn

I recently had a problem with my hostile entity, which only appeared at night / dark even though I had set it as ambient spawn type, obviously I have to put it on mob and not creature, because a creature cannot attack

Well, my solution is to create an equal mob (in texture) but that IS a creature so that it spawns not only at night, but that when it exists, it becomes the hostile entity

I do not know if it will work, I will try it, if someone has a better solution it would be a pleasure to say it

Last seen on 15:41, 28. Mar 2024
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
what I did in my mod was to…
Tue, 03/02/2021 - 02:53

what I did in my mod was to put the weight of spawn at 101 this makes the entity appear in any piece that is a little dark, your entity will not appear in open fields but it will appear under any tree and etc and then he can walk around making it look like he's born anywhere

Last seen on 05:29, 31. Jan 2022
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
in the entity's spawning…
Tue, 03/02/2021 - 07:30

in the entity's spawning properties, use the custom spawning conditions. creating a custom spawning conditions procedure will override vanilla spawning conditions (which checks for light level and other stuff).

Last seen on 23:35, 30. Oct 2023
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I had tried the procedures…
Tue, 03/02/2021 - 13:11

I had tried the procedures and when I put that it should appear in only light it simply did not appear in absolutely any place But, if it served my idea, when the passive mob appears, it replaces the hostile one in the first tick and it works perfectly