Interface AdvancementRenderer.BackgroundRenderer
- Enclosing class:
AdvancementRenderer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Called after the background of an advancement tab renders.
By default, the original background does not render.
To have it render, override shouldRenderOriginalBackground() and return true.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddefault boolean
-
Method Details
-
renderAdvancementBackground
- Parameters:
context- the context of the frame rendering, which hasgui graphicsfor rendering, theadvancementinstance, and the background'sbounds.
-
shouldRenderOriginalBackground
default boolean shouldRenderOriginalBackground()- Returns:
trueif the original advancement background should render alongside this background renderer.
-