2.2.9
This commit is contained in:
1 parent
5a8cb58cb0
commit
8626d205f7
132 files changed
+18
-931
No files matched your search
@@ -6,7 +6,6 @@ base {
|
||||
archivesName = "${mod_id}-common-1.20.1"
|
||||
}
|
||||
|
||||
// Source-only module — each loader module compiles these sources itself.
|
||||
tasks.named('compileJava').configure {
|
||||
enabled = false
|
||||
}
|
||||
|
||||
-1
@@ -17,7 +17,6 @@ public final class MoonSkyTracker {
|
||||
private static final long MAX_AGE_MILLIS = 1500L;
|
||||
private static final double AIM_COSINE = Math.cos(Math.toRadians(PortalGunMoonMath.AIM_TOLERANCE_DEGREES));
|
||||
private static Vec3 direction;
|
||||
// Weak so a dimension change or logout doesn't pin the old client world in memory.
|
||||
private static WeakReference<ClientLevel> level = new WeakReference<>(null);
|
||||
private static long recordedAt;
|
||||
private static Consumer<PortalGunMoonAimPayload> sender = payload -> {};
|
||||
|
||||
-1
@@ -20,7 +20,6 @@ public final class PortalGunCrosshairRenderer {
|
||||
private static final int HALF_WIDTH = 17;
|
||||
private static final float MISSING_BRIGHTNESS = 0.3F;
|
||||
private static final float MISSING_ALPHA = 0.75F;
|
||||
// Weak so a dimension change or logout doesn't pin the old client world in memory.
|
||||
private static WeakReference<ClientLevel> cachedLevel = new WeakReference<>(null);
|
||||
private static long cachedGameTime = Long.MIN_VALUE;
|
||||
private static UUID cachedGunId;
|
||||
|
||||
-1
@@ -12,7 +12,6 @@ import net.minecraft.client.multiplayer.ClientLevel;
|
||||
|
||||
public final class PortalGunIndicatorClientState {
|
||||
private static final Map<UUID, PortalGunIndicatorPayload> STATES = new HashMap<>();
|
||||
// Weak so a dimension change or logout doesn't pin the old client world in memory.
|
||||
private static WeakReference<ClientLevel> level = new WeakReference<>(null);
|
||||
private static long lastRequestTick = Long.MIN_VALUE;
|
||||
private static UUID lastRequestedGun;
|
||||
|
||||
Reference in new issue
Block a user