Class HudRenderComponentVeinMiningIcon

java.lang.Object
wtf.choco.veinminer.hud.HudRenderComponentVeinMiningIcon
All Implemented Interfaces:
HudRenderComponent

public final class HudRenderComponentVeinMiningIcon extends Object implements HudRenderComponent
A HudRenderComponent for the vein mining icon at the user's crosshair.
  • Constructor Details

    • HudRenderComponentVeinMiningIcon

      public HudRenderComponentVeinMiningIcon()
  • Method Details

    • render

      public void render(@NotNull @NotNull net.minecraft.client.Minecraft client, @NotNull @NotNull com.mojang.blaze3d.vertex.PoseStack stack, float delta)
      Description copied from interface: HudRenderComponent
      Render the component to the given PoseStack.
      Specified by:
      render in interface HudRenderComponent
      Parameters:
      client - the client instance
      stack - the stack to which the hud is being rendered
      delta - tick delta time
    • shouldRender

      public boolean shouldRender(@NotNull @NotNull ClientConfig config)
      Description copied from interface: HudRenderComponent
      Check whether or not this component should be rendered to the screen.
      Specified by:
      shouldRender in interface HudRenderComponent
      Parameters:
      config - the client configuration
      Returns:
      true if should be rendered, false otherwise