Editing Vanilla mobs.

Started by InfernoEverflame on

Topic category: Help with modding (Java Edition)

Last seen on 02:57, 8. Apr 2021
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Editing Vanilla mobs.

hello To all MCreator developers and Mod creators, i was wondering how you could make a vanilla mob aggressive to a modded mob 

Ex: Zombie hostile to Villagers

Last seen on 14:43, 2. Aug 2022
Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Literally click the box I…
Thu, 03/18/2021 - 19:17

Literally click the box I circled on the image and scroll down until you find EntityZombie.

Last seen on 22:22, 6. Mar 2024
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ohh, wait I misunderstood…
Thu, 03/18/2021 - 19:20

Ohh, wait I misunderstood you. Thank you.

Last seen on 22:22, 6. Mar 2024
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It ended up not working, not…
Fri, 03/19/2021 - 16:37

It ended up not working, not sure why, I first copied the code but later-on ended up just re-writing it which also didn't work. Is it because I used the Iron Golem in this case?

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
explain how it "didn't work"…
Fri, 03/19/2021 - 22:34

explain how it "didn't work" in more detail. step by step explanation of the behavior of the golem. show us your procedures

Last seen on 22:22, 6. Mar 2024
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I did exactly what you did…
Sat, 03/20/2021 - 18:25

I did exactly what you did but with the golem, but it just gave an error when compiling and stuff, so I couldn't run the game at all.

Last seen on 22:22, 6. Mar 2024
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe we could further this…
Sun, 03/21/2021 - 14:08

Maybe we could further this discussion via Discord?

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
sure
Sun, 03/21/2021 - 15:04

sure

Last seen on 16:52, 7. Jun 2021
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I want witches to attack…
Fri, 05/28/2021 - 12:54

I want witches to attack villagers, tell me what needs to be changed in the code to make it work, I will be very grateful for your help!

Last seen on 16:52, 7. Jun 2021
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
DiamondGamin, I want witches…
Fri, 05/28/2021 - 12:57

DiamondGamin, I want witches to attack villagers, tell me what needs to be changed in the code to make it work, I will be very grateful for your help!

Last seen on 16:52, 7. Jun 2021
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Please help
Sat, 05/29/2021 - 09:44

Please help

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
refer to the pic i posted…
Sat, 05/29/2021 - 10:30

refer to the pic i posted. change EntityMob in the subtype box to EntityWitch or something.

in the code snippet part, put that line in but change "YourModEntity.CustomEntity.class" to VillagerEntity.class

Last seen on 16:52, 7. Jun 2021
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you so much, you…
Sat, 05/29/2021 - 17:22

Thank you so much, you helped a lot!

Last seen on 13:21, 2. Mar 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
so do i create a custom…
Fri, 01/14/2022 - 12:47

so do i create a custom element or were do i enter the code 

and also do i do it like this

((wolf)entity).targetSelector.addGoal(1, new NearestAttackableTargetGoal((MobEntity)entity, example.CustomEntity.class, false, false));

Last seen on 16:20, 15. Mar 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello! I am having a similar…
Fri, 02/18/2022 - 09:20

Hello! I am having a similar problem, but in a reversive way. I want pillagers, vindicators, ravagers and evokers to bot attack player when he has a specific item in his inventory. Tame did not work, and I could not come up with any kind of other ideas to realise that.