public class RenderSpecificHandEvent
extends net.minecraftforge.eventbus.api.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 renderingConstructor and Description |
---|
RenderSpecificHandEvent(Hand hand,
float partialTicks,
float interpolatedPitch,
float swingProgress,
float equipProgress,
ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
float |
getEquipProgress() |
Hand |
getHand() |
float |
getInterpolatedPitch() |
ItemStack |
getItemStack() |
float |
getPartialTicks() |
float |
getSwingProgress() |
public Hand getHand()
public float getPartialTicks()
public float getInterpolatedPitch()
public float getSwingProgress()
public float getEquipProgress()
@Nonnull public ItemStack getItemStack()