cabaletta / cabaletta/baritone

Baritone Camera Change to Fix Block Placing

Open
#4,916 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
9.2k
Forks
2.1k
Avg merge
4d 3h
Merged PRs (30d)
3

Description

Baritone has massive problems with Free Camera mods, commands like Goal, Home, Tower, and other pure movement commands break when using Freecam, namely: Placing blocks.

I believe I have come up with a solution: Change Baritone's Camera logic from using the Player's Camera, to using the Entity Look Vector (The blue line in F3+B showing where an entity is looking), combine this with an adjustment to block placing logic to check the Player Entity's feet position (Bottom of the hitbox) and it should in theory fix the Freecam problems, as an added bonus the Come command shouldn't break as that directly references the Player Camera as the Goal. Feel free to correct me if I'm wrong or explain if this is/isn't viable. I'm open to feedback.

Thank you for reading
- Blu_wolf_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.