Bukkit
1.4.7-R1.0
Main Page
Related Pages
Classes
Files
File List
All
Classes
Namespaces
Files
Functions
Variables
Enumerator
Pages
EntityTargetLivingEntityEvent.java
Go to the documentation of this file.
1
package
org.bukkit.event.entity;
2
3
import
org.bukkit.entity.Entity;
4
import
org.bukkit.entity.LivingEntity;
5
9
public
class
EntityTargetLivingEntityEvent
extends
EntityTargetEvent
{
10
public
EntityTargetLivingEntityEvent
(
final
Entity
entity
,
final
LivingEntity
target,
final
TargetReason
reason) {
11
super(entity, target, reason);
12
}
13
14
public
LivingEntity
getTarget
() {
15
return
(
LivingEntity
) super.getTarget();
16
}
17
27
public
void
setTarget
(
Entity
target) {
28
if
(target == null || target instanceof
LivingEntity
) {
29
super.setTarget(target);
30
}
31
}
32
}
org
bukkit
event
entity
EntityTargetLivingEntityEvent.java
Generated on Fri May 24 2013 02:17:23 for Bukkit by
1.8.2