public class RenderSpecificHandEvent extends Event
MinecraftForge.EVENT_BUS
whenever a hand is rendered in first person.
Canceling the event causes the hand to not render.
TODO This may get merged in 11 with RenderHandEvent to make a generic hand renderingEvent.HasResult, Event.Result
Constructor and Description |
---|
RenderSpecificHandEvent(EnumHand hand,
float partialTicks,
float interpolatedPitch,
float swingProgress,
float equipProgress,
ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
float |
getEquipProgress() |
EnumHand |
getHand() |
float |
getInterpolatedPitch() |
ItemStack |
getItemStack() |
float |
getPartialTicks() |
float |
getSwingProgress() |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public EnumHand getHand()
public float getPartialTicks()
public float getInterpolatedPitch()
public float getSwingProgress()
public float getEquipProgress()
@Nonnull public ItemStack getItemStack()