Class TestsOverlay
java.lang.Object
net.neoforged.testframework.client.TestsOverlay
- All Implemented Interfaces:
- IGuiOverlay
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceprivate static final record
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final ResourceLocationprivate final BooleanSupplierprivate final it.unimi.dsi.fastutil.objects.Object2FloatMap<Test>(package private) static final Map<Test.Result,ResourceLocation> private final MutableTestFrameworkstatic final int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static voidblitTiled(GuiGraphics pose, int x, int y, int width, int height, int u, int v, int textureDrawWidth, int textureDrawHeight, int textureWidth, int textureHeight, ResourceLocation texture) voidrender(ExtendedGui gui, GuiGraphics poseStack, float partialTick, int screenWidth, int screenHeight) private TestsOverlay.XYrenderTest(ExtendedGui gui, Font font, Test test, GuiGraphics stack, int maxWidth, int x, int y, int colour, List<Runnable> rendering) private static voidrenderTilledTexture(GuiGraphics pose, ResourceLocation texture, int x, int y, int width, int height, int borderWidth, int borderHeight, int textureWidth, int textureHeight, float alpha) (package private) static MutableComponentstatusColoured(Component input, Test.Status status) private RunnablewithXY(int x, int y, TestsOverlay.IntBiConsumer consumer) 
- 
Field Details- 
MAX_DISPLAYEDpublic static final int MAX_DISPLAYED- See Also:
 
- 
BG_TEXTURE
- 
impl
- 
enabled
- 
fading
- 
lastRenderedTests
- 
ICON_BY_RESULT
 
- 
- 
Constructor Details- 
TestsOverlay
 
- 
- 
Method Details- 
renderpublic void render(ExtendedGui gui, GuiGraphics poseStack, float partialTick, int screenWidth, int screenHeight) - Specified by:
- renderin interface- IGuiOverlay
 
- 
renderTestprivate TestsOverlay.XY renderTest(ExtendedGui gui, Font font, Test test, GuiGraphics stack, int maxWidth, int x, int y, int colour, List<Runnable> rendering) 
- 
withXY
- 
statusColoured
- 
renderTilledTextureprivate static void renderTilledTexture(GuiGraphics pose, ResourceLocation texture, int x, int y, int width, int height, int borderWidth, int borderHeight, int textureWidth, int textureHeight, float alpha) 
- 
blitTiledprivate static void blitTiled(GuiGraphics pose, int x, int y, int width, int height, int u, int v, int textureDrawWidth, int textureDrawHeight, int textureWidth, int textureHeight, ResourceLocation texture) 
 
-