mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
Implement the three Phase 0 prerequisites for the pathfinding rewrite: - Pose system (vanilla Player.updatePlayerPose): dynamic AABB height based on current pose -- Standing (1.8), Sneaking (1.5), Swimming/Crawling (0.6). Automatically downgrades pose when headroom is insufficient (Standing -> Sneaking -> Swimming), matching vanilla 1.14+ forced-crawl behavior. - Slime block bounce (vanilla SlimeBlock.bounceUp / stepOn): reverses downward velocity on landing, with sneaking suppression via isSuppressingBounce(). Also applies the horizontal slowdown effect from SlimeBlock.stepOn when walking on slime with low vertical velocity. - Per-pose dimension constants in PhysicsConsts with eye heights for each pose, sourced from vanilla Avatar.POSES (26.1 decompiled). - Debug logging for pose transitions, slime bounces, and periodic physics state dumps routed through McClient's ILogger. Tested on a real 1.21.11 server: crawling triggers correctly under 1-block ceilings, sneaking under 1.5-block ceilings, slime bounce produces correct decaying oscillation, and pose recovery works when obstacles are removed. Made-with: Cursor |
||
|---|---|---|
| .. | ||
| ChatBots | ||
| CommandHandler | ||
| Commands | ||
| config | ||
| Crypto | ||
| Inventory | ||
| Logger | ||
| Mapping | ||
| Mcp | ||
| Physics | ||
| Properties | ||
| Protocol | ||
| Proxy | ||
| Resources | ||
| Scripting | ||
| TabList | ||
| Tui | ||
| WinAPI | ||
| Achievement.cs | ||
| AutoTimeout.cs | ||
| ClassicConsoleBackend.cs | ||
| ColorHelper.cs | ||
| Command.cs | ||
| ConsoleIO.cs | ||
| ExtensionMethods.cs | ||
| FileMonitor.cs | ||
| IConsoleBackend.cs | ||
| INIFile.cs | ||
| Json.cs | ||
| LegacyAchievementCatalog.cs | ||
| McClient.cs | ||
| MinecraftClient.csproj | ||
| Program.cs | ||
| RecipeBookRecipeEntry.cs | ||
| Settings.cs | ||
| TaskWithDelay.cs | ||
| TaskWithResult.cs | ||
| UpgradeHelper.cs | ||