Interface IValueTypeWorldRenderer

All Known Implementing Classes:
BlockValueTypeWorldRenderer, FluidValueTypeWorldRenderer, IngredientsValueTypeWorldRenderer, ItemValueTypeWorldRenderer, ListValueTypeWorldRenderer, NbtValueTypeWorldRenderer, OperatorValueTypeWorldRenderer, RecipeValueTypeWorldRenderer, TextValueTypeWorldRenderer

public interface IValueTypeWorldRenderer
Renderer used to display values for a given value type in the world.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
  • Method Details

    • renderValue

      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.
      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.