Search in sources :

Example 1 with EnumProblemState

use of pneumaticCraft.common.inventory.ContainerAmadron.EnumProblemState in project PneumaticCraft by MineMaarten.

the class GuiAmadron method addProblems.

@Override
protected void addProblems(List curInfo) {
    super.addProblems(curInfo);
    EnumProblemState problemState = ((ContainerAmadron) inventorySlots).problemState;
    if (problemState != EnumProblemState.NO_PROBLEMS) {
        curInfo.add(problemState.getLocalizationKey());
    }
}
Also used : EnumProblemState(pneumaticCraft.common.inventory.ContainerAmadron.EnumProblemState) ContainerAmadron(pneumaticCraft.common.inventory.ContainerAmadron)

Aggregations

ContainerAmadron (pneumaticCraft.common.inventory.ContainerAmadron)1 EnumProblemState (pneumaticCraft.common.inventory.ContainerAmadron.EnumProblemState)1