Interface CustomBlockScreenEffectRenderer


public interface CustomBlockScreenEffectRenderer
  • Field Details

  • Method Details

    • submit

      boolean submit(PlayerRenderState playerRenderState, CameraRenderState cameraRenderState, SubmitNodeCollector submitNodeCollector, PoseStack poseStack, SpriteGetter sprites, float partialTicks, boolean hideGui)
      Render the screen effect overlay of a block.
      Parameters:
      playerRenderState - The render state of the player which the overlay applies to
      cameraRenderState - The camera render state of the player which the overlay applies to
      submitNodeCollector - The collector to submit the overlay quads to
      poseStack - The pose stack to use for transformations of the overlay
      sprites - Access to sprites to use for rendering
      partialTicks - The "world" partial ticks
      hideGui - Whether the HUD is hidden
      Returns:
      true to prevent vanilla rendering