Flywheel/src/main/java/com/simibubi/create/config/StressConfigDefaults.java
simibubi f739185040 More Item Descriptions
- Motor -> Creative Motor
- Removed schematicannon creative crate from creative tab
- Engines now show stats in their tooltip
- Added some missing tooltips
- Furnace Engine now has a configurable capacity
2020-02-08 20:02:14 +01:00

60 lines
955 B
Java

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;
}
}
}