Editing Vanilla mobs.

Started by InfernoEverflame on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined Aug 2020
Points:
644

User statistics:

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

Active 3 years ago
Joined Nov 2018
Points:
978

User statistics:

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

Active 2 weeks ago
Joined May 2020
Points:
717

User statistics:

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

Ohh, wait I misunderstood you. Thank you.

Active 2 weeks ago
Joined May 2020
Points:
717

User statistics:

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

Active 3 years ago
Joined Nov 2019
Points:
878

User statistics:

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

Active 2 weeks ago
Joined May 2020
Points:
717

User statistics:

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

Active 2 weeks ago
Joined May 2020
Points:
717

User statistics:

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

Maybe we could further this discussion via Discord?

Active 3 years ago
Joined Nov 2019
Points:
878

User statistics:

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

sure

Active 4 years ago
Joined Sep 2020
Points:
654

User statistics:

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

Active 4 years ago
Joined Sep 2020
Points:
654

User statistics:

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

Active 4 years ago
Joined Sep 2020
Points:
654

User statistics:

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

Please help

Active 3 years ago
Joined Nov 2019
Points:
878

User statistics:

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

Active 4 years ago
Joined Sep 2020
Points:
654

User statistics:

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

Thank you so much, you helped a lot!

Active 1 year ago
Joined May 2021
Points:
562

User statistics:

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

Active 3 years ago
Joined Feb 2022
Points:
485

User statistics:

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