- Status
- Offline
- Joined
- Jul 18, 2023
- Messages
- 707
- Reaction score
- 3
Welcome to a world where your wildest dreams come to life and the possibilities are truly endless! Say hello to "Aktien Beta ArrayList" - your ultimate companion for incredible adventures and boundless creativity. Step into a breathtaking universe and allow yourself to experience Minecraft like never before! With our carefully curated selection of trusted sources, you can fully unleash your ideas and dreams, transforming them into tangible realities. Embrace the power of "MoonWare" and let your imagination run wild.
JavaScript:
@EventTarget
public void onRender2D(EventRender2D event) {
if (!isEnabled()) return;
List<Feature> activeModules = Rich.instance.featureManager.getAllFeatures();
activeModules.sort(Comparator.comparingDouble(s -> -mc.celestial_16.getStringWidth(s.getLabel())));
float displayWidth = event.getResolution().getScaledWidth() * (event.getResolution().getScaleFactor() / 2F);
float yPotionOffset = 2;
for (PotionEffect potionEffect : Helper.mc.player.getActivePotionEffects()) {
if (potionEffect.getPotion().isBeneficial()) {
yPotionOffset = 45;
}
if (potionEffect.getPotion().isBadEffect()) {
yPotionOffset = 45 * 2;
}
}
int y = (int) (5 + yPotionOffset);
int yTotal = 0;
for (int i = 0; i < Rich.instance.featureManager.getAllFeatures().size(); ++i) {
yTotal += mc.celestial_16.getFontHeight() + 0.5f;
}
for (Feature module : activeModules) {
module.animYto = AnimationHelper.Move(module.animYto, (float) (module.isEnabled() ? 1 : 0), (float) (6.5f * Rich.deltaTime()), (float) (6.5f * Rich.deltaTime()), (float) Rich.deltaTime());
if (module.animYto > 0.01f) {
Color col = ColorUtils.TwoColoreffect(new Color(ClientOverlay.oneColor.getColorValue()), new Color(ClientOverlay.twoColor.getColorValue()), Math.abs(System.currentTimeMillis() / 10) / 100.0 + 3.0F * (4f * 2.55) / 60);
double time;
int pal = 0;
int colorCustom = ClientOverlay.oneColor.getColorValue();
int colorCustom2 = ClientOverlay.twoColor.getColorValue();
Color wtf = new Color(22, 22, 22);
for (int i = 0; i < 255; i += 1) {
wtf = ClientHelper.getClientColor(i, i, 0, 35);
}
if(colorMode.getCurrentMode().equalsIgnoreCase("Rainbow")){
time = 1;
pal = UtilityRender.rainbow((int) (y * time), 10, 10);
}
else if(colorMode.getCurrentMode().equalsIgnoreCase("Astolfo")){
time = delay.getNumberValue();
pal = UtilityRender.astolfoColors45(y, yTotal, 0.5f, 5).getRGB();
}
else if(colorMode.getCurrentMode().equalsIgnoreCase("Erase")){
time = delay.getNumberValue();
pal = UtilityRender.fadeColorRich(new Color(colorCustom).getRGB(), new Color(colorCustom2).getRGB(), (float) Math.abs(((((System.currentTimeMillis() / time) / time) + y * 6L / 61 * 2) % 2)));
}else if(colorMode.currentMode.equalsIgnoreCase("Fade")){
EvolUtils.fade(10 - (int) delay.getNumberValue(), (int) 1, new Color(ClientOverlay.oneColor.getColorValue()), 1).getRGB();
}
RenderUtils.drawRect2(displayWidth - mc.celestial_16.getStringWidth(module.getLabel()) - 7, y - 20, mc.celestial_16.getStringWidth(module.getLabel()) + 6, 12f, color.getColorValue());
RenderUtils.drawBlurredShadow(displayWidth - mc.celestial_16.getStringWidth(module.getLabel()) - 7, y - 20, mc.celestial_16.getStringWidth(module.getLabel()) + 6, 12f, 16, new Color(color.getColorValue()));
mc.celestial_16.drawStringWithShadow(module.getLabel(), displayWidth - mc.celestial_16.getStringWidth(module.getLabel()) - 5, y + mc.celestial_16.getFontHeight() - 3 - 20, Color.WHITE.getRGB());
int offsetY = 12;
y += offsetY * module.animYto;
}
}
}