use of mcjty.theoneprobe.apiimpl.styles.LayoutStyle in project pnc-repressurized by TeamPneumatic.
the class TOPCallback method handlePressureTube.
public static void handlePressureTube(ProbeMode mode, IProbeInfo probeInfo, TileEntityPressureTube te, EnumFacing face) {
if (face != null) {
TubeModule module = te.modules[face.ordinal()];
if (module != null) {
IProbeInfo vert = probeInfo.vertical(new LayoutStyle().borderColor(0xFF4040FF).spacing(3));
List<String> currenttip = new ArrayList<>();
module.addInfo(currenttip);
for (String s : currenttip) vert.text(s);
}
}
}
Aggregations