runtime fixes: move own-class singleton init below static{} (18 files), ux circle stride *3->*2+1, ara scratch cursor mask; runClient reaches menu
This commit is contained in:
parent
9a98af08a4
commit
230a0ffb82
31 changed files with 9660 additions and 20 deletions
|
|
@ -59,7 +59,6 @@ public final class aco {
|
|||
private static final acn[] METRICS_LADDER;
|
||||
private static final Comparator<acr> ORDER = Comparator.comparingInt(acr::getPriority).thenComparingInt(acr::getOrder);
|
||||
private static final Map<String, acs> VANILLA_STYLES = vanillaStyles();
|
||||
public static final aco INSTANCE = new aco();
|
||||
public static final float BRAND_LOGO_RATIO = 0.62F;
|
||||
private static final float BRAND_CENTER = 0.5F;
|
||||
private final List<acr> slots = new ArrayList<>();
|
||||
|
|
@ -1134,4 +1133,6 @@ public final class aco {
|
|||
var10000[2] = new acn(6.0F, 18.0F, 14.0F, 2.0F, 13.0F, 3.0F, 5.0F, 16.0F, 0.0F);
|
||||
METRICS_LADDER = var10000;
|
||||
}
|
||||
|
||||
public static final aco INSTANCE = new aco();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ public final class aio implements aqg {
|
|||
private static final float NORMAL_Y = 1.0F;
|
||||
private static final float NORMAL_Z = 0.0F;
|
||||
private static final float[] CORNER_V;
|
||||
private static final aio INSTANCE = new aio();
|
||||
private final float[] corners = new float[192];
|
||||
private final float[] minU = new float[16];
|
||||
private final float[] maxU = new float[16];
|
||||
|
|
@ -334,4 +333,6 @@ public final class aio implements aqg {
|
|||
var10000[3] = 0.0F;
|
||||
CORNER_V = var10000;
|
||||
}
|
||||
|
||||
private static final aio INSTANCE = new aio();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ import org.joml.Matrix4f;
|
|||
import org.joml.Vector3f;
|
||||
|
||||
public final class aiv {
|
||||
private static final aiv INSTANCE = new aiv();
|
||||
private static final Identifier SOLID = Identifier.fromNamespaceAndPath(
|
||||
"evolution", "textures/white.png"
|
||||
);
|
||||
|
|
@ -581,4 +580,6 @@ public final class aiv {
|
|||
var10000[2] = 0.78F;
|
||||
OPEN_FACE = var10000;
|
||||
}
|
||||
|
||||
private static final aiv INSTANCE = new aiv();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ package defpackage;
|
|||
import java.util.concurrent.atomic.AtomicLong;
|
||||
|
||||
public final class aje {
|
||||
private static final aje INSTANCE = new aje();
|
||||
private static final String STATUS_BUSY = "auto tune is busy";
|
||||
private static final String STATUS_NO_WORLD = "auto tune needs a loaded world";
|
||||
private static final String STATUS_DISABLED = "enable Replay before auto tune";
|
||||
|
|
@ -616,4 +615,6 @@ public final class aje {
|
|||
var10000[5] = 30;
|
||||
FRAMERATE_STEPS = var10000;
|
||||
}
|
||||
|
||||
private static final aje INSTANCE = new aje();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ final class ara {
|
|||
|
||||
Matrix4f next() {
|
||||
Matrix4f var1 = this.matrices[this.cursor];
|
||||
this.cursor = this.cursor + 1;
|
||||
this.cursor = (this.cursor + 1) & 7;
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ public final class awb implements aqg {
|
|||
private static final String QUICK_PREFIX = "Point ";
|
||||
private static final String ID_FORMAT = "%08x%04x";
|
||||
private static final int ID_COUNTER_MASK = 65535;
|
||||
private static final awb INSTANCE = new awb();
|
||||
private final Map<String, List<avx>> worlds = new LinkedHashMap<>();
|
||||
private final List<avx> unassigned = new ArrayList<>();
|
||||
private final List<avx> shared = new ArrayList<>();
|
||||
|
|
@ -1548,4 +1547,6 @@ public final class awb implements aqg {
|
|||
var10000[7] = -38037;
|
||||
PALETTE = var10000;
|
||||
}
|
||||
|
||||
private static final awb INSTANCE = new awb();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -81,7 +81,6 @@ public final class in {
|
|||
private static final float[] COS_TABLE = new float[512];
|
||||
private static final float[] SIN_TABLE = new float[512];
|
||||
private static final int[] BIT_REVERSED = new int[1024];
|
||||
private static final in INSTANCE = new in();
|
||||
private final AtomicBoolean running = new AtomicBoolean();
|
||||
private final boolean windows = System.getProperty("os.name", "")
|
||||
.toLowerCase(Locale.ROOT)
|
||||
|
|
@ -1017,4 +1016,6 @@ public final class in {
|
|||
SIN_TABLE[var3] = (float)Math.sin(var1);
|
||||
}
|
||||
}
|
||||
|
||||
private static final in INSTANCE = new in();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ public final class mx {
|
|||
private static final float LUMA_RED = 0.2126F;
|
||||
private static final float LUMA_GREEN = 0.7152F;
|
||||
private static final float LUMA_BLUE = 0.0722F;
|
||||
private static final mx CURRENT = new mx();
|
||||
private final float[] fillAlpha = new float[ROLE_COUNT];
|
||||
private final float[] borderAlpha = new float[ROLE_COUNT];
|
||||
private final float[] radiusScale = new float[ROLE_COUNT];
|
||||
|
|
@ -656,4 +655,6 @@ public final class mx {
|
|||
var10000[3] = -0.70710677F;
|
||||
CORNER_DIR_Y = var10000;
|
||||
}
|
||||
|
||||
private static final mx CURRENT = new mx();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ import java.util.function.Supplier;
|
|||
|
||||
@rn(name = "Replay", category = rl.MISC, description = "Keeps the last seconds of gameplay ready to save, records clips and trims them in place")
|
||||
public final class ti extends rm {
|
||||
public static final ti INSTANCE = new ti();
|
||||
private static final String AUDIO_DEVICE_FAILURE = "clip audio device lookup failed";
|
||||
private static final String RESOLUTION_LOW = "480p";
|
||||
private static final String RESOLUTION_MEDIUM = "720p";
|
||||
|
|
@ -542,4 +541,6 @@ public final class ti extends rm {
|
|||
var10000[2] = 480;
|
||||
CAPTURE_HEIGHTS = var10000;
|
||||
}
|
||||
|
||||
public static final ti INSTANCE = new ti();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -72,7 +72,6 @@ public final class tt extends rm {
|
|||
private final sg animationMode;
|
||||
private final ru clientColor;
|
||||
private final rx customColor;
|
||||
public static final tt INSTANCE = new tt();
|
||||
private AABB shaderFillBox;
|
||||
private int shaderFillPosX;
|
||||
private int shaderFillPosY;
|
||||
|
|
@ -1010,4 +1009,6 @@ public final class tt extends rm {
|
|||
var10000[3] = -65281;
|
||||
FACE_UV_COLORS = var10000;
|
||||
}
|
||||
|
||||
public static final tt INSTANCE = new tt();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -116,7 +116,6 @@ public final class tw extends rm {
|
|||
private static final int MASK_DISTANCE_FADE = 128;
|
||||
private static final int MASK_AFTERIMAGE = 256;
|
||||
private static final int MASK_TINT = 512;
|
||||
public static final tw INSTANCE = new tw();
|
||||
public final si targets;
|
||||
public final si layers;
|
||||
public final sg preset;
|
||||
|
|
@ -2324,4 +2323,6 @@ public final class tw extends rm {
|
|||
var10000[5] = "Others";
|
||||
TARGET_MASK_ORDER = var10000;
|
||||
}
|
||||
|
||||
public static final tw INSTANCE = new tw();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ public final class uf extends rm {
|
|||
public static final int LIQUID_GLASS_MODE = 8;
|
||||
public static final int SMOKE_MODE = 12;
|
||||
public static final int FLAME_MODE = 13;
|
||||
public static final uf INSTANCE = new uf();
|
||||
public final ru shaderEnabled = new ru(
|
||||
"Shader", (boolean)((((1777368937 | -1777368936) + (1777368937 & -1777368936))
|
||||
) != 0))
|
||||
|
|
@ -437,4 +436,6 @@ public final class uf extends rm {
|
|||
var10000[29] = "Rotating wireframe network";
|
||||
MODE_DESCRIPTIONS = var10000;
|
||||
}
|
||||
|
||||
public static final uf INSTANCE = new uf();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -208,7 +208,6 @@ public final class up extends rm {
|
|||
private ate blastProgress;
|
||||
private ate blastTintColor;
|
||||
private ate blastFade;
|
||||
public static final up INSTANCE = new up();
|
||||
|
||||
private up() {
|
||||
String var10003 = "Mode";
|
||||
|
|
@ -3400,4 +3399,6 @@ public final class up extends rm {
|
|||
var0[2] = 0.5F;
|
||||
STROBE_AMPLITUDES = var0;
|
||||
}
|
||||
|
||||
public static final up INSTANCE = new up();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -60,7 +60,6 @@ public final class uq extends rm {
|
|||
.description(
|
||||
"Maximum distance dropped items emit light"
|
||||
);
|
||||
public static final uq INSTANCE = new uq();
|
||||
private static volatile double[] snapshot = new double[0];
|
||||
private final Map<Long, Integer> prevCells = new HashMap<>();
|
||||
private final Set<Long> prevSections = new HashSet<>();
|
||||
|
|
@ -515,4 +514,6 @@ public final class uq extends rm {
|
|||
SPECIAL.put(Items.LAVA_BUCKET, (-1673520724 | 1673520739) + (-1673520724 & 1673520739));
|
||||
SPECIAL.put(Items.GLOW_BERRIES, (-1379083793 ^ 1379083807) + ((-1379083793 & 1379083807) << 1));
|
||||
}
|
||||
|
||||
public static final uq INSTANCE = new uq();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -128,7 +128,6 @@ public final class ut extends rm {
|
|||
private final Matrix4f bodyMatrix;
|
||||
private final Matrix4f wingMatrix;
|
||||
private final Vector4f wingTip;
|
||||
public static final ut INSTANCE = new ut();
|
||||
|
||||
private ut() {
|
||||
String var10003 = "Taper";
|
||||
|
|
@ -2201,4 +2200,6 @@ public final class ut extends rm {
|
|||
var10000[3] = 1.0F;
|
||||
RIBBON_V = var10000;
|
||||
}
|
||||
|
||||
public static final ut INSTANCE = new ut();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ public final class ux extends rm {
|
|||
case -1597831626:
|
||||
var7 = (double)var6 / var4 * Math.PI * 2.0;
|
||||
var5[var6 * (2)] = (float)Math.cos(var7);
|
||||
var5[var6 * 3] = (float)Math.sin(
|
||||
var5[var6 * 2 + 1] = (float)Math.sin(
|
||||
var7
|
||||
);
|
||||
var6++;
|
||||
|
|
|
|||
|
|
@ -98,7 +98,6 @@ public final class vp extends rm {
|
|||
private final int[] ringCornerColors;
|
||||
private boolean wasOnGround;
|
||||
private double groundY;
|
||||
public static final vp INSTANCE = new vp();
|
||||
|
||||
private static Identifier[] layers(String... var0) {
|
||||
Identifier[] var1 = null;
|
||||
|
|
@ -1537,4 +1536,6 @@ public final class vp extends rm {
|
|||
.build()
|
||||
);
|
||||
}
|
||||
|
||||
public static final vp INSTANCE = new vp();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -87,7 +87,6 @@ public final class vx extends rm {
|
|||
private long lastTickTime;
|
||||
private int lastAttackBurstEntityId;
|
||||
private long lastAttackBurstTick;
|
||||
public static final vx INSTANCE = new vx();
|
||||
|
||||
private vx() {
|
||||
String var10003 = "Physics";
|
||||
|
|
@ -688,4 +687,6 @@ public final class vx extends rm {
|
|||
var10000[3] = 16737928;
|
||||
PALETTE = var10000;
|
||||
}
|
||||
|
||||
public static final vx INSTANCE = new vx();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -74,7 +74,6 @@ public final class wd extends rm {
|
|||
private final Map<Integer, List<wc>> trails;
|
||||
private final float[] frameCenter;
|
||||
private final float[] frameSide;
|
||||
public static final wd INSTANCE = new wd();
|
||||
|
||||
private wd() {
|
||||
String var10003 = "Fill type";
|
||||
|
|
@ -1411,4 +1410,6 @@ public final class wd extends rm {
|
|||
var10000[3] = 1.0F;
|
||||
RIBBON_V = var10000;
|
||||
}
|
||||
|
||||
public static final wd INSTANCE = new wd();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -158,7 +158,6 @@ public final class wp extends rm {
|
|||
private final sg languageSetting;
|
||||
private final rx textColor;
|
||||
private final rx accentColor;
|
||||
public static final wp INSTANCE = new wp();
|
||||
private final List<wn> phrases;
|
||||
private final Random random;
|
||||
private final ha projector;
|
||||
|
|
@ -1425,4 +1424,6 @@ public final class wp extends rm {
|
|||
var10000[var10002] = var10003;
|
||||
SCREEN_SLOTS = var10000;
|
||||
}
|
||||
|
||||
public static final wp INSTANCE = new wp();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue