Batbox gui overhaul

This commit is contained in:
ProfessorProspector 2017-01-07 20:09:46 -08:00
parent 53a3869092
commit d385e6eaf4
7 changed files with 74 additions and 85 deletions

View file

@ -33,6 +33,8 @@ public class ProbeProvider implements IProbeInfoProvider {
@Override
public void addProbeInfo(ProbeMode mode, IProbeInfo probeInfo, EntityPlayer player, World world, IBlockState blockState, IProbeHitData data) {
euStyle = new ProgressStyle().backgroundColor(0xFF8B8B8B).borderColor(0xFF373737).alternateFilledColor(PowerSystem.getDisplayPower().altColour).filledColor(PowerSystem.getDisplayPower().colour);
euStyle.suffix(" " + PowerSystem.getDisplayPower().abbreviation);
TileEntity tile = world.getTileEntity(data.getPos());
if (tile instanceof IListInfoProvider) {
List<String> strs = new ArrayList<>();