Class CurioHatRenderer

java.lang.Object
com.wdiscute.starcatcher.compat.curios.CurioHatRenderer
All Implemented Interfaces:
top.theillusivec4.curios.api.client.ICurioRenderer

public class CurioHatRenderer extends Object implements top.theillusivec4.curios.api.client.ICurioRenderer
  • Nested Class Summary

    Nested classes/interfaces inherited from interface top.theillusivec4.curios.api.client.ICurioRenderer

    top.theillusivec4.curios.api.client.ICurioRenderer.HumanoidRender, top.theillusivec4.curios.api.client.ICurioRenderer.ModelRender<S,M>
  • Field Summary

    Fields inherited from interface top.theillusivec4.curios.api.client.ICurioRenderer

    DEFAULT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <S extends net.minecraft.client.renderer.entity.state.LivingEntityRenderState, M extends net.minecraft.client.model.EntityModel<? super S>>
    void
    render(net.minecraft.world.item.ItemStack stack, top.theillusivec4.curios.api.SlotContext slotContext, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.SubmitNodeCollector submitNodeCollector, int packedLight, S renderState, net.minecraft.client.renderer.entity.RenderLayerParent<S,M> renderLayerParent, net.minecraft.client.renderer.entity.EntityRendererProvider.Context context, float yRotation, float xRotation)
    Renders an ItemStack in a given SlotContext on an entity.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface top.theillusivec4.curios.api.client.ICurioRenderer

    renderFirstPersonHand
  • Constructor Details

    • CurioHatRenderer

      public CurioHatRenderer()
  • Method Details

    • render

      public <S extends net.minecraft.client.renderer.entity.state.LivingEntityRenderState, M extends net.minecraft.client.model.EntityModel<? super S>> void render(net.minecraft.world.item.ItemStack stack, top.theillusivec4.curios.api.SlotContext slotContext, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.SubmitNodeCollector submitNodeCollector, int packedLight, S renderState, net.minecraft.client.renderer.entity.RenderLayerParent<S,M> renderLayerParent, net.minecraft.client.renderer.entity.EntityRendererProvider.Context context, float yRotation, float xRotation)
      Description copied from interface: top.theillusivec4.curios.api.client.ICurioRenderer
      Renders an ItemStack in a given SlotContext on an entity.
      Specified by:
      render in interface top.theillusivec4.curios.api.client.ICurioRenderer
      Type Parameters:
      S - The class for the entity's render state.
      M - The class for the entity's model.
      Parameters:
      stack - The ItemStack being rendered.
      slotContext - The SlotContext for the slot that the item is found in.
      poseStack - The PoseStack containing the current transformations.
      submitNodeCollector - The node collector for submitting.
      packedLight - The packed light for rendering.
      renderState - The render state of the entity used for this rendering instance.
      renderLayerParent - The parent rendering layer and model from the entity.
      context - The rendering context provided by the entity render layer.
      yRotation - The y-rotation of the render state.
      xRotation - The x-rotation of the render state.