use of buildcraft.transport.pipe.behaviour.PipeBehaviourWoodDiamond.FilterMode in project BuildCraft by BuildCraft.
the class GuiDiamondWoodPipe method handleButtonClick.
@Override
public void handleButtonClick(IButtonClickEventTrigger sender, int buttonKey) {
if (!(sender instanceof GuiImageButton)) {
return;
}
int id = Integer.parseInt(((GuiImageButton) sender).id);
FilterMode newFilterMode = FilterMode.get(id);
this.pipe.filterMode = newFilterMode;
container.sendNewFilterMode(newFilterMode);
}
Aggregations