When using a spyglass while standing, movement is slowed dramatically, however, when I got on a mule and zoomed in using the spyglass, I could still "gallop" at full speed.
Expected Result
I would slow down while using the spyglass
Attachments
Comments 4
Can confirm in 1.18.2 and 22w16b. Here's a code analysis of this issue.
Code Analysis:
The following is based on a decompiled version of Minecraft 1.18.2 using MCP-Reborn.
net.minecraft.client.player.LocalPlayer.java
public class LocalPlayer extends AbstractClientPlayer {
...
public void aiStep() {
...
if (this.isUsingItem() && !this.isPassenger()) {
this.input.leftImpulse *= 0.2F;
this.input.forwardImpulse *= 0.2F;
this.sprintTriggerTime = 0;
}
...If we look at the above class, we can see that the code specifically checks to see whether or not the player is a passenger before reducing their movement speed as a result of them using an item. This is evident through the following line of code:
if (this.isUsingItem() && !this.isPassenger())This means that if the player is using an item and is a passenger, their movement speed is not reduced.
Thank you for your report!
After consideration, the issue is being closed as Working as Intended.
Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.
Full Version History – Snapshot Version History – The official Minecraft feedback site
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
I can confirm. This can also be seen when eating food, charging a bow, blocking with a shield, etc... I believe this is intentional, however, that is not my call to make.