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
Modifier and Type | Field and Description |
---|---|
private RenderGlobal |
context |
private float |
partialTicks |
private int |
renderPass |
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
private final RenderGlobal context
private final float partialTicks
private final int renderPass
public RenderHandEvent(RenderGlobal context, float partialTicks, int renderPass)
public RenderGlobal getContext()
public float getPartialTicks()
public int getRenderPass()