diff --git a/MakeSignedClient.sh b/MakeSignedClient.sh old mode 100644 new mode 100755 index 83e964b..75650cf --- a/MakeSignedClient.sh +++ b/MakeSignedClient.sh @@ -1,2 +1,2 @@ #!/bin/sh -java -cp "desktopRuntime/MakeOfflineDownload.jar:desktopRuntime/CompileEPK.jar" net.lax1dude.eaglercraft.v1_8.buildtools.workspace.MakeSignedClient "javascript/SignedBundleTemplate.txt" "javascript/classes.js" "javascript/assets.epk" "javascript/lang" "javascript/SignedClientTemplate.txt" "javascript/UpdateDownloadSources.txt" "javascript/EaglercraftX_1.8_Offline_Signed_Client.html" \ No newline at end of file +java -cp "resources/MakeOfflineDownload.jar:resources/CompileEPK.jar" net.lax1dude.eaglercraft.v1_8.buildtools.workspace.MakeSignedClient "javascript/SignedBundleTemplate.txt" "javascript/classes.js" "javascript/assets.epk" "javascript/lang" "javascript/SignedClientTemplate.txt" "javascript/UpdateDownloadSources.txt" "javascript/EaglercraftX_1.8_Offline_Signed_Client.html" \ No newline at end of file diff --git a/javascript/EaglercraftX_1.8_Offline_Signed_Client.html b/javascript/EaglercraftX_1.8_Offline_Signed_Client.html new file mode 100644 index 0000000..0561926 --- /dev/null +++ b/javascript/EaglercraftX_1.8_Offline_Signed_Client.html @@ -0,0 +1,265 @@ + + + + + + + +EaglercraftL 1.9 + + + + + + + + + + + + + +
+
+

This file is from 10/14/2024

+

Get the latest version at eaglercraft.com

+

Game will launch in 5...

+
+

