package com.simibubi.create.config; import com.simibubi.create.AllBlocks; public class StressConfigDefaults { public static double getDefaultStressCapacity(AllBlocks block) { switch (block) { case CREATIVE_MOTOR: return 1024; case FURNACE_ENGINE: return 512; case MECHANICAL_BEARING: return 128; case ENCASED_FAN: case HAND_CRANK: return 64; case WATER_WHEEL: return 32; default: return -1; } } public static double getDefaultStressImpact(AllBlocks block) { switch (block) { case CRUSHING_WHEEL: case MECHANICAL_PRESS: return 32; case DRILL: case SAW: case DEPLOYER: return 16; case ENCASED_FAN: case MECHANICAL_MIXER: case MECHANICAL_BEARING: case MECHANICAL_CRAFTER: return 8; case TURNTABLE: case MECHANICAL_PISTON: case STICKY_MECHANICAL_PISTON: return 4; case BELT: return 2; case CUCKOO_CLOCK: return 1; default: return 0; } } }