Bungee fix and misc shit
3
.idea/compiler.xml
generated
@ -3,4 +3,7 @@
|
||||
<component name="CompilerConfiguration">
|
||||
<bytecodeTargetLevel target="17" />
|
||||
</component>
|
||||
<component name="JavacSettings">
|
||||
<option name="ADDITIONAL_OPTIONS_STRING" value="-Xmaxerrs 1000" />
|
||||
</component>
|
||||
</project>
|
@ -133,6 +133,7 @@ public class InitialHandler extends PacketHandler implements PendingConnection {
|
||||
if(!un.equals(un.replaceAll("[^A-Za-z0-9\\-_]", "_").trim())) {
|
||||
System.err.println("Potentially invalid unicode username detected");
|
||||
// this.disconnect("Go fuck yourself");
|
||||
this.disconnect("Security flaw");
|
||||
// return;
|
||||
}
|
||||
if (BungeeCord.getInstance().tokenVerify.isEmpty()) {
|
||||
|
BIN
lwjgl-rundir/resources/mesh/charles.fallback.png
Executable file
After Width: | Height: | Size: 37 KiB |
BIN
lwjgl-rundir/resources/mesh/charles.png
Executable file
After Width: | Height: | Size: 120 KiB |
BIN
lwjgl-rundir/resources/mesh/charles0.mdl
Executable file
BIN
lwjgl-rundir/resources/mesh/charles1.mdl
Executable file
BIN
lwjgl-rundir/resources/mesh/charles2.mdl
Executable file
BIN
lwjgl-rundir/resources/mesh/laxativedude.fallback.png
Executable file
After Width: | Height: | Size: 17 KiB |
BIN
lwjgl-rundir/resources/mesh/laxativedude.png
Executable file
After Width: | Height: | Size: 52 KiB |
BIN
lwjgl-rundir/resources/mesh/laxativedude0.mdl
Executable file
BIN
lwjgl-rundir/resources/mesh/laxativedude1.mdl
Executable file
BIN
lwjgl-rundir/resources/mesh/laxativedude2.mdl
Executable file
BIN
lwjgl-rundir/resources/mesh/laxativedude3.mdl
Executable file
BIN
lwjgl-rundir/resources/mesh/longarms.fallback.png
Executable file
After Width: | Height: | Size: 11 KiB |
BIN
lwjgl-rundir/resources/mesh/longarms.png
Executable file
After Width: | Height: | Size: 41 KiB |
BIN
lwjgl-rundir/resources/mesh/longarms0.mdl
Executable file
BIN
lwjgl-rundir/resources/mesh/longarms1.mdl
Executable file
BIN
lwjgl-rundir/resources/mesh/longarms2.mdl
Executable file
BIN
lwjgl-rundir/resources/mesh/weirdclimber.fallback.png
Executable file
After Width: | Height: | Size: 12 KiB |
BIN
lwjgl-rundir/resources/mesh/weirdclimber.png
Executable file
After Width: | Height: | Size: 37 KiB |
BIN
lwjgl-rundir/resources/mesh/weirdclimber0.mdl
Executable file
BIN
lwjgl-rundir/resources/mesh/weirdclimber1.mdl
Executable file
BIN
lwjgl-rundir/resources/mesh/weirdclimber2.mdl
Executable file
BIN
lwjgl-rundir/resources/mesh/winston.fallback.png
Executable file
After Width: | Height: | Size: 22 KiB |
BIN
lwjgl-rundir/resources/mesh/winston.png
Executable file
After Width: | Height: | Size: 71 KiB |
BIN
lwjgl-rundir/resources/mesh/winston0.mdl
Executable file
BIN
lwjgl-rundir/resources/mesh/winston1.mdl
Executable file
96
src/main/java/net/lax1dude/eaglercraft/HighPolySkin.java
Normal file
@ -0,0 +1,96 @@
|
||||
package net.lax1dude.eaglercraft;
|
||||
|
||||
public enum HighPolySkin {
|
||||
|
||||
LONG_ARMS(
|
||||
new TextureLocation("/mesh/longarms.png"),
|
||||
new ModelLocation("/mesh/longarms0.mdl"),
|
||||
null,
|
||||
new ModelLocation("/mesh/longarms2.mdl"),
|
||||
new ModelLocation[] {
|
||||
new ModelLocation("/mesh/longarms1.mdl")
|
||||
},
|
||||
new float[] {
|
||||
1.325f
|
||||
},
|
||||
0.0f,
|
||||
new TextureLocation("/mesh/longarms.fallback.png")
|
||||
),
|
||||
|
||||
WEIRD_CLIMBER_DUDE(
|
||||
new TextureLocation("/mesh/weirdclimber.png"),
|
||||
new ModelLocation("/mesh/weirdclimber0.mdl"),
|
||||
null,
|
||||
new ModelLocation("/mesh/weirdclimber2.mdl"),
|
||||
new ModelLocation[] {
|
||||
new ModelLocation("/mesh/weirdclimber1.mdl")
|
||||
},
|
||||
new float[] {
|
||||
2.62f
|
||||
},
|
||||
-90.0f,
|
||||
new TextureLocation("/mesh/weirdclimber.fallback.png")
|
||||
),
|
||||
|
||||
LAXATIVE_DUDE(
|
||||
new TextureLocation("/mesh/laxativedude.png"),
|
||||
new ModelLocation("/mesh/laxativedude0.mdl"),
|
||||
null,
|
||||
new ModelLocation("/mesh/laxativedude3.mdl"),
|
||||
new ModelLocation[] {
|
||||
new ModelLocation("/mesh/laxativedude1.mdl"),
|
||||
new ModelLocation("/mesh/laxativedude2.mdl")
|
||||
},
|
||||
new float[] {
|
||||
2.04f
|
||||
},
|
||||
0.0f,
|
||||
new TextureLocation("/mesh/laxativedude.fallback.png")
|
||||
),
|
||||
|
||||
BABY_CHARLES(
|
||||
new TextureLocation("/mesh/charles.png"),
|
||||
new ModelLocation("/mesh/charles0.mdl"),
|
||||
new ModelLocation("/mesh/charles1.mdl"),
|
||||
new ModelLocation("/mesh/charles2.mdl"),
|
||||
new ModelLocation[] {},
|
||||
new float[] {},
|
||||
0.0f,
|
||||
new TextureLocation("/mesh/charles.fallback.png")
|
||||
),
|
||||
|
||||
BABY_WINSTON(
|
||||
new TextureLocation("/mesh/winston.png"),
|
||||
new ModelLocation("/mesh/winston0.mdl"),
|
||||
null,
|
||||
new ModelLocation("/mesh/winston1.mdl"),
|
||||
new ModelLocation[] {},
|
||||
new float[] {},
|
||||
0.0f,
|
||||
new TextureLocation("/mesh/winston.fallback.png")
|
||||
);
|
||||
|
||||
public static float highPolyScale = 0.5f;
|
||||
|
||||
public final TextureLocation texture;
|
||||
public final ModelLocation bodyModel;
|
||||
public final ModelLocation headModel;
|
||||
public final ModelLocation eyesModel;
|
||||
public final ModelLocation[] limbsModel;
|
||||
public final float[] limbsOffset;
|
||||
public final float limbsInitialRotation;
|
||||
public final TextureLocation fallbackTexture;
|
||||
|
||||
HighPolySkin(TextureLocation texture, ModelLocation bodyModel, ModelLocation headModel, ModelLocation eyesModel,
|
||||
ModelLocation[] limbsModel, float[] limbsOffset, float limbsInitialRotation, TextureLocation fallbackTexture) {
|
||||
this.texture = texture;
|
||||
this.bodyModel = bodyModel;
|
||||
this.headModel = headModel;
|
||||
this.eyesModel = eyesModel;
|
||||
this.limbsModel = limbsModel;
|
||||
this.limbsOffset = limbsOffset;
|
||||
this.limbsInitialRotation = limbsInitialRotation;
|
||||
this.fallbackTexture = fallbackTexture;
|
||||
}
|
||||
|
||||
}
|