mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-19 14:59:27 +00:00
Fix: don't lock jumping input for minecart (#5959)
* Don't lock jumping for minecart.
This commit is contained in:
@@ -210,6 +210,13 @@ public class MinecartEntity extends Entity implements Tickable {
|
||||
return Vector3f.from(0, getYaw(), 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean doesJumpDismount() {
|
||||
// This is a little bit misleading because jumping is literally the only way to dismount for Touch users.
|
||||
// Therefore, do this so we won't lock jumping to let Touch user able to dismount.
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected InteractiveTag testInteraction(Hand hand) {
|
||||
if (definition == EntityDefinitions.CHEST_MINECART || definition == EntityDefinitions.HOPPER_MINECART) {
|
||||
|
||||
Reference in New Issue
Block a user