Add Pre and Post events for RenderLivingEvent

This commit is contained in:
iChun 2013-07-26 12:38:17 +08:00
parent 6397939c9e
commit f48dafda7e

View file

@ -16,6 +16,16 @@ public abstract class RenderLivingEvent extends Event
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
{
public Specials(EntityLivingBase entity, RendererLivingEntity renderer){ super(entity, renderer); }