CommonLayouts .java
net.minecraft.client.gui.layouts.CommonLayouts (class, 28 lines): members: labeledElement, LABEL_SPACING. imports: StringWidget, Font, Component, EnvType.
File
API Surface (2)
Layout labeledElement(final Font font, final LayoutElement element, final Component label)Layout labeledElement(final Font font, final LayoutElement element, final Component label, final Consumer<LayoutSettings> settings)Fields & Constants (1)
LABEL_SPACINGSame Package (11)
Code Graph: Dependencies (7)
Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.
Full Source
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
Decompiled Minecraft 26.3 source of CommonLayouts (net/minecraft/client/gui/layouts/CommonLayouts.java) with Mojang official mappings, stored verbatim on the site.