How to make my custom mob spawn from custom block like silver fish? It is posible yet?

Started by QB on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make my custom mob spawn from custom block like silver fish? It is posible yet?
Thu, 06/27/2019 - 15:41 (edited)

So I'm currently working on my mod and I don't know how to make my custom mob to spawn from a custom block when players go pass it (like silver fish spawn from stonebrick block if it spotted a player), can you guys help me? It is posible yet? Thank you very much!

Edited by QB on Thu, 06/27/2019 - 15:41
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, so the player stil have…
Fri, 06/28/2019 - 10:14

Ok, so the player stil have to touch or break the block in order to trigger that proceduce right? It do not auto detect when a player is near by?

Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think what the collide…
Fri, 06/28/2019 - 10:55

I think what the collide with block trigger does is if a player brushes up against a block, that will cause the procedure to activate so I do not believe there is an auto detect for entities that has been implemented yet.

Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm not sure I understand …
Fri, 06/28/2019 - 10:57

I'm not sure I understand "player brushes up against a block" it like cactus right?

Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes, if the player is right…
Fri, 06/28/2019 - 10:59

Yes, if the player is right next to the block so that they are touching or brushing up against it, it will activate the procedure.

Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, thanks for your help!
Fri, 06/28/2019 - 11:19

Ok, thanks for your help!