public class RenderHandEvent extends Event
MinecraftForge.EVENT_BUS
whenever a hand is rendered in first person.
Canceling the event causes the hand to not render.Event.HasResult, Event.Result
コンストラクタと説明 |
---|
RenderHandEvent(Hand hand,
com.mojang.blaze3d.matrix.MatrixStack mat,
IRenderTypeBuffer buffers,
int light,
float partialTicks,
float interpolatedPitch,
float swingProgress,
float equipProgress,
ItemStack stack) |
修飾子とタイプ | メソッドと説明 |
---|---|
IRenderTypeBuffer |
getBuffers() |
float |
getEquipProgress() |
Hand |
getHand() |
float |
getInterpolatedPitch() |
ItemStack |
getItemStack() |
int |
getLight() |
com.mojang.blaze3d.matrix.MatrixStack |
getMatrixStack() |
float |
getPartialTicks() |
float |
getSwingProgress() |
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public RenderHandEvent(Hand hand, com.mojang.blaze3d.matrix.MatrixStack mat, IRenderTypeBuffer buffers, int light, float partialTicks, float interpolatedPitch, float swingProgress, float equipProgress, @Nonnull ItemStack stack)
public Hand getHand()
public com.mojang.blaze3d.matrix.MatrixStack getMatrixStack()
public IRenderTypeBuffer getBuffers()
public int getLight()
public float getPartialTicks()
public float getInterpolatedPitch()
public float getSwingProgress()
public float getEquipProgress()
@Nonnull public ItemStack getItemStack()