This commit is contained in:
Aether 2024-10-14 19:26:44 -04:00
parent df4c705f60
commit 75c32dde17
8 changed files with 287 additions and 17 deletions

2
MakeSignedClient.sh Normal file → Executable file
View File

@ -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"
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"

File diff suppressed because one or more lines are too long

View File

@ -3,12 +3,12 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="description" content="EaglercraftX 1.8 test directory HTML page" />
<meta name="keywords" content="eaglercraft, eaglercraftx, minecraft, 1.8, 1.8.8" />
<title>EaglercraftX 1.8</title>
<meta name="description" content="EaglercraftL 1.9 test directory HTML page" />
<meta name="keywords" content="eaglercraft, eaglercraftx, minecraft, 1.9, 1.9.4" />
<title>EaglercraftL 1.9</title>
<meta property="og:locale" content="en-US" />
<meta property="og:type" content="website" />
<meta property="og:title" content="EaglercraftX 1.8" />
<meta property="og:title" content="EaglercraftL 1.9" />
<meta property="og:description" content="test directory HTML page" />
<link type="image/png" rel="shortcut icon" href="favicon.png" />
<script type="text/javascript" src="classes.js"></script>

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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) {

View File

@ -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) {

View File

@ -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