Add Pre and Post events for RenderLivingEvent
This commit is contained in:
parent
6397939c9e
commit
f48dafda7e
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue