mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-19 19:49:50 +00:00
31 lines
766 B
Java
31 lines
766 B
Java
/**
|
|
* Copyright (c) 2011-2014, SpaceToad and the BuildCraft Team
|
|
* http://www.mod-buildcraft.com
|
|
*
|
|
* BuildCraft is distributed under the terms of the Minecraft Mod Public
|
|
* License 1.0, or MMPL. Please check the contents of the license located in
|
|
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
|
*/
|
|
package buildcraft.api.mj;
|
|
|
|
public enum IOMode {
|
|
Both(true, true, false),
|
|
BothActive(true, true, true),
|
|
|
|
Receive(true, false, false),
|
|
ReceiveActive(true, false, true),
|
|
|
|
Send(false, true, false),
|
|
SendActive(false, true, true),
|
|
|
|
None(false, false, false);
|
|
|
|
public final boolean canReceive, canSend, active;
|
|
|
|
IOMode(boolean canReceive, boolean canSend, boolean active) {
|
|
this.canReceive = canReceive;
|
|
this.canSend = canSend;
|
|
this.active = active;
|
|
}
|
|
}
|