Skip to content

Commit 98daf85

Browse files
committed
merge fixes
1 parent 2a15d7f commit 98daf85

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

common/src/main/java/com/lambda/mixin/entity/ClientPlayerEntityMixin.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,15 @@
2525
import com.lambda.interaction.PlayerPacketManager;
2626
import com.lambda.interaction.request.rotation.RotationManager;
2727
import com.lambda.module.modules.player.PortalGui;
28+
import com.lambda.module.modules.render.ViewModel;
2829
import net.minecraft.client.MinecraftClient;
29-
import net.minecraft.client.gui.screen.DeathScreen;
3030
import net.minecraft.client.gui.screen.Screen;
31-
import net.minecraft.client.gui.screen.ingame.HandledScreen;
32-
import com.lambda.interaction.RotationManager;
33-
import com.lambda.module.modules.render.ViewModel;
3431
import net.minecraft.client.input.Input;
3532
import net.minecraft.client.network.AbstractClientPlayerEntity;
3633
import net.minecraft.client.network.ClientPlayerEntity;
3734
import net.minecraft.entity.MovementType;
3835
import net.minecraft.entity.damage.DamageSource;
3936
import net.minecraft.util.Hand;
40-
import net.minecraft.util.Hand;
4137
import net.minecraft.util.math.Vec3d;
4238
import org.spongepowered.asm.mixin.Final;
4339
import org.spongepowered.asm.mixin.Mixin;

common/src/main/kotlin/com/lambda/module/modules/render/ViewModel.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,23 @@ object ViewModel : Module(
2929
val swapAnimation by setting("Swap Animation", true, "If disabled, it removes the drop down animation when swapping item", visibility = { page == Page.General })
3030
val shadow by setting("Shadows", true, "If disabled, it removes shadows on the model", visibility = { page == Page.General })
3131

32-
private val linkedScale by setting("Linked", true, "Links both hands scale settings", visibility = { page == Page.Scale })
32+
private val linkedScale by setting("Linked Scale", true, "Links both hands scale settings", visibility = { page == Page.Scale })
3333
private val leftXScale by setting("Left X Scale", 1.0f, -1.0f..1.0f, 0.025f, visibility = { page == Page.Scale }).apply { onValueChange { _, to -> if (linkedScale) rightXScale = to } }
3434
private val leftYScale by setting("Left Y Scale", 1.0f, -1.0f..1.0f, 0.025f, visibility = { page == Page.Scale }).apply { onValueChange { _, to -> if (linkedScale) rightYScale = to } }
3535
private val leftZScale by setting("Left Z Scale", 1.0f, -1.0f..1.0f, 0.025f, visibility = { page == Page.Scale }).apply { onValueChange { _, to -> if (linkedScale) rightZScale = to } }
3636
private var rightXScale by setting("Right X Scale", 0.0f, -1.0f..1.0f, 0.025f, visibility = { page == Page.Scale && !linkedScale })
3737
private var rightYScale by setting("Right Y Scale", 0.0f, -1.0f..1.0f, 0.025f, visibility = { page == Page.Scale && !linkedScale })
3838
private var rightZScale by setting("Right Z Scale", 0.0f, -1.0f..1.0f, 0.025f, visibility = { page == Page.Scale && !linkedScale })
3939

40-
private val linkedPosition by setting("Linked", true, "Links both hands position settings", visibility = { page == Page.Position })
40+
private val linkedPosition by setting("Linked Position", true, "Links both hands position settings", visibility = { page == Page.Position })
4141
private val leftXPosition by setting("Left X Position", 0.0f, -1.0f..1.0f, 0.025f, visibility = { page == Page.Position }).apply { onValueChange { _, to -> if (linkedPosition) rightXPosition = to } }
4242
private val leftYPosition by setting("Left Y Position", 0.0f, -1.0f..1.0f, 0.025f, visibility = { page == Page.Position }).apply { onValueChange { _, to -> if (linkedPosition) rightYPosition = to } }
4343
private val leftZPosition by setting("Left Z Position", 0.0f, -1.0f..1.0f, 0.025f, visibility = { page == Page.Position }).apply { onValueChange { _, to -> if (linkedPosition) rightZPosition = to } }
4444
private var rightXPosition by setting("Right X Position", 0.0f, -1.0f..1.0f, 0.025f, visibility = { page == Page.Position && !linkedPosition })
4545
private var rightYPosition by setting("Right Y Position", 0.0f, -1.0f..1.0f, 0.025f, visibility = { page == Page.Position && !linkedPosition })
4646
private var rightZPosition by setting("Right Z Position", 0.0f, -1.0f..1.0f, 0.025f, visibility = { page == Page.Position && !linkedPosition })
4747

48-
private val linkedRotation by setting("Linked", true, "Links both hands rotation settings", visibility = { page == Page.Rotation })
48+
private val linkedRotation by setting("Linked Rotation", true, "Links both hands rotation settings", visibility = { page == Page.Rotation })
4949
private val leftXRotation by setting("Left X Rotation", 0, -180..180, 1, visibility = { page == Page.Rotation }).apply { onValueChange { _, to -> if (linkedRotation) rightXRotation = to } }
5050
private val leftYRotation by setting("Left Y Rotation", 0, -180..180, 1, visibility = { page == Page.Rotation }).apply { onValueChange { _, to -> if (linkedRotation) rightYRotation = to } }
5151
private val leftZRotation by setting("Left Z Rotation", 0, -180..180, 1, visibility = { page == Page.Rotation }).apply { onValueChange { _, to -> if (linkedRotation) rightZRotation = to } }

0 commit comments

Comments
 (0)