ForgePatch/common/net/minecraftforge/event/entity/EntityEvent.java
2012-08-07 16:54:14 -07:00

23 lines
475 B
Java

package net.minecraftforge.event.entity;
import net.minecraft.src.Entity;
import net.minecraftforge.event.Event;
public class EntityEvent extends Event
{
public final Entity entity;
public EntityEvent(Entity entity)
{
this.entity = entity;
}
public static class CanUpdate extends EntityEvent
{
public boolean canUpdate = false;
public CanUpdate(Entity entity)
{
super(entity);
}
}
}