Add Pre and Post events for RenderLivingEvent

This commit is contained in:
iChun committed 2013-07-26 12:38:17 +08:00
1 parent 6397939c9e
commit f48dafda7e
1 file changed
+10
@@ -15,6 +15,16 @@ public abstract class RenderLivingEvent extends Event
this.entity = entity;
this.renderer = renderer;
}
@Cancelable
public static class Pre extends RenderLivingEvent
{
public Pre(EntityLivingBase entity, RendererLivingEntity renderer){ super(entity, renderer); }
}
public static class Post extends RenderLivingEvent
{
public Post(EntityLivingBase entity, RendererLivingEntity renderer){ super(entity, renderer); }
}
public abstract static class Specials extends RenderLivingEvent
{