ForgePatch/common/net/minecraftforge/event/entity/living/LivingSpecialSpawnEvent.java
LexManos 31a908b754 More patches converted.
Refactored some of the events to be a better hiarachy.
2012-08-06 15:07:53 -07:00

32 lines
698 B
Java

package net.minecraftforge.event.entity.living;
import net.minecraft.src.EntityLiving;
import net.minecraft.src.World;
public class LivingSpecialSpawnEvent extends LivingEvent
{
public final World world;
public final float x;
public final float y;
public final float z;
private boolean handeled = false;
public LivingSpecialSpawnEvent(EntityLiving entity, World world, float x, float y, float z)
{
super(entity);
this.world = world;
this.x = x;
this.y = y;
this.z = z;
}
public void setHandeled()
{
handeled = true;
}
public boolean isHandeled()
{
return handeled;
}
}