How to make a hostile mob?

Started by waterpeanut19 on Sat, 02/01/2020 - 20:01

Topic category: Help with modding

Last seen on 02:29, 18. Feb 2020
Joined Aug 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
How to make a hostile mob?
Sat, 02/01/2020 - 20:01

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

0Upvote this forum topic
Last seen on 15:43, 5. Apr 2020
Joined Jan 2020
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
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

0Upvote this forum topic
Last seen on 20:17, 29. Mar 2020
Joined Jan 2020
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
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.

0Upvote this forum topic