use of blusunrize.immersiveengineering.api.IEEnums.SideConfig in project ImmersiveEngineering by BluSunrize.
the class TileEntityCapacitorLV method getOverlayText.
@Override
public String[] getOverlayText(EntityPlayer player, RayTraceResult mop, boolean hammer) {
if (hammer && IEConfig.colourblindSupport) {
SideConfig i = sideConfig[Math.min(sideConfig.length - 1, mop.sideHit.ordinal())];
SideConfig j = sideConfig[Math.min(sideConfig.length - 1, mop.sideHit.getOpposite().ordinal())];
return new String[] { I18n.format(Lib.DESC_INFO + "blockSide.facing") + ": " + I18n.format(Lib.DESC_INFO + "blockSide.connectEnergy." + i), I18n.format(Lib.DESC_INFO + "blockSide.opposite") + ": " + I18n.format(Lib.DESC_INFO + "blockSide.connectEnergy." + j) };
}
return null;
}
Aggregations