+
+
+ + diff --git a/javascript/index.html b/javascript/index.html index 9fda0ad..33cd455 100644 --- a/javascript/index.html +++ b/javascript/index.html @@ -3,12 +3,12 @@ - - - EaglercraftX 1.8 + + + EaglercraftL 1.9 - + diff --git a/src/game/java/net/minecraft/client/gui/GuiNewChat.java b/src/game/java/net/minecraft/client/gui/GuiNewChat.java index 5c99c92..3855fdb 100644 --- a/src/game/java/net/minecraft/client/gui/GuiNewChat.java +++ b/src/game/java/net/minecraft/client/gui/GuiNewChat.java @@ -158,7 +158,12 @@ public class GuiNewChat extends Gui { logger.info("[CHAT] " + parIChatComponent.getUnformattedText()); } - private void setChatLine(IChatComponent parIChatComponent, int parInt1, int parInt2, boolean parFlag) { + private void setChatLine(IChatComponent parIChatComponent, int parInt1, int parInt2, boolean parFlag) { + parIChatComponent = new ChatComponentText(parIChatComponent.getUnformattedText().replace("HoosierTransfer", "§dHoosierTransfer§r")); + parIChatComponent = new ChatComponentText(parIChatComponent.getUnformattedText().replace("Aethergen", "§dAethergen§r")); + parIChatComponent = new ChatComponentText(parIChatComponent.getUnformattedText().replace("hoosiertransfer", "§dhoosiertransfer§r")); + parIChatComponent = new ChatComponentText(parIChatComponent.getUnformattedText().replace("HoosierTRANSfer", "§dHoosierTRANSfer§r")); + parIChatComponent = new ChatComponentText(parIChatComponent.getUnformattedText().replace("PennyHunter5", "§dPennyHunter5§r")); if (parInt1 != 0) { this.deleteChatLine(parInt1); } diff --git a/src/game/java/net/minecraft/client/gui/GuiOptions.java b/src/game/java/net/minecraft/client/gui/GuiOptions.java index 0c51686..97549cd 100644 --- a/src/game/java/net/minecraft/client/gui/GuiOptions.java +++ b/src/game/java/net/minecraft/client/gui/GuiOptions.java @@ -310,7 +310,7 @@ public class GuiOptions extends GuiScreen implements GuiYesNoCallback { } if (mc.theWorld == null && EagRuntime.getConfiguration().isAllowBootMenu()) { - drawCenteredString(mc.fontRendererObj, I18n.format("options.pressDeleteText"), width / 2, height / 6 + 22, + drawCenteredString(mc.fontRendererObj, I18n.format("options.pressDeleteText"), width / 2, height / 6 - 24, 11184810); } diff --git a/src/game/java/net/minecraft/item/ItemElytra.java b/src/game/java/net/minecraft/item/ItemElytra.java index abf43ca..39f7b21 100644 --- a/src/game/java/net/minecraft/item/ItemElytra.java +++ b/src/game/java/net/minecraft/item/ItemElytra.java @@ -15,11 +15,11 @@ public class ItemElytra extends Item { this.maxStackSize = 1; this.setMaxDamage(432); this.setCreativeTab(CreativeTabs.tabTransport); - this.addPropertyOverride(new ResourceLocation("broken"), new IItemPropertyGetter() { - public float apply(ItemStack stack, @Nullable World worldIn, @Nullable EntityLivingBase entityIn) { - return ItemElytra.isBroken(stack) ? 0.0F : 1.0F; - } - }); + // this.addPropertyOverride(new ResourceLocation("broken"), new IItemPropertyGetter() { + // public float apply(ItemStack stack, @Nullable World worldIn, @Nullable EntityLivingBase entityIn) { + // return ItemElytra.isBroken(stack) ? 0.0F : 1.0F; + // } + // }); } public static boolean isBroken(ItemStack stack) { diff --git a/src/game/java/net/minecraft/util/CooldownTracker.java b/src/game/java/net/minecraft/util/CooldownTracker.java index 4c17e1f..2a86f58 100644 --- a/src/game/java/net/minecraft/util/CooldownTracker.java +++ b/src/game/java/net/minecraft/util/CooldownTracker.java @@ -47,12 +47,12 @@ public class CooldownTracker { public void setCooldown(Item itemIn, int ticksIn) { this.cooldowns.put(itemIn, new CooldownTracker.Cooldown(this.ticks, this.ticks + ticksIn)); - this.notifyOnSet(itemIn, ticksIn); + // this.notifyOnSet(itemIn, ticksIn); // TODO: find a way to add this back in without making archmc and lax mad } public void removeCooldown(Item itemIn) { this.cooldowns.remove(itemIn); - this.notifyOnRemove(itemIn); + // this.notifyOnRemove(itemIn); } protected void notifyOnSet(Item itemIn, int ticksIn) { diff --git a/src/main/java/net/lax1dude/eaglercraft/v1_8/EaglercraftVersion.java b/src/main/java/net/lax1dude/eaglercraft/v1_8/EaglercraftVersion.java index 73477cf..10cb300 100644 --- a/src/main/java/net/lax1dude/eaglercraft/v1_8/EaglercraftVersion.java +++ b/src/main/java/net/lax1dude/eaglercraft/v1_8/EaglercraftVersion.java @@ -10,7 +10,7 @@ public class EaglercraftVersion { /// Customize these to fit your fork: public static final String projectForkName = "Eaglercraft Lambda"; - public static final String projectForkVersion = "0.6.1"; + public static final String projectForkVersion = "1.0.0"; public static final String projectForkVendor = "HoosierTransfer"; public static final String projectForkURL = "https://gitlab.com/lax1dude/eaglercraftx-1.8"; @@ -19,8 +19,8 @@ public class EaglercraftVersion { public static final String projectOriginName = "EaglercraftX"; public static final String projectOriginAuthor = "lax1dude"; - public static final String projectOriginRevision = "1.8"; - public static final String projectOriginVersion = "u39"; + public static final String projectOriginRevision = "1.9"; + public static final String projectOriginVersion = "1.0.0"; public static final String projectOriginURL = "https://gitlab.com/lax1dude/eaglercraftx-1.8"; // rest in peace