From 3db80575424f9b66510770da379d73b7514a6b4a Mon Sep 17 00:00:00 2001 From: ThisIsALegitUsername Date: Thu, 29 Dec 2022 00:35:18 +0000 Subject: [PATCH] Port freelook --- .../6.0/executionHistory/executionHistory.bin | Bin 2700986 -> 2700986 bytes .../executionHistory/executionHistory.lock | Bin 17 -> 38 bytes .gradle/6.0/fileContent/fileContent.lock | Bin 17 -> 38 bytes .gradle/6.0/fileHashes/fileHashes.bin | Bin 504341 -> 504341 bytes .gradle/6.0/fileHashes/fileHashes.lock | Bin 17 -> 38 bytes .gradle/6.0/javaCompile/classAnalysis.bin | Bin 2030882 -> 2031719 bytes .gradle/6.0/javaCompile/javaCompile.lock | Bin 17 -> 38 bytes .../buildOutputCleanup.lock | Bin 17 -> 38 bytes .../java/net/minecraft/client/Minecraft.java | 23 +++++++++--- .../client/renderer/EntityRenderer.java | 34 +++++++++--------- .../client/settings/GameSettings.java | 1 + 11 files changed, 38 insertions(+), 20 deletions(-) diff --git a/.gradle/6.0/executionHistory/executionHistory.bin b/.gradle/6.0/executionHistory/executionHistory.bin index 22205b4f78e835c35b713d3b8c0975779c5de93d..2711ee7f7efc9ff1f8af9abd314ea66f83d055ee 100644 GIT binary patch delta 442 zcmdn>b_wGyAZ}=3Y+-6)ZeeL*ZDDI+Z{cX+Y~gC*ZsBR+ZQ*O-ZxLt_Y!PY^ZV_n_ zZ4uid9=BM7lT&qeMRHntZbfBIRZ&`MMN&qwX-R%oQAt^0aUla3xLPx8o<47hxa{6on(M{VAPk*>pQhd6+28+~m198#N>EAS11lwCTN&&I-^wy0siv%O&Z3G;`SDf5G zqjvg}z4t#Znauc9Sx^97czR+bo9gt5n`9K37jUkdele0=xBby386cJgV!7>)Hp%CH zWZW{{@s5J=bm3bH+on%6<@BCD;giD5=?PyH_@|k3=1pJ9q?opy%Z+mxvZrVybB%Sf;{#ZQ{gZN1iUX z`WNk7Dz=tAXWxq6(Cjx PVl^OE-+p3^#-~mI&U>}> delta 841 zcmdn>b_wGyAZ}=3Y+-6)ZeeL*ZDDI+Z{cX+Y~gC*ZsBR+ZQ*O-ZxLt_Y!PY^ZV_n_ zZ4uid9=DiTaB}EmKMzF~jw*)D)8{P_m!1A{vAA0M$;IN^PcD`?{&D()(@cWx3#UqM zUpQ6DR(iU%28-bIM{6a;rps%vNKH2o7Y&{M4Jg*$x={*gODC|rUox5Tsj{E|y72VGN;cK$6F12yGGCTmH~nHHyKeiVO)@|%3&e8UA8nG) z{W$&MTUPPu0qfZ$rVFf9;ATxNOU)~pe*Z12B!=KeF-`-pqUn2c8F{8}?q`%hr~!#_ zP2adp!FsxF0VDTx`#eSg@#LJu;$mijL%R-aSHEVQ()gF3ZP9gY$LWl_6>Jd7rhlEv zZ3;0MsFi2BZKH%BOso6fUgnAyg_9rlYhQ_b7neGHVF$Y*n%e1;pDQ5r3rOfet>v~` zx|*#{@@wV8)SgbUMxp5wFGH*qnC^6n&kSygILxxhp0fBgl59~=IJ#eD2;a(_-Z&4* zGV$q3n-m;C&K8jNPOXI5^5Oo8nNl-L!gV|=%F8-FADM3WfDhq90cN1m>49_Eq1N>l zGQzDZxU&Cb&$L>-j_RVi{iL$T=#cF2Im#HLT;lR-qJ`1Je5 zjGV9#xfVUw{-=&7b~oyMpudhE@qyu(Ih%JNUp>D72ql1Hy_xtOUf$ VK&%49sz9s;#OmA6uF-hg2>^F~L=yl2 diff --git a/.gradle/6.0/executionHistory/executionHistory.lock b/.gradle/6.0/executionHistory/executionHistory.lock index cf61e905fa59473c6494f552796c5a9421d2613a..5ab24a7fa03028925a3d749a49f4bf31fa8051f6 100644 GIT binary patch literal 38 pcmZQB_wb6ISml0*0RqCA85m|CInB0SzuoreH3k-ALvter1^~zB3KReU literal 17 TcmZQB_wb6ISml0*0Rn;nDvSfq diff --git a/.gradle/6.0/fileContent/fileContent.lock b/.gradle/6.0/fileContent/fileContent.lock index 266b34c0721cae3c1a0558ed84832d5c52061244..93007af3df236dc98fec7234d6d37585ac3e3131 100644 GIT binary patch literal 38 ocmZQB>3LCqkWcvw0~9bbFw8!(WaVjr7t+jS3@pZm=0*$*0NqpyC;$Ke literal 17 TcmZQB>3LCqkWcvw0~7!NHgg0~ diff --git a/.gradle/6.0/fileHashes/fileHashes.bin b/.gradle/6.0/fileHashes/fileHashes.bin index 73f106f1716033963909823c16fe397963ed81cd..f1613c360762b00de5e5f644257eb2fcdd3e4830 100644 GIT binary patch delta 14817 zcmY+L3s{t8`o^6Z4vHd9BN~H)LTif3vvy4@^T_Vv{^ zZ7hpZ5*HjdA}ww1SG6zL92I@WSpGBGn)X9Q$G0pONA$4FzT<}q^-kQ#mK9auA5|`ve@cWE-@!9Wk%{k#BC8rr8t^|VwN#DEHT)rW-g;>RsckcV0Q5KO8*PIU%66) z9qPm~t3&rG>r+&)EoV|vCCq#M&FNxhFK4YXp>sm^GZ=T=>y#Sxx^;k0X zUuWqZ2+*Byy@0CMB-6D5J@31MLNEuk|KAuosD^hf4wVbPk9_-JmHDqAhuXKo>hK8; zRx$l;4%IAT?N+jA-A6%AHDM*IB;Bw$)lxBwB(7G-mdo6GK|WR5D%ToxDJPd=m!@C@ zl_q@_>A_166Y&wCmrXcJfh7vpvt+*(WGOWo}2%2(;=MP06Eh zu27XwvryD#Ov2DrOv}nazcXO^%xp-Uiup6dH?HEs?OsLk)ae*lU_R5M^65wt$`L9j zRb0roju@yrns0-`ANQLIp3GTJHBYSMB~G;+md{ArsOl}~%y&8_@dtHfzflv^=YTPB zi9hILy}h#Z#nR6{U}(c19fwkz#oUW<^Z||@2Qlil2N?&`bR_)|ju*u7nm9fZ`a!5Q z5AydMqDtOyoQ=Q6lL# zO5~6#%72s6b`N^qxvx!kO7-t+GbeD0kR=>_+Abmc#c@Tb>IqEX@Vlro@h+;Yd>g0c zW^wEl$4^2%`q{h}8;-2~W6G5l;7~LB*}T^|%uZ+*9O&!&QT*sybmurspQN7S^d-cG zD~3*T&%tEh)1OIW`m;w1gm#iVNeYW8u{DL>#f)XD>o~?XRm^#@rjjRgqf;G}_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ysq&x*U0emc&2G7C3Oh@)8jA3su6W59&tPM>( zLhdoBb50u?>tno15f7||wn;>M1&l+dwlp5lmhol?6$;gW{D#zKka;ZZ8WQ09a*3CN z&3to`6vCi2wV1bT5nl^ojsrr?LUHY=O%?JQ;-6d8wPWOqqUhD0ZcTlVZBBcdt8`<@;8=!O2j8*9Q3RjZ770j;52ZrM|Q$me(Q?Q;%Tr zZ5Qz%yiG@{W?_Lxxabz|YBjLXj(WFJ3talrK*#f8U_A8)X!Y>K!elqvB%4qEI(DRe z?~b&eAe1XqCG;!EZ#;H$0-4Z>9ebpc6~|jM33nA~-^q5>AQau1Ig?5HoT{L6tIh^| zY(8H<)H%R+yv;G(v)Y{4*}Jrw%y#DYRKG6l5$?NIB{GFdgzAL`+=YpYy)M9az{(tP z=C@G_T1_$MUdLdYh43*Ce!PfDXar3Xgz!HF}@*y z@<12@zlgl?b>&fbwmoq@x8>iA0k^yBN2{7X_;Gw+6vv1^iEyjgQOvm_ie1I=k5wmJ zxj5(QN|TtbRE#o&4i@>&#|w=K?#Sh0GXFd-B1bfRBcth?D3m2sD%5g6QZ~cQZ+^lf z^b6#^-PrYE-59K@9}4H~#w;^@4Y)db{k_@t!ml%@VIzC!QNU_i58C6)Ih=dJ-nbtS zMU(IQ=`J@=fgW2KQbD*x7#z2M-)FYPV!2l=@vMly&FaYz_(_b@FA>N0WW*eyN}(nY z=7Cu{T{SQCXKQ=yi+#vf`kt%t7u)93z_28CvjxbkndGcGqpS1gbX+6Q{ diff --git a/.gradle/6.0/fileHashes/fileHashes.lock b/.gradle/6.0/fileHashes/fileHashes.lock index cfc21c596073f7320b1f777a991426b702b5f64a..87c186a7746ced58e2c576ce5160836fce0c9afc 100644 GIT binary patch literal 38 qcmZRUe|qqkkB~nT0~lOh$jrbn`^c%yithvC_4yfCj1A3=7#INC#0p>l literal 17 VcmZRUe|qqkkB~nT0~nlY2LLV91djj! diff --git a/.gradle/6.0/javaCompile/classAnalysis.bin b/.gradle/6.0/javaCompile/classAnalysis.bin index fab70e53d7e100f5cde460642bba39c187d0aa03..7e5c63ffae6642953151322cbc4dbba9258847e5 100644 GIT binary patch delta 229 zcmZ4VtNM9EO+yP~3sVbo3rh=Y3tJ0&3r7p*7B1Bk#^~*8DO`!7{Mq}jwLeqc%K!p$ zf0ee^RdOkFGtO+^)xrhD+(66&#JoVv2gLk9EC9rUKr95r!aytn#G*hf2E^h(ECIxl zKr98s(m*T&#IoCWwa8^u@ES8PFxvpJ2?$T07$mI13bI&m`o@j29@}j~goPNVJ37e8 wOn;p!$2pzph_KppnWeJ)Qw@Zrrq2l#)}H=3L{5Bq;|d|=>90bCZ!Zz}Rh8lfrlA4P@r}pN2^RRJf@~W&|Qna!RIp%~@&N%0SORl)4W5f-&+%e{! L2OfQ^)Ajxbo*+6C diff --git a/.gradle/6.0/javaCompile/javaCompile.lock b/.gradle/6.0/javaCompile/javaCompile.lock index c59cc1618f6aaa75b3254631852b61385b18534e..b25e6f6f7184ad653363ce35bd4495444842f739 100644 GIT binary patch literal 38 qcmZRUH?=mA5{Oh~00Yre%nS^(kKC8ow};hVN{4~P*wEaFfdK%BjR%YX literal 17 UcmZRUH?=mA5{Oh~00YtE020jtO8@`> diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock index 8ddbb0cc03500747e0f5f5d950be34cb451b4107..9ac50e84c4e15042eed57a4c2ef7ec5091ff16e0 100644 GIT binary patch literal 38 pcmZR6D;XS8_%!Jb0|b;YGce3P^2=ZYV^+WkUj`OqLvter1_0v03YY)@ literal 17 UcmZR6D;XS8_%!Jb0|XQT05p9Bwg3PC diff --git a/src/main/java/net/minecraft/client/Minecraft.java b/src/main/java/net/minecraft/client/Minecraft.java index a641b7a7..d9068cbc 100644 --- a/src/main/java/net/minecraft/client/Minecraft.java +++ b/src/main/java/net/minecraft/client/Minecraft.java @@ -1,6 +1,13 @@ package net.minecraft.client; -import static net.lax1dude.eaglercraft.v1_8.opengl.RealOpenGLEnums.*; +import static net.lax1dude.eaglercraft.v1_8.opengl.RealOpenGLEnums.GL_BACK; +import static net.lax1dude.eaglercraft.v1_8.opengl.RealOpenGLEnums.GL_COLOR_BUFFER_BIT; +import static net.lax1dude.eaglercraft.v1_8.opengl.RealOpenGLEnums.GL_DEPTH_BUFFER_BIT; +import static net.lax1dude.eaglercraft.v1_8.opengl.RealOpenGLEnums.GL_GREATER; +import static net.lax1dude.eaglercraft.v1_8.opengl.RealOpenGLEnums.GL_LEQUAL; +import static net.lax1dude.eaglercraft.v1_8.opengl.RealOpenGLEnums.GL_MODELVIEW; +import static net.lax1dude.eaglercraft.v1_8.opengl.RealOpenGLEnums.GL_PROJECTION; +import static net.lax1dude.eaglercraft.v1_8.opengl.RealOpenGLEnums.GL_SMOOTH; import java.io.IOException; import java.io.InputStream; @@ -16,7 +23,9 @@ import org.apache.commons.lang3.Validate; import com.google.common.collect.Lists; import dev.resent.Resent; +import dev.resent.event.impl.EventKey; import dev.resent.ui.mods.ClickGUI; +import dev.resent.util.misc.W; import net.lax1dude.eaglercraft.v1_8.Display; import net.lax1dude.eaglercraft.v1_8.EagRuntime; import net.lax1dude.eaglercraft.v1_8.HString; @@ -25,7 +34,6 @@ import net.lax1dude.eaglercraft.v1_8.Keyboard; import net.lax1dude.eaglercraft.v1_8.Mouse; import net.lax1dude.eaglercraft.v1_8.futures.Executors; import net.lax1dude.eaglercraft.v1_8.futures.FutureTask; -import net.lax1dude.eaglercraft.v1_8.futures.Futures; import net.lax1dude.eaglercraft.v1_8.futures.ListenableFuture; import net.lax1dude.eaglercraft.v1_8.futures.ListenableFutureTask; import net.lax1dude.eaglercraft.v1_8.internal.EnumPlatformType; @@ -106,7 +114,6 @@ import net.minecraft.client.resources.data.TextureMetadataSectionSerializer; import net.minecraft.client.resources.model.ModelManager; import net.minecraft.client.settings.GameSettings; import net.minecraft.client.settings.KeyBinding; -import net.minecraft.client.stream.IStream; import net.minecraft.crash.CrashReport; import net.minecraft.crash.CrashReportCategory; import net.minecraft.entity.Entity; @@ -1322,6 +1329,9 @@ public class Minecraft implements IThreadListener { KeyBinding.onTick(k); } + EventKey event = new EventKey(k); + Resent.INSTANCE.events().post(event); + if (this.debugCrashKeyPressTime > 0L) { if (getSystemTime() - this.debugCrashKeyPressTime >= 6000L) { throw new ReportedException(new CrashReport("Manually triggered debug crash", new Throwable())); @@ -1343,6 +1353,11 @@ public class Minecraft implements IThreadListener { if (this.currentScreen != null) { this.currentScreen.handleKeyboardInput(); } else { + + Resent.INSTANCE.modManager.onKey(Keyboard.getEventKey()); + if(Keyboard.getEventKey() == this.gameSettings.keyBindFreelook.keyCode) + W.freelook().smh(); + if (k == 1 || (k > -1 && k == this.gameSettings.keyBindClose.getKeyCode())) { this.displayInGameMenu(); } @@ -2116,6 +2131,6 @@ public class Minecraft implements IThreadListener { * Used in the usage snooper. */ public static int getGLMaximumTextureSize() { - return EaglercraftGPU.glGetInteger(GL_MAX_TEXTURE_SIZE); + return EaglercraftGPU.glGetInteger(3379); } } \ No newline at end of file diff --git a/src/main/java/net/minecraft/client/renderer/EntityRenderer.java b/src/main/java/net/minecraft/client/renderer/EntityRenderer.java index aba362a6..fdcb9c67 100644 --- a/src/main/java/net/minecraft/client/renderer/EntityRenderer.java +++ b/src/main/java/net/minecraft/client/renderer/EntityRenderer.java @@ -11,6 +11,8 @@ import java.util.concurrent.Callable; import com.google.common.base.Predicate; import com.google.common.base.Predicates; +import dev.resent.Resent; +import dev.resent.module.base.ModManager; import net.lax1dude.eaglercraft.v1_8.Display; import net.lax1dude.eaglercraft.v1_8.Mouse; import net.lax1dude.eaglercraft.v1_8.log4j.LogManager; @@ -484,11 +486,11 @@ public class EntityRenderer implements IResourceManagerReloadListener { } GlStateManager.rotate( - entity.prevRotationYaw + (entity.rotationYaw - entity.prevRotationYaw) * partialTicks + 180.0F, - 0.0F, -1.0F, 0.0F); + ModManager.freelook.getCameraYaw() + (ModManager.freelook.getCameraYaw() - ModManager.freelook.getCameraYaw()) * partialTicks + 180.0F, + 0.0F, -1.0F, 0.0F); GlStateManager.rotate( - entity.prevRotationPitch + (entity.rotationPitch - entity.prevRotationPitch) * partialTicks, - -1.0F, 0.0F, 0.0F); + ModManager.freelook.getCameraPitch() + (ModManager.freelook.getCameraPitch() - ModManager.freelook.getCameraPitch()) * partialTicks, + -1.0F, 0.0F, 0.0F); } } else if (this.mc.gameSettings.thirdPersonView > 0) { double d3 = (double) (this.thirdPersonDistanceTemp @@ -496,8 +498,8 @@ public class EntityRenderer implements IResourceManagerReloadListener { if (this.mc.gameSettings.debugCamEnable) { GlStateManager.translate(0.0F, 0.0F, (float) (-d3)); } else { - float f1 = entity.rotationYaw; - float f2 = entity.rotationPitch; + float f1 = ModManager.freelook.getCameraYaw(); + float f2 = ModManager.freelook.getCameraPitch(); if (this.mc.gameSettings.thirdPersonView == 2) { f2 += 180.0F; } @@ -530,11 +532,11 @@ public class EntityRenderer implements IResourceManagerReloadListener { GlStateManager.rotate(180.0F, 0.0F, 1.0F, 0.0F); } - GlStateManager.rotate(entity.rotationPitch - f2, 1.0F, 0.0F, 0.0F); - GlStateManager.rotate(entity.rotationYaw - f1, 0.0F, 1.0F, 0.0F); + GlStateManager.rotate(ModManager.freelook.getCameraPitch() - f2, 1.0F, 0.0F, 0.0F); + GlStateManager.rotate(ModManager.freelook.getCameraYaw() - f1, 0.0F, 1.0F, 0.0F); GlStateManager.translate(0.0F, 0.0F, (float) (-d3)); - GlStateManager.rotate(f1 - entity.rotationYaw, 0.0F, 1.0F, 0.0F); - GlStateManager.rotate(f2 - entity.rotationPitch, 1.0F, 0.0F, 0.0F); + GlStateManager.rotate(f1 - ModManager.freelook.getCameraYaw(), 0.0F, 1.0F, 0.0F); + GlStateManager.rotate(f2 - ModManager.freelook.getCameraPitch(), 1.0F, 0.0F, 0.0F); } } else { GlStateManager.translate(0.0F, 0.0F, -0.1F); @@ -542,7 +544,7 @@ public class EntityRenderer implements IResourceManagerReloadListener { if (!this.mc.gameSettings.debugCamEnable) { GlStateManager.rotate( - entity.prevRotationPitch + (entity.rotationPitch - entity.prevRotationPitch) * partialTicks, 1.0F, + ModManager.freelook.getCameraPitch() + (ModManager.freelook.getCameraPitch() - ModManager.freelook.getCameraPitch()) * partialTicks, 1.0F, 0.0F, 0.0F); if (entity instanceof EntityAnimal) { EntityAnimal entityanimal = (EntityAnimal) entity; @@ -551,7 +553,7 @@ public class EntityRenderer implements IResourceManagerReloadListener { 0.0F, 1.0F, 0.0F); } else { GlStateManager.rotate( - entity.prevRotationYaw + (entity.rotationYaw - entity.prevRotationYaw) * partialTicks + 180.0F, + ModManager.freelook.getCameraYaw() + (ModManager.freelook.getCameraYaw() - ModManager.freelook.getCameraYaw()) * partialTicks + 180.0F, 0.0F, 1.0F, 0.0F); } } @@ -590,7 +592,7 @@ public class EntityRenderer implements IResourceManagerReloadListener { } this.hurtCameraEffect(partialTicks); - if (this.mc.gameSettings.viewBobbing) { + if (this.mc.gameSettings.viewBobbing && !Resent.INSTANCE.modManager.minimalViewBobbing.isEnabled()) { this.setupViewBobbing(partialTicks); } @@ -653,7 +655,7 @@ public class EntityRenderer implements IResourceManagerReloadListener { GlStateManager.pushMatrix(); this.hurtCameraEffect(partialTicks); - if (this.mc.gameSettings.viewBobbing) { + if (this.mc.gameSettings.viewBobbing || Resent.INSTANCE.modManager.minimalViewBobbing.isEnabled()) { this.setupViewBobbing(partialTicks); } @@ -672,7 +674,7 @@ public class EntityRenderer implements IResourceManagerReloadListener { this.hurtCameraEffect(partialTicks); } - if (this.mc.gameSettings.viewBobbing) { + if (this.mc.gameSettings.viewBobbing || Resent.INSTANCE.modManager.minimalViewBobbing.isEnabled()) { this.setupViewBobbing(partialTicks); } @@ -854,7 +856,7 @@ public class EntityRenderer implements IResourceManagerReloadListener { this.mc.mcProfiler.startSection("mouse"); - if (this.mc.inGameHasFocus && flag) { + if (this.mc.inGameHasFocus && flag && ModManager.freelook.overriderMouse()) { this.mc.mouseHelper.mouseXYChange(); float f = this.mc.gameSettings.mouseSensitivity * 0.6F + 0.2F; if (this.mc.gameSettings.keyBindZoomCamera.isKeyDown()) { diff --git a/src/main/java/net/minecraft/client/settings/GameSettings.java b/src/main/java/net/minecraft/client/settings/GameSettings.java index d2f8f0fe..5235f3ed 100644 --- a/src/main/java/net/minecraft/client/settings/GameSettings.java +++ b/src/main/java/net/minecraft/client/settings/GameSettings.java @@ -166,6 +166,7 @@ public class GameSettings { public KeyBinding keyBindFunction = new KeyBinding("key.function", KeyboardConstants.KEY_F, "key.categories.misc"); public KeyBinding keyBindClose = new KeyBinding("key.close", KeyboardConstants.KEY_GRAVE, "key.categories.misc"); public KeyBinding keyBindClickGui = new KeyBinding("Click Gui", KeyboardConstants.KEY_RSHIFT, "Resent"); + public KeyBinding keyBindFreelook = new KeyBinding("Freelook", KeyboardConstants.KEY_L, "Resent"); public KeyBinding[] keyBindsHotbar = new KeyBinding[] { new KeyBinding("key.hotbar.1", 2, "key.categories.inventory"), new KeyBinding("key.hotbar.2", 3, "key.categories.inventory"),