use of meteordevelopment.meteorclient.systems.waypoints.Waypoint in project meteor-client by MeteorDevelopment.
the class RainbowColors method onTick.
@EventHandler
private static void onTick(TickEvent.Post event) {
GLOBAL.setSpeed(Config.get().rainbowSpeed.get() / 100);
GLOBAL.getNext();
for (Setting<SettingColor> setting : colorSettings) {
if (setting.module == null || setting.module.isActive())
setting.get().update();
}
for (SettingColor color : colors) {
color.update();
}
for (Waypoint waypoint : Waypoints.get()) {
waypoint.color.update();
}
if (mc.currentScreen instanceof WidgetScreen) {
for (SettingGroup group : GuiThemes.get().settings) {
for (Setting<?> setting : group) {
if (setting instanceof ColorSetting)
((SettingColor) setting.get()).update();
}
}
}
for (Runnable listener : listeners) listener.run();
}
Aggregations