Class HandsRenderer

java.lang.Object
com.idark.valoria.client.render.curio.HandsRenderer
All Implemented Interfaces:
top.theillusivec4.curios.api.client.ICurioRenderer

public class HandsRenderer extends Object implements top.theillusivec4.curios.api.client.ICurioRenderer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static boolean
     
    static net.minecraft.resources.ResourceLocation
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isDefault(net.minecraft.world.entity.LivingEntity entity)
     
    <T extends net.minecraft.world.entity.LivingEntity, M extends net.minecraft.client.model.EntityModel<T>>
    void
    render(net.minecraft.world.item.ItemStack stack, top.theillusivec4.curios.api.SlotContext slotContext, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.entity.RenderLayerParent<T,M> renderLayerParent, net.minecraft.client.renderer.MultiBufferSource renderTypeBuffer, int light, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch)
    Performs rendering of the curio.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • TEXTURE

      public static net.minecraft.resources.ResourceLocation TEXTURE
    • isDefault

      public static boolean isDefault
  • Constructor Details

    • HandsRenderer

      public HandsRenderer()
  • Method Details

    • isDefault

      public boolean isDefault(net.minecraft.world.entity.LivingEntity entity)
    • render

      public <T extends net.minecraft.world.entity.LivingEntity, M extends net.minecraft.client.model.EntityModel<T>> void render(net.minecraft.world.item.ItemStack stack, top.theillusivec4.curios.api.SlotContext slotContext, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.entity.RenderLayerParent<T,M> renderLayerParent, net.minecraft.client.renderer.MultiBufferSource renderTypeBuffer, int light, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch)
      Description copied from interface: top.theillusivec4.curios.api.client.ICurioRenderer
      Performs rendering of the curio.
      Specified by:
      render in interface top.theillusivec4.curios.api.client.ICurioRenderer
      slotContext - The slot context of the curio that is being rendered