1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
package gregtech.api.enums; public enum ToolModes { REGULAR(0), WRENCH_LINE(1); private final byte modeValue; ToolModes(int modeValue) { this.modeValue = (byte) modeValue; } public byte get() { return modeValue; } }