Flywheel/src/main/java/com/simibubi/create/StressConfigDefaults.java
simibubi ce4c5d5c50 Better Goggles and Rpm
- Shifted speed unit to resemble rpm (revolutes per minute)
- Moved stress defaults to new class
- Adjusted processing duration for machines to respect the visual speed change
- Drastically lowered the speed range
- Stressed networks now indicate better
- Goggles now show detailed information when looking at components, especially the gauges
- Sand Paper can now be used on items held in the offhand
- Item entities on a moving crushing wheel can no longer be picked up
- Crushing wheels no longer drop their contents when the wheels stop moving
2020-02-01 09:39:17 +01:00

53 lines
824 B
Java

package com.simibubi.create;
public class StressConfigDefaults {
public static double getDefaultStressCapacity(AllBlocks block) {
switch (block) {
case MOTOR:
return 1024;
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;
default:
return 0;
}
}
}