public class RenderHandEvent extends Event
MinecraftForge.EVENT_BUS
before both hands are rendered.
Canceling this event prevents either hand from being rendered,
and prevents RenderSpecificHandEvent
from firing.
TODO This may get merged in 11 with RenderSpecificHandEvent to make a generic hand renderingEvent.HasResult, Event.Result
Constructor and Description |
---|
RenderHandEvent(RenderGlobal context,
float partialTicks,
int renderPass) |
Modifier and Type | Method and Description |
---|---|
RenderGlobal |
getContext() |
float |
getPartialTicks() |
int |
getRenderPass() |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public RenderHandEvent(RenderGlobal context, float partialTicks, int renderPass)
public RenderGlobal getContext()
public float getPartialTicks()
public int getRenderPass()