How to make a hostile mob?

Started by waterpeanut19 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a hostile mob?

in the current version of mcreator I can't find a way to make a mob hostile, I can only make it neutral or passive

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Page two of creating a…
Sat, 02/01/2020 - 22:35

Page two of creating a living entity - BEHAVIOURAL CHARACTERISTICS

Options are MOB or CREATURE

You then also need to set the AI rules to attack Entity:player

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There should be 2 code…
Sat, 02/01/2020 - 22:36

There should be 2 code blocks in combat tasks tab when you're coding the AI. The first is "Attack in sight only _ nearby only _ of type __" and the second one is basically "look at __ in radius _" So put the look at first and set the radius to whatever, then put the attack blah blah one second and select EntityPlayer from the drop down on both. That makes it hostile to players.