how do i make different colours of a single animal come from one spawn egg (SOLVED)

Started by bananarang_mods on Fri, 07/31/2020 - 03:12

Topic category: Help with modding (Java Edition)

Last seen on 22:25, 20. Jun 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
how do i make different colours of a single animal come from one spawn egg (SOLVED)
Thu, 10/22/2020 - 02:14 (edited)

[SOLVED] hi i want to make different colours of a single animal come out of one spawn egg pls help me

Edited by bananarang_mods on Thu, 10/22/2020 - 02:14
Last seen on 20:33, 18. Jun 2021
Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Hi. I think the best method…
Fri, 07/31/2020 - 07:11

Hi. I think the best method would be to create several variants of your mob (each variant would have different texture/colour). And when you place your spawn egg run a procedure with random numbers (probability) to spawn your mob variants. 

Last seen on 22:25, 20. Jun 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
ok
Fri, 07/31/2020 - 07:29

ok

Last seen on 10:18, 7. May 2021
Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
another would be to make a…
Mon, 08/24/2020 - 13:09

another would be to make a single variable, and then assign the egg a procedure like:

 

if: Variable = 1
do: Summon: MobA 

if: Variable = 2
do: Summon: MobB

etc...

etc...

 

      Set Variable: Get Variable + 1

That would be it
 

Last seen on 22:25, 20. Jun 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I did luckys25's method and…
Thu, 10/22/2020 - 02:14

I did luckys25's method and it works