Class StackSensitiveDecoratedPotSpecialRenderer

java.lang.Object
dev.thomasglasser.sherdsapi.impl.client.renderer.special.StackSensitiveDecoratedPotSpecialRenderer
All Implemented Interfaces:
net.minecraft.client.renderer.special.SpecialModelRenderer<StackPotDecorations>

public class StackSensitiveDecoratedPotSpecialRenderer extends Object implements net.minecraft.client.renderer.special.SpecialModelRenderer<StackPotDecorations>
  • Constructor Details

    • StackSensitiveDecoratedPotSpecialRenderer

      public StackSensitiveDecoratedPotSpecialRenderer(StackPotRenderer stackPotRenderer)
  • Method Details

    • render

      public void render(@Nullable @Nullable StackPotDecorations patterns, net.minecraft.world.item.ItemDisplayContext displayContext, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, int packedLight, int packedOverlay, boolean hasFoilType)
      Specified by:
      render in interface net.minecraft.client.renderer.special.SpecialModelRenderer<StackPotDecorations>
    • extractArgument

      @Nullable public @Nullable StackPotDecorations extractArgument(net.minecraft.world.item.ItemStack stack)
      Specified by:
      extractArgument in interface net.minecraft.client.renderer.special.SpecialModelRenderer<StackPotDecorations>