2012-08-05 10:20:07 +00:00
|
|
|
package net.minecraftforge.event.entity;
|
|
|
|
|
|
|
|
import net.minecraft.src.Entity;
|
|
|
|
import net.minecraftforge.event.Event;
|
|
|
|
|
|
|
|
public class EntityEvent extends Event
|
|
|
|
{
|
2012-08-07 23:54:14 +00:00
|
|
|
public final Entity entity;
|
2012-08-05 10:20:07 +00:00
|
|
|
|
|
|
|
public EntityEvent(Entity entity)
|
|
|
|
{
|
|
|
|
this.entity = entity;
|
|
|
|
}
|
|
|
|
|
2012-08-07 23:54:14 +00:00
|
|
|
public static class CanUpdate extends EntityEvent
|
2012-08-05 10:20:07 +00:00
|
|
|
{
|
2012-08-07 23:54:14 +00:00
|
|
|
public boolean canUpdate = false;
|
|
|
|
public CanUpdate(Entity entity)
|
|
|
|
{
|
|
|
|
super(entity);
|
|
|
|
}
|
2012-08-05 10:20:07 +00:00
|
|
|
}
|
|
|
|
}
|