• Ищем качественного (не новичок) разработчиков Xenforo для этого форума! В идеале, чтобы ты был фулл стек программистом. Если у тебя есть что показать, то свяжись с нами по контактным данным: https://t.me/DREDD

Sirius Client 1.2 IntelliJ Ready

  • Автор темы Автор темы siZerofc
  • Дата начала Дата начала
Начинающий
Начинающий
Статус
Оффлайн
Регистрация
9 Дек 2023
Сообщения
42
Реакции
1
Всем ку, решил слить говно от Jeto.
Софт - напащенный понос на базе Expensive Reloaded.
Сурсы IntelliJ Ready, можно открывать и запускать.
Есть 2 проблемы - надо сменить кодировку и регнуть эвенты как в декомпильнутой джарке, если у вас есть мозги - вы пофиксите сурс за 10 минут.

[
Пожалуйста, авторизуйтесь для просмотра ссылки.
]
[
Пожалуйста, авторизуйтесь для просмотра ссылки.
]
[
Пожалуйста, авторизуйтесь для просмотра ссылки.
]
 
кто об этом просил
 
package dev.sirius.client.module.impl.render;

import com.darkmagician6.eventapi.EventTarget;
import com.google.common.collect.Lists;
import com.mojang.realmsclient.gui.ChatFormatting;
import dev.sirius.client.Sirius;
import dev.sirius.client.event.render.EventRender2D;
import dev.sirius.client.manager.dragging.DragManager;
import dev.sirius.client.manager.dragging.Draggable;
import dev.sirius.client.manager.theme.Themes;
import dev.sirius.client.module.Category;
import dev.sirius.client.module.Module;
import dev.sirius.client.module.ModuleAnnotation;
import dev.sirius.client.module.impl.combat.KillAura;
import dev.sirius.client.module.setting.impl.MultiBooleanSetting;
import dev.sirius.client.utility.math.MathUtility;
import dev.sirius.client.utility.render.ColorUtility;
import dev.sirius.client.utility.render.RenderUtility;
import dev.sirius.client.utility.render.SmartScissor;
import dev.sirius.client.utility.render.StencilUtility;
import dev.sirius.client.utility.render.animation.Animation;
import dev.sirius.client.utility.render.animation.AnimationMath;
import dev.sirius.client.utility.render.animation.Direction;
import dev.sirius.client.utility.render.animation.impl.DecelerateAnimation;
import dev.sirius.client.utility.render.font.Fonts;
import java.awt.Color;
import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import net.minecraft.block.material.Material;
import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.AbstractClientPlayer;
import net.minecraft.client.gui.Gui;
import net.minecraft.client.gui.GuiChat;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.client.network.NetworkPlayerInfo;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.resources.I18n;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionEffect;
import net.minecraft.util.StringUtils;
import net.minecraft.util.text.TextFormatting;
import net.minecraft.world.DimensionType;
import org.lwjgl.opengl.GL11;

