Compare commits
No commits in common. "41d3417772a9ecd697e15f72111a20d4dbc2e77e" and "acf5ab30de4334e3a54a2ea13e60284033461824" have entirely different histories.
41d3417772
...
acf5ab30de
|
@ -1,5 +0,0 @@
|
|||
<component name="ProjectCodeStyleConfiguration">
|
||||
<state>
|
||||
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
|
||||
</state>
|
||||
</component>
|
15
README.md
15
README.md
|
@ -1,18 +1,3 @@
|
|||
# in case this repo is open-sourced, here's some info:
|
||||
|
||||
(i wrote this with like 2 hours of sleep)
|
||||
|
||||
i have decided to fully quit eaglercraft and everything related for personal reasons (dont dig into my past, seriously. i don't like having severe paranoia that one of ur 12 year old asses is gonna raid my friend group). i first started working on this project a long time ago, and that means my code base and half of the code sucks an incredible amount of ass. if you're going to comment on code quality, don't. there are cheats in resent, what a surprise (xray and spawner esp, 3.5 reach), it's not hard to block the activation of these serverside. Finally, i loved my time in the eagler community (not really you all suck ngl) and it has affected me in many ways. (you may see me on mmc or mcpvp, feel free to talk to me or something)
|
||||
|
||||
|
||||
alright, this notice is long enough. さようなら! (if you ever hear from me again i'll be back with a surprise)
|
||||
|
||||
|
||||
## fatal i know you're skidding this right now kys (uwu client always better)
|
||||
|
||||
|
||||
ORIGINAL README BELOW:
|
||||
|
||||
# Resent-1.8
|
||||
|
||||
|
||||
|
|
107
build.gradle
107
build.gradle
|
@ -1,28 +1,26 @@
|
|||
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
google()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// classpath 'io.github.zebalu:teavm-gradle-plugin:1.0.0'
|
||||
classpath 'io.github.zebalu:teavm-gradle-plugin:1.0.0'
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'eclipse'
|
||||
id "org.teavm" version "0.8.1"
|
||||
}
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'eclipse'
|
||||
apply plugin: 'io.github.zebalu.teavm-gradle-plugin'
|
||||
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
sourceCompatibility = 1.8
|
||||
targetCompatibility = 1.8
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
java {
|
||||
srcDir 'src/main/java'
|
||||
srcDir 'src/teavm'
|
||||
srcDir 'src/teavm/java'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -32,58 +30,57 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
// https://mvnrepository.com/artifact/org.teavm/teavm-platform
|
||||
implementation 'org.teavm:teavm-platform:0.8.1'
|
||||
// https://mvnrepository.com/artifact/org.teavm/teavm-classlib
|
||||
implementation 'org.teavm:teavm-classlib:0.8.1'
|
||||
// https://mvnrepository.com/artifact/org.teavm/teavm-interop
|
||||
implementation 'org.teavm:teavm-interop:0.8.1'
|
||||
// https://mvnrepository.com/artifact/org.teavm/teavm-jso
|
||||
implementation 'org.teavm:teavm-jso:0.8.1'
|
||||
// https://mvnrepository.com/artifact/org.teavm/teavm-jso-apis
|
||||
implementation 'org.teavm:teavm-jso-apis:0.8.1'
|
||||
// https://mvnrepository.com/artifact/org.teavm/teavm-junit
|
||||
testImplementation 'org.teavm:teavm-junit:0.8.1'
|
||||
// https://mvnrepository.com/artifact/org.teavm/teavm-jso-impl
|
||||
implementation 'org.teavm:teavm-jso-impl:0.8.1'
|
||||
// https://mvnrepository.com/artifact/com.jcraft/jzlib
|
||||
implementation 'com.jcraft:jzlib:1.1.3'
|
||||
/** we use 0.6.1 due to performance issues on 7.0.0 */
|
||||
implementation 'org.teavm:teavm-platform:0.6.1'
|
||||
implementation('org.teavm:teavm-classlib:0.6.1') {
|
||||
exclude group: 'com.google.code.gson', module: 'gson'
|
||||
}
|
||||
}
|
||||
|
||||
teavm.js {
|
||||
properties = null;
|
||||
debugInformation = false;
|
||||
sourceMap = true;
|
||||
obfuscated = false;
|
||||
teavm {
|
||||
|
||||
/** Where to save the result */
|
||||
outputDir = file("javascript");
|
||||
compileScopes = null;
|
||||
minifying = true;
|
||||
maxTopLevelNames = 10000;
|
||||
properties = null;
|
||||
debugInformationGenerated = false;
|
||||
sourceMapsGenerated = true;
|
||||
sourceFilesCopied = false;
|
||||
incremental = false;
|
||||
transformers = null;
|
||||
|
||||
/** How to name the result file. */
|
||||
targetFileName = "classes.js";
|
||||
/** Where to save the result */
|
||||
targetDirectory = file("javascript");
|
||||
|
||||
/** Which class holds your public static void main(Strin[] args) method */
|
||||
mainClass = 'net.lax1dude.eaglercraft.v1_8.internal.teavm.MainClass';
|
||||
/** The directory to monitor to decide if compile is up-to-date or not */
|
||||
sourceDirectory = file("src");
|
||||
|
||||
/** This will be the name of your main method after compilation. */
|
||||
entryPointName = 'main';
|
||||
/** How to name the result file. */
|
||||
targetFileName = "classes.js";
|
||||
|
||||
preservedClasses = Arrays.asList('net.minecraft.client.Minecraft');
|
||||
// optimization = BALANCED; //org.teavm.vm.TeaVMOptimizationLevel.SIMPLE;
|
||||
fastGlobalAnalysis = false;
|
||||
// targetType = "JAVASCRIPT"; //org.teavm.tooling.TeaVMTargetType.JAVASCRIPT;
|
||||
// cacheDirectory = null;
|
||||
// wasmVersion = "V_0x1"; //org.teavm.backend.wasm.render.WasmBinaryVersion.V_0x1;
|
||||
// minHeapSize = 4;
|
||||
// maxHeapSize = 128;
|
||||
outOfProcess = false;
|
||||
processMemory = 512;
|
||||
// longjmpSupported = true;
|
||||
// heapDump = false;
|
||||
/** Which class holds your public static void main(Strin[] args) method */
|
||||
mainClass = 'net.lax1dude.eaglercraft.v1_8.internal.teavm.MainClass';
|
||||
|
||||
/** Add name of configurations here where to look for jarfiles. */
|
||||
// includeJarsFrom = [];
|
||||
/** This will be the name of your main method after compilation. */
|
||||
entryPointName = 'main';
|
||||
|
||||
/** By default teavmc taskd epends on javaCompile task, unless this varaibale is true. */
|
||||
// skipJavaCompile = false;
|
||||
classesToPreserve = null;
|
||||
stopOnErrors = false;
|
||||
optimizationLevel = "ADVANCED"; //org.teavm.vm.TeaVMOptimizationLevel.SIMPLE;
|
||||
fastGlobalAnalysis = false;
|
||||
targetType = "JAVASCRIPT"; //org.teavm.tooling.TeaVMTargetType.JAVASCRIPT;
|
||||
cacheDirectory = null;
|
||||
wasmVersion = "V_0x1"; //org.teavm.backend.wasm.render.WasmBinaryVersion.V_0x1;
|
||||
minHeapSize = 256;
|
||||
maxHeapSize = 256;
|
||||
outOfProcess = false;
|
||||
processMemory = 2048;
|
||||
longjmpSupported = true;
|
||||
heapDump = false;
|
||||
|
||||
/** Add name of configurations here where to look for jarfiles. */
|
||||
includeJarsFrom = [];
|
||||
|
||||
/** By default teavmc taskd epends on javaCompile task, unless this varaibale is true. */
|
||||
skipJavaCompile = false;
|
||||
}
|
Binary file not shown.
|
@ -167,7 +167,7 @@ Compile it yourself here: https://gitlab.com/lax1dude/eaglercraftx-1.8/
|
|||
|
||||
function setPatchNum(patchNum){
|
||||
patchNumber = patchNum;
|
||||
//checkForUpdates();
|
||||
checkForUpdates();
|
||||
}
|
||||
|
||||
function setBarProg(event, epkSize){
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
|
@ -311,8 +311,7 @@
|
|||
{ addr: "wss://hyper-network.me/", name: "Hyper Network" },
|
||||
{ addr: "wss://mc.asspixel.net/", name: "Ass Pixel" },
|
||||
{ addr: "wss://konemc.ga/", name: "koneMC" },
|
||||
{ addr: "wss://example.com/", name: "Valkaria (Coming Soon)" },
|
||||
{ addr: "wss://ggsmp.net/", name: "GG SMP" }
|
||||
{ addr: "wss://eagler.lopobia.com/", name: "Lopobia Network" },
|
||||
|
||||
]
|
||||
};
|
||||
|
|
771125
javascript/js/classes.js
771125
javascript/js/classes.js
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
3.7
|
||||
3
|
||||
https://drive.google.com/file/d/1HZKezB-qebyd0mS4oI4UfVde6tL_pFNS/view?usp=sharing
|
||||
https://drive.google.com/file/d/1C0agKcePTzK3pJ1AetxojI28f7gnG7N5/view?usp=sharing
|
||||
2
|
||||
https://drive.google.com/file/d/16u4xiiPwi9ziOMnYmqeFZya3RCR-CP6U/view?usp=sharing
|
||||
https://drive.google.com/file/d/1qeZjdVFdWHBNq6PQaDnMoa38Wu5Y1Rdm/view?usp=sharing
|
|
@ -6,7 +6,7 @@ public class ClientInfo {
|
|||
|
||||
public static final String name = "Resent";
|
||||
public static final String version = "3.7";
|
||||
public static final String patchNum = "3";
|
||||
public static final String patchNum = "2";
|
||||
public static final String author = "Nitwit";
|
||||
public static final String release = Release.STABLE.name;
|
||||
|
||||
|
|
|
@ -160,11 +160,7 @@ public class ClickGuiRewrite extends GuiScreen {
|
|||
|
||||
// Mod Categories
|
||||
RenderUtils.drawRoundedRect(x + 80, y+90, (x + width) - 30, y+120, 8, new Color(30, 30, 30).getRGB());
|
||||
// pls dont remove the thing that switches the colors, doesnt look good without the color switching - kone
|
||||
|
||||
//if anyone is reading this someone fix the code below, it's ass (sorry kone)
|
||||
//holy fuck it would have been so much easier to make a categories enum instead, i didn't think it would be necessary at the time but now i see that it was the right choice.
|
||||
|
||||
// pls dont remove the thing that switches the colors, doesnt look good without the color switching
|
||||
if (selectedCategory == null) {
|
||||
RenderUtils.drawRoundedRect(x + 85, y+95, x + 130, y+115, 8, secondaryFontColor.getRGB());
|
||||
}
|
||||
|
@ -269,8 +265,6 @@ public class ClickGuiRewrite extends GuiScreen {
|
|||
GlStateManager.popMatrix();
|
||||
GlUtils.startScale(x+92+offsetX, y+190+offset+scrollOffset, 0.7f);
|
||||
if (!m.getDescription().startsWith("No des")) {
|
||||
|
||||
//skull emoji
|
||||
String description0 = (m.getDescription() + " ").substring(0, 21);
|
||||
String description1 = (m.getDescription() + " ").substring(21, 41);
|
||||
String description2 = (m.getDescription() + " ").substring(41, 61);
|
||||
|
|
Loading…
Reference in New Issue
Block a user