Class RecipeValueTypeWorldRenderer

java.lang.Object
org.cyclops.integrateddynamics.client.render.valuetype.RecipeValueTypeWorldRenderer
All Implemented Interfaces:
IValueTypeWorldRenderer

public class RecipeValueTypeWorldRenderer extends Object implements IValueTypeWorldRenderer
A value type world renderer for blocks.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected <T, M> Stream<List<org.cyclops.commoncapabilities.api.ingredient.IPrototypedIngredient>>
    enhanceRecipeInputs(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T,M> ingredientComponent, org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeDefinition recipe)
     
    protected void
    renderInput(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context, IPartContainer partContainer, net.minecraft.core.Direction direction, IPartType partType, org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeDefinition recipe, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource renderTypeBuffer, int combinedLight, int combinedOverlay, float alpha)
     
    void
    renderValue(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context, IPartContainer partContainer, net.minecraft.core.Direction direction, IPartType partType, IValue value, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource renderTypeBuffer, int combinedLight, int combinedOverlay, float alpha)
    Render the overlay.

    Methods inherited from class java.lang.Object

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

    • RecipeValueTypeWorldRenderer

      public RecipeValueTypeWorldRenderer()
  • Method Details

    • renderValue

      public void renderValue(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context, IPartContainer partContainer, net.minecraft.core.Direction direction, IPartType partType, IValue value, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource renderTypeBuffer, int combinedLight, int combinedOverlay, float alpha)
      Description copied from interface: IValueTypeWorldRenderer
      Render the overlay.
      Specified by:
      renderValue in interface IValueTypeWorldRenderer
      Parameters:
      context - The render context
      partContainer - The part container for this part
      direction - The direction this part is facing
      partType - The part type that is being overlayed
      value - The value to render
      partialTicks - The partial tick
      matrixStack - The matrix render stack.
      renderTypeBuffer - The render type buffer.
      combinedLight - The combined light value.
      combinedOverlay - The combined overlay value.
      alpha - The alpha to render with.
    • renderInput

      protected void renderInput(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context, IPartContainer partContainer, net.minecraft.core.Direction direction, IPartType partType, org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeDefinition recipe, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrixStack, net.minecraft.client.renderer.MultiBufferSource renderTypeBuffer, int combinedLight, int combinedOverlay, float alpha)
    • enhanceRecipeInputs

      protected <T, M> Stream<List<org.cyclops.commoncapabilities.api.ingredient.IPrototypedIngredient>> enhanceRecipeInputs(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T,M> ingredientComponent, org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeDefinition recipe)