33 lines
698 B
Java
33 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;
|
||
|
}
|
||
|
}
|