Interface AdvancementRenderContext.Background

All Superinterfaces:
AdvancementRenderContext
Enclosing interface:
AdvancementRenderContext

@NonExtendable public static non-sealed interface AdvancementRenderContext.Background extends AdvancementRenderContext
  • Method Details

    • bounds

      net.minecraft.client.gui.navigation.ScreenRectangle bounds()
      Returns:
      the ScreenRectangle that the background is contained within.
      API Note:
      use ScreenRectangle.left() and ScreenRectangle.top() for the starting coordinates of the background.
    • scrollX

      double scrollX()
      Returns:
      the background's x scroll offset.
    • scrollY

      double scrollY()
      Returns:
      the background's y scroll offset.