Renderable
What it does
- This is just a wrapper for
IRenderable
interface
Parameters
renderable
- The
IRenderable
to wrap.
- The
Size Behaviour
- Maximum
Example
public class TestRenderable implements UIComponent {
@Override
public UIComponent build(Layout layout) {
return new Renderable(((pMatrixStack, pMouseX, pMouseY, pPartialTicks) -> {
AbstractGui.fill(pMatrixStack, 0, 0, pMouseX, pMouseY, Color.WHITE.getAARRGGBB());
}));
}
}