Interface AdvancementRenderContext.Background

All Superinterfaces:
AdvancementRenderContext
All Known Implementing Classes:
AdvancementRenderContextImpl.BackgroundImpl
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.
    • scrollX

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

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