Merge pull request #4438 from AppliedEnergistics/drive-state-sync

Refactored drive state sync
This commit is contained in:
shartte
2020-07-02 12:18:40 +02:00
committed by GitHub
8 changed files with 89 additions and 38 deletions
@@ -33,7 +33,8 @@ public class DriveLedTileEntityRenderer extends TileEntityRenderer<DriveTileEnti
STATE_COLORS = new EnumMap<>(DriveSlotState.class);
STATE_COLORS.put(DriveSlotState.OFFLINE, new Vector3f(0, 0, 0));
STATE_COLORS.put(DriveSlotState.ONLINE, new Vector3f(0, 1, 0));
STATE_COLORS.put(DriveSlotState.TYPES_FULL, new Vector3f(0, 0.667f, 0));
STATE_COLORS.put(DriveSlotState.NOT_EMPTY, new Vector3f(0f, 0.667f, 1));
STATE_COLORS.put(DriveSlotState.TYPES_FULL, new Vector3f(1, 0.667f, 0));
STATE_COLORS.put(DriveSlotState.FULL, new Vector3f(1, 0, 0));
}