001 package net.minecraftforge.event.entity.living;
002
003 import net.minecraft.src.EntityLiving;
004 import net.minecraft.src.World;
005
006 public class LivingSpecialSpawnEvent extends LivingEvent
007 {
008 public final World world;
009 public final float x;
010 public final float y;
011 public final float z;
012 private boolean handeled = false;
013
014 public LivingSpecialSpawnEvent(EntityLiving entity, World world, float x, float y, float z)
015 {
016 super(entity);
017 this.world = world;
018 this.x = x;
019 this.y = y;
020 this.z = z;
021 }
022
023 public void setHandeled()
024 {
025 handeled = true;
026 }
027
028 public boolean isHandeled()
029 {
030 return handeled;
031 }
032 }