@ModuleAnnotation(name="Hud", category=Category.RENDER)
public class Hud
extends Module {
public static final MultiBooleanSetting elements = new MultiBooleanSetting("Elements", Arrays.asList("Watermark", "Server Info", "Coords", "Inventory", "Potions", "Armor", "Target HUD"));
private final String username = Sirius.getInstance().getUserInfo().getName();
private final Draggable invViewDraggable = DragManager.create(this, "Inventory View", 10, 100);
private final Draggable potionsDraggable = DragManager.create(this, "Potions", 10, 300);
private final Draggable targetHudDraggable = DragManager.create(this, "Target HUD", 300, 10);
public float realOffset = 0.0f;
private EntityLivingBase currentTarget = null;
private final Animation animation = new DecelerateAnimation(175, 1.0f, Direction.BACKWARDS);
private float hp;

public Hud() {
this.potionsDraggable.setWidth(105.0f);
this.invViewDraggable.setWidth(170.0f);
this.invViewDraggable.setHeight(72.0f);
this.targetHudDraggable.setWidth(112.0f);
this.targetHudDraggable.setHeight(38.0f);
}

@EventTarget
public void onRender2D(EventRender2D event) {
if (Hud.mc.gameSettings.showDebugInfo) {
return;
}
int scaledHeight = Sirius.getInstance().getScaleMath().calc(event.getResolution().getScaledHeight());
int color = Sirius.getInstance().getThemeManager().getCurrentStyleTheme().getColors()[0].getRGB();
int color2 = Sirius.getInstance().getThemeManager().getCurrentStyleTheme().getColors()[1].getRGB();
int middleColor = ColorUtility.interpolateColorC(color, color2, 0.5f).getRGB();
boolean isDark = Sirius.getInstance().getThemeManager().getCurrentGuiTheme().equals(Themes.DARK.getTheme());
Sirius.getInstance().getScaleMath().pushScale();
if (elements.get(0)) {
int watermarkOffset = 10 + Fonts.nunitoBold16.getStringWidth(Sirius.NAME);
RenderUtility.drawGradientGlow(10.0f, 10.0f, watermarkOffset, 15.0f, 7, new Color(ColorUtility.setAlpha(color, 175)), new Color(ColorUtility.setAlpha(color2, 175)));
RenderUtility.drawRoundedRect(10.0f, 10.0f, watermarkOffset, 15.0f, 5.0f, isDark ? new Color(30, 30, 30).getRGB() : new Color(210, 210, 210).getRGB());
Fonts.nunitoBold16.drawString(Sirius.NAME, 15.0f, 15.0f, isDark ? Color.WHITE.getRGB() : Color.BLACK.getRGB());
String time = new SimpleDateFormat("HH:mm").format(new Date());
String data = this.username + " " + Minecraft.getDebugFPS() + " fps " + time;
RenderUtility.drawGradientGlow(watermarkOffset + 15, 10.0f, 10 + Fonts.nunitoBold16.getStringWidth(data) + Fonts.icons21.getStringWidth("d") + Fonts.icons21.getStringWidth("i") + Fonts.icons21.getStringWidth("m") + 12, 15.0f, 7, new Color(ColorUtility.setAlpha(color, 175)), new Color(ColorUtility.setAlpha(color2, 175)));
RenderUtility.drawRoundedRect(watermarkOffset + 15, 10.0f, 10 + Fonts.nunitoBold16.getStringWidth(data) + Fonts.icons21.getStringWidth("d") + Fonts.icons21.getStringWidth("i") + Fonts.icons21.getStringWidth("m") + 12, 15.0f, 5.0f, isDark ? new Color(30, 30, 30).getRGB() : new Color(210, 210, 210).getRGB());
Fonts.icons21.drawString("d", watermarkOffset + 20, 15.0f, color);
Fonts.nunitoBold16.drawString(this.username, watermarkOffset + 20 + Fonts.icons21.getStringWidth("d") + 3, 15.0f, isDark ? Color.WHITE.getRGB() : Color.BLACK.getRGB());
Fonts.icons21.drawString("i", watermarkOffset + 27 + Fonts.icons21.getStringWidth("d") + Fonts.nunitoBold16.getStringWidth(this.username), 15.0f, middleColor);
Fonts.nunitoBold16.drawString(Minecraft.getDebugFPS() + " fps", watermarkOffset + 30 + Fonts.icons21.getStringWidth("d") + Fonts.icons21.getStringWidth("i") + Fonts.nunitoBold16.getStringWidth(this.username), 15.0f, isDark ? Color.WHITE.getRGB() : Color.BLACK.getRGB());
Fonts.icons21.drawString("m", watermarkOffset + 34 + Fonts.icons21.getStringWidth("d") + Fonts.nunitoBold16.getStringWidth(this.username) + Fonts.icons21.getStringWidth("i") + Fonts.nunitoBold16.getStringWidth(Minecraft.getDebugFPS() + " fps"), 15.0f, color2);
Fonts.nunitoBold16.drawString(time, watermarkOffset + 37 + Fonts.icons21.getStringWidth("d") + Fonts.nunitoBold16.getStringWidth(this.username) + Fonts.icons21.getStringWidth("i") + Fonts.nunitoBold16.getStringWidth(Minecraft.getDebugFPS() + " fps") + Fonts.icons21.getStringWidth("m"), 15.0f, isDark ? Color.WHITE.getRGB() : Color.BLACK.getRGB());
}
if (elements.get(1)) {
String serverIP = !mc.isSingleplayer() ? Hud.mc.getCurrentServerData().serverIP.toLowerCase() : "localhost";
NetworkPlayerInfo playerInfo = mc.getConnection().getPlayerInfo(Hud.mc.player.getGameProfile().getId());
String serverPing = (playerInfo != null && !mc.isSingleplayer() ? playerInfo.getResponseTime() : 0) + " ms";
String serverData = serverIP + " " + serverPing;
RenderUtility.drawGradientGlow(10.0f, 30.0f, 10 + Fonts.nunitoBold16.getStringWidth(serverData) + Fonts.icons21.getStringWidth("j") + Fonts.icons21.getStringWidth("k") + 8, 15.0f, 7, new Color(ColorUtility.setAlpha(color, 175)), new Color(ColorUtility.setAlpha(color2, 175)));
RenderUtility.drawRoundedRect(10.0f, 30.0f, 10 + Fonts.nunitoBold16.getStringWidth(serverData) + Fonts.icons21.getStringWidth("j") + Fonts.icons21.getStringWidth("k") + 8, 15.0f, 5.0f, isDark ? new Color(30, 30, 30).getRGB() : new Color(210, 210, 210).getRGB());
Fonts.icons21.drawString("j", 15.0f, 35.0f, color);
Fonts.nunitoBold16.drawString(serverIP, 15 + Fonts.icons21.getStringWidth("j") + 3, 35.0f, isDark ? Color.WHITE.getRGB() : Color.BLACK.getRGB());
Fonts.icons21.drawString("k", 15 + Fonts.icons21.getStringWidth("j") + Fonts.nunitoBold16.getStringWidth(serverIP) + 7, 35.0f, color2);
Fonts.nunitoBold16.drawString(serverPing, 15 + Fonts.icons21.getStringWidth("j") + Fonts.icons21.getStringWidth("k") + Fonts.nunitoBold16.getStringWidth(serverIP) + 10, 35.0f, isDark ? Color.WHITE.getRGB() : Color.BLACK.getRGB());
}
if (elements.get(2)) {
String bpsText = "BPS: " + String.format("%.2f", Math.hypot(Hud.mc.player.posX - Hud.mc.player.prevPosX, Hud.mc.player.posZ - Hud.mc.player.prevPosZ) * (double)Hud.mc.timer.timerSpeed * 20.0);
String coordsText = this.getCoordsText();
Fonts.nunitoBold15.drawStringWithOutline(bpsText, 3.0, scaledHeight - 2 - Fonts.nunitoBold15.getStringHeight(coordsText) - Fonts.nunitoBold15.getStringHeight(bpsText), -1);
Fonts.nunitoBold15.drawStringWithOutline(coordsText, 3.0, scaledHeight - 1 - Fonts.nunitoBold15.getStringHeight(coordsText), -1);
}
if (elements.get(3)) {
RenderUtility.drawGradientGlow(this.invViewDraggable.getX(), this.invViewDraggable.getY(), 170.0f, 72.0f, 7, new Color(ColorUtility.setAlpha(color, 175)), new Color(ColorUtility.setAlpha(color2, 175)));
RenderUtility.drawRoundedRect(this.invViewDraggable.getX(), this.invViewDraggable.getY(), 170.0f, 72.0f, 5.0f, isDark ? new Color(30, 30, 30).getRGB() : new Color(210, 210, 210).getRGB());
Fonts.icons21.drawString("n", this.invViewDraggable.getX() + 5, this.invViewDraggable.getY() + 6, color);
Fonts.nunitoBold16.drawString("Инвентарь", this.invViewDraggable.getX() + 10 + Fonts.icons21.getStringWidth("n"), (float)this.invViewDraggable.getY() + 5.5f, isDark ? Color.WHITE.getRGB() : Color.BLACK.getRGB());
for (int i = 9; i < 36; ++i) {
ItemStack itemStack = Hud.mc.player.inventory.getStackInSlot(i);
if (itemStack.isEmpty()) continue;
int index = i - 9;
RenderUtility.drawItemStack(itemStack, this.invViewDraggable.getX() + 5 + index % 9 * 18, this.invViewDraggable.getY() + 16 + index / 9 * 18);
}
}
if (elements.get(4)) {
int offset = -3;
if (!Hud.mc.player.getActivePotionEffects().isEmpty()) {
offset = 0;
for (PotionEffect potionEffect : Hud.mc.player.getActivePotionEffects()) {
offset += 10;
}
}
this.realOffset = AnimationMath.fast(this.realOffset, offset, 15.0f);
this.potionsDraggable.setHeight(21 + offset);
RenderUtility.drawGradientGlow(this.potionsDraggable.getX(), this.potionsDraggable.getY(), 105.0f, 21.0f + this.realOffset, 7, new Color(ColorUtility.setAlpha(color, 175)), new Color(ColorUtility.setAlpha(color2, 175)));
RenderUtility.drawRoundedRect(this.potionsDraggable.getX(), this.potionsDraggable.getY(), 105.0f, 21.0f + this.realOffset, 5.0f, isDark ? new Color(30, 30, 30).getRGB() : new Color(210, 210, 210).getRGB());
Fonts.icons21.drawString("o", this.potionsDraggable.getX() + 4, (float)this.potionsDraggable.getY() + 6.5f, color);
Fonts.nunitoBold16.drawString("Зелья", this.potionsDraggable.getX() + 8 + Fonts.icons21.getStringWidth("n"), (float)this.potionsDraggable.getY() + 6.5f, isDark ? Color.WHITE.getRGB() : Color.BLACK.getRGB());
SmartScissor.push();
SmartScissor.setFromComponentCoordinates(this.potionsDraggable.getX(), this.potionsDraggable.getY(), 105.0, 21.0f + this.realOffset);
offset = 0;
for (PotionEffect potionEffect : Hud.mc.player.getActivePotionEffects()) {
Potion potion = potionEffect.getPotion();
String potionName = I18n.format(potionEffect.getEffectName(), new Object[0]) + " " + Hud.getPotionPower(potionEffect);
String duration = Hud.getDuration(potionEffect);
Fonts.nunitoBold14.drawString(potionName, this.potionsDraggable.getX() + 16, (float)this.potionsDraggable.getY() + 20.5f + (float)offset, isDark ? Color.WHITE.getRGB() : Color.BLACK.getRGB());
Fonts.nunitoBold14.drawString(duration, this.potionsDraggable.getX() + 105 - Fonts.nunitoBold14.getStringWidth(duration) - 5, (float)this.potionsDraggable.getY() + 20.5f + (float)offset, Hud.getPotionDurationColor(potionEffect, isDark));
if (potion.hasStatusIcon()) {
GL11.glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
mc.getTextureManager().bindTexture(GuiContainer.INVENTORY_BACKGROUND);
int iconIndex = potion.getStatusIconIndex();
Gui.drawScaledCustomSizeModalRect(this.potionsDraggable.getX() + 5, this.potionsDraggable.getY() + 18 + offset, iconIndex % 8 * 18, 198 + iconIndex / 8 * 18, 18, 18, 9, 9, 256.0f, 256.0f);
}
offset += 10;
}
SmartScissor.unset();
SmartScissor.pop();
}
if (elements.get(6)) {
if (KillAura.targetEntity != null) {
this.currentTarget = KillAura.targetEntity;
} else if (Hud.mc.currentScreen instanceof GuiChat) {
this.currentTarget = Hud.mc.player;
}
if (this.currentTarget != null) {
if (KillAura.targetEntity != null || Hud.mc.currentScreen instanceof GuiChat) {
this.animation.setDirection(Direction.FORWARDS);
} else {
this.animation.setDirection(Direction.BACKWARDS);
}
RenderUtility.scaleStart(this.targetHudDraggable.getX() + 56, this.targetHudDraggable.getY() + 19, this.animation.getOutput());
RenderUtility.drawGradientGlow(this.targetHudDraggable.getX(), this.targetHudDraggable.getY(), 112.0f, 38.0f, 7, new Color(ColorUtility.setAlpha(color, 175)), new Color(ColorUtility.setAlpha(color2, 175)));
RenderUtility.drawRoundedRect(this.targetHudDraggable.getX(), this.targetHudDraggable.getY(), 112.0f, 38.0f, 5.0f, isDark ? new Color(30, 30, 30).getRGB() : new Color(210, 210, 210).getRGB());
if (this.currentTarget instanceof EntityPlayer) {
StencilUtility.initStencilToWrite();
RenderUtility.drawRoundedRect(this.targetHudDraggable.getX() + 4, this.targetHudDraggable.getY() + 4, 30.0f, 30.0f, 5.0f, -1);
StencilUtility.readStencilBuffer(1);
float hurtPercent = Hud.getHurtPercent(this.currentTarget);
GlStateManager.pushMatrix();
GlStateManager.color(1.0f, 1.0f - hurtPercent, 1.0f - hurtPercent, 1.0f);
mc.getTextureManager().bindTexture(((AbstractClientPlayer)((Object)this.currentTarget)).getLocationSkin());
GlStateManager.enableTexture2D();
Gui.drawScaledCustomSizeModalRect(this.targetHudDraggable.getX() + 4, this.targetHudDraggable.getY() + 4, 8.0f, 8.0f, 8, 8, 30, 30, 64.0f, 64.0f);
GlStateManager.popMatrix();
StencilUtility.uninitStencilBuffer();
} else {
Fonts.tenacityBold28.drawCenteredString("?", this.targetHudDraggable.getX() + 19, (float)(this.targetHudDraggable.getY() + 19) - (float)Fonts.tenacityBold28.getFontHeight() / 2.0f, isDark ? Color.WHITE.getRGB() : Color.BLACK.getRGB());
}
StencilUtility.initStencilToWrite();
RenderUtility.drawRoundedRect(this.targetHudDraggable.getX(), this.targetHudDraggable.getY(), 112.0f, 38.0f, 5.0f, isDark ? new Color(30, 30, 30).getRGB() : new Color(210, 210, 210).getRGB());
StencilUtility.readStencilBuffer(1);
Fonts.tenacityBold18.drawSubstring(TextFormatting.getTextWithoutFormattingCodes(this.currentTarget.getName()), this.targetHudDraggable.getX() + 38, this.targetHudDraggable.getY() + 4, isDark ? Color.WHITE.getRGB() : Color.BLACK.getRGB(), 56.0f);
StencilUtility.uninitStencilBuffer();
int itemOffset = 38;
for (ItemStack itemStack : this.currentTarget.getEquipmentAndArmor()) {
RenderUtility.drawRoundedRect(this.targetHudDraggable.getX() + itemOffset, this.targetHudDraggable.getY() + 14, 10.0f, 10.0f, 4.0f, isDark ? new Color(50, 50, 50).getRGB() : Color.WHITE.getRGB());
if (!itemStack.isEmpty()) {
GlStateManager.pushMatrix();
GlStateManager.translate(this.targetHudDraggable.getX() + itemOffset + 1, this.targetHudDraggable.getY() + 15, 0.0f);
GlStateManager.scale(0.5, 0.5, 0.5);
RenderUtility.drawItemStack(itemStack, 0, 0);
GlStateManager.popMatrix();
}
itemOffset += 12;
}
this.hp = MathUtility.clamp(MathUtility.lerp(this.hp, this.currentTarget.getHealth() / this.currentTarget.getMaxHealth(), (float)(12.0 * AnimationMath.deltaTime())), 0.0f, 1.0f);
RenderUtility.drawRoundedRect(this.targetHudDraggable.getX() + 38, (float)this.targetHudDraggable.getY() + 27.5f, 70.0f, 6.5f, 3.0f, isDark ? new Color(50, 50, 50).getRGB() : Color.WHITE.getRGB());
RenderUtility.drawRoundedGradientRect(this.targetHudDraggable.getX() + 38, (float)this.targetHudDraggable.getY() + 27.5f, 70.0f * this.hp, 6.5f, 3.0f, 1.0f, color, color, color2, color2);
Fonts.tenacityBold12.drawCenteredString(MathUtility.round(this.hp * 100.0f, 0.1f) + "%", this.targetHudDraggable.getX() + 73, this.targetHudDraggable.getY() + 29, isDark ? Color.WHITE.getRGB() : Color.BLACK.getRGB());
RenderUtility.scaleEnd();
}
}
Sirius.getInstance().getScaleMath().popScale();
if (elements.get(5)) {
List armor = Lists.reverse(Hud.mc.player.inventory.armorInventory);
for (int i = 0; i < 4; ++i) {
RenderUtility.drawItemStack((ItemStack)armor.get(i), event.getResolution().getScaledWidth() / 2 + 13 + i * 18, event.getResolution().getScaledHeight() - this.getArmorOffset());
}
}
}

private String getCoordsText() {
if (Hud.mc.player == null) {
return "";
}
StringBuilder coordsBuilder = new StringBuilder().append("XYZ: ");
if (Hud.mc.player.getEntityWorld().provider.getDimensionType().equals(DimensionType.THE_END)) {
coordsBuilder.append(ChatFormatting.DARK_PURPLE).append(Hud.mc.player.getPosition().getX()).append(", ").append(Hud.mc.player.getPosition().getY()).append(", ").append(Hud.mc.player.getPosition().getZ()).append(ChatFormatting.RESET);
} else if (Hud.mc.player.getEntityWorld().provider.getDimensionType().equals(DimensionType.NETHER)) {
coordsBuilder.append(ChatFormatting.RED).append(Hud.mc.player.getPosition().getX()).append(", ").append(Hud.mc.player.getPosition().getY()).append(", ").append(Hud.mc.player.getPosition().getZ()).append(ChatFormatting.GREEN).append(" (").append(Hud.mc.player.getPosition().getX() * 8).append(", ").append(Hud.mc.player.getPosition().getY()).append(", ").append(Hud.mc.player.getPosition().getZ() * 8).append(")").append(ChatFormatting.RESET);
} else {
coordsBuilder.append(ChatFormatting.GREEN).append(Hud.mc.player.getPosition().getX()).append(", ").append(Hud.mc.player.getPosition().getY()).append(", ").append(Hud.mc.player.getPosition().getZ()).append(ChatFormatting.RED).append(" (").append(Hud.mc.player.getPosition().getX() / 8).append(", ").append(Hud.mc.player.getPosition().getY()).append(", ").append(Hud.mc.player.getPosition().getZ() / 8).append(")").append(ChatFormatting.RESET);
}
return coordsBuilder.toString();
}

public static String getPotionPower(PotionEffect potionEffect) {
if (potionEffect.getAmplifier() == 1) {
return "II";
}
if (potionEffect.getAmplifier() == 2) {
return "III";
}
if (potionEffect.getAmplifier() == 3) {
return "IV";
}
if (potionEffect.getAmplifier() == 4) {
return "V";
}
if (potionEffect.getAmplifier() == 5) {
return "VI";
}
if (potionEffect.getAmplifier() == 6) {
return "VII";
}
if (potionEffect.getAmplifier() == 7) {
return "VIII";
}
if (potionEffect.getAmplifier() == 8) {
return "IX";
}
if (potionEffect.getAmplifier() == 9) {
return "X";
}
return "";
}

public static String getDuration(PotionEffect potionEffect) {
if (potionEffect.getIsPotionDurationMax()) {
return ":";
}
return StringUtils.ticksToElapsedTime(potionEffect.getDuration());
}

private static int getPotionDurationColor(PotionEffect potionEffect, boolean isDark) {
int potionColor = -1;
if (potionEffect.getDuration() < 200) {
potionColor = new Color(255, 103, 32).getRGB();
} else if (potionEffect.getDuration() < 400) {
potionColor = new Color(231, 143, 32).getRGB();
} else if (potionEffect.getDuration() > 400) {
potionColor = isDark ? new Color(205, 205, 205).getRGB() : new Color(20, 20, 20).getRGB();
}
return potionColor;
}

private int getArmorOffset() {
int offset = 56;
if (Hud.mc.player.isCreative()) {
offset -= 15;
}
if (!Hud.mc.player.isCreative() && Hud.mc.player.isInsideOfMaterial(Material.WATER)) {
offset += 10;
}
if (Hud.mc.player.getRidingEntity() != null && Hud.mc.player.getRidingEntity() instanceof EntityLiving) {
EntityLiving entity = (EntityLiving)((Object)Hud.mc.player.getRidingEntity());
offset = (int)((double)(offset - 10) + Math.ceil((entity.getMaxHealth() - 1.0f) / 20.0f) * 10.0) + (Hud.mc.player.isCreative() ? 15 : 0);
}
return offset;
}

public static int getTooltipOffset() {
int offset = 63;
if (!Hud.mc.player.isCreative() && Hud.mc.player.isInsideOfMaterial(Material.WATER)) {
offset += 10;
}
return offset;
}

private static float getHurtPercent(EntityLivingBase entity) {
return ((float)entity.hurtTime - (entity.hurtTime != 0 ? Hud.mc.timer.renderPartialTicks : 0.0f)) / 10.0f;
}
}
fix hud , help fix array list
ну он де сказал две ошибки ?
 
ты больной или что) ты пишешь, что Intellij Ready - Готовое для запуска, но при этом пишешь, что сурс еще и надо фиксить) Пастер больной, иди лечись)
Так этот сурс готов к запуску, но если ты его запустишь то у тебя будут визуальные баги из-за кодировки и не будут работать половина модулей из-за евентов)
 
Так ты пастер, ниче не шарющий) чо ты мне пишешь) Из за кодировки ломаются евенты, а может твой мозг маленький ломается)
ну сурсы експы релоадед "тяжело зафиксить")
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
тут изи фикс лол xD
 

Вложения

  • Screenshot_2024-02-08-14-58-41-18_21da60175e70af211acc4f26191b7a77.jpg
    Screenshot_2024-02-08-14-58-41-18_21da60175e70af211acc4f26191b7a77.jpg
    114.9 KB · Просмотры: 336
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
что делать если как аим не подвинуть мышку?
 
да это жоска
1717579147550.png
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
дискорд izi4niy4el если фиксанули скиньте плз сурсы
 
Назад
Сверху Снизу