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

Started by ommer15 on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined Nov 2016
Points:
721

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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?

 

Active 1 day ago
Joined Dec 2018
Points:
1329

User statistics:

  • Modifications: 18
  • Forum topics: 17
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 779
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:"

Active 3 years ago
Joined Jun 2017
Points:
885

User statistics:

  • Modifications: 1
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 133
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 

Active 4 years ago
Joined Nov 2016
Points:
721

User statistics:

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

Well thanks

 

Active 4 years ago
Joined Nov 2016
Points:
721

User statistics:

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

Where's the Spawn Command in the procedure window?

Active 3 years ago
Joined Feb 2018
Points:
826

User statistics:

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

entity procedures, keep scrolling down

Active 4 years ago
Joined Nov 2016
Points:
721

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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

Active 3 years ago
Joined Feb 2018
Points:
826

User statistics:

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

2020.2 is no longer supported

Active 1 year ago
Joined Sep 2018
Points:
726

User statistics:

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

what if the pig is named then it gets mudded?