Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

The Minecraft Mod API

branch: master

This branch is 0 commits ahead and 0 commits behind master

[Bleeding] Add new TargetReasons to EntityTargetEvent.

This commit adds three new TargetReasons to EntityTargetEvent to address
missing cases where the event is not currently fired.

The first, TargetReason.TARGET_ATTACKED_NEARBY_ENTITY, is used when a
neutral wolf is attacked, causing all nearby wolves to turn hostile and
attack the first wolf's target.

The second, TargetReason.REINFORCEMENT_TARGET, is used when a zombie summons
reinforcements and the new zombie targets the first zombie's target.

The third, TargetReason.COLLISION, is used when an iron golem collides with
a hostile entity, causing it to begin targeting the entity it collided with.
latest commit f7163d78a6
GJ gmcferrin authored February 08, 2014 amaranth committed April 18, 2014
Octocat-spinner-32 src [Bleeding] Add new TargetReasons to EntityTargetEvent. April 18, 2014
Octocat-spinner-32 .gitignore Ignore all .DS_Store files, not just root folder April 01, 2013
Octocat-spinner-32 CONTRIBUTING.md Minecraft spec has changed and we're required to follow. We now build… July 10, 2013
Octocat-spinner-32 LICENCE.txt We're GPL. January 02, 2011
Octocat-spinner-32 README.md Add missing new line to README.md March 18, 2013
Octocat-spinner-32 pom.xml Update Bukkit for Minecraft 1.7.9 April 17, 2014
README.md
Something went wrong with that request. Please try again.