How can I replace a mob with another in a procedure?

Started by ommer15 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I replace a mob with another in a procedure?

I'm trying to make a muddy pig mod, and I want the normal Minecraft Pig to change to another texture when it collides with mud fluid that I made. Can I do it?

 

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
do "Despawn :target entity: …
Thu, 07/09/2020 - 13:26

do "Despawn :target entity: (or source entity, depends)" and then use "Spawn Enitity :Your Entity:"

Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah, I would like this too,…
Thu, 07/09/2020 - 14:15

Yeah, I would like this too, I meant like keep the NBT

For example, I want my pet to evolve or sth, if just despawn and spawn, it wont keep NBT, it wont be my pet 

Joined Nov 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well thanks  
Sun, 07/12/2020 - 07:45

Well thanks

 

Joined Nov 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Where's the Spawn Command in…
Sun, 07/12/2020 - 08:08

Where's the Spawn Command in the procedure window?

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
entity procedures, keep…
Sun, 07/12/2020 - 08:22

entity procedures, keep scrolling down

Joined Nov 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can't find it. Btw I'm…
Sun, 07/12/2020 - 08:59

I can't find it. Btw I'm using 2020.2

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
2020.2 is no longer supported
Sun, 07/12/2020 - 09:09

2020.2 is no longer supported

Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
what if the pig is named…
Sun, 07/12/2020 - 09:35

what if the pig is named then it gets mudded?