Bukkit/src/main/java/org/bukkit/event/entity/EntityCombustByEntityEvent.java
2012-02-18 13:05:58 -05:00

24 lines
642 B
Java

package org.bukkit.event.entity;
import org.bukkit.entity.Entity;
@SuppressWarnings("serial")
public class EntityCombustByEntityEvent extends EntityCombustEvent {
private final Entity combuster;
public EntityCombustByEntityEvent(final Entity combuster, final Entity combustee, final int duration) {
super(combustee, duration);
this.combuster = combuster;
}
/**
* The combuster can be a WeatherStorm a Blaze, or an Entity holding a FIRE_ASPECT enchanted item.
*
* @return the Entity that set the combustee alight.
*/
public Entity getCombuster() {
return combuster;
}
}