Commit Graph

6 Commits

Author SHA1 Message Date
ddb6545d73 Use expanded bounding box for target selection
Replace predictive distance logic with a simpler bounding-box expansion when searching for nearby LivingEntity targets. The predictDistance method and unused imports (PlayerEntity, Box, Vec3d) were removed; getEntitiesByClass now uses client.player.getBoundingBox().expand(client.player.getAttributeValue(EntityAttributes.ENTITY_INTERACTION_RANGE) + client.player.getVelocity().length()) and a simpler predicate (exclude self). This simplifies target acquisition and avoids the previous predictive calculation.
2026-02-17 02:05:25 +01:00
98af11f893 Add predictive targeting and adjust combat flow
Introduce predictive targeting based on entity eye positions and relative velocity (predictDistance) and change entity query to use a Box around the player's eye position and the prediction check. Rework combat item handling: ensure axe-block breaking logic checks axe availability first, perform mace attack before equipping Elytra, and only equip Elytra if present. Add necessary imports and small refactors for readability.
2026-02-17 01:41:31 +01:00
e1037422c5 chestplate swapping 2026-02-16 23:46:55 +01:00
131978a020 automatic target selection 2026-02-16 16:36:56 +01:00
cf7adf9953 awesome elytra macing 2026-02-16 15:23:33 +01:00
45eb6e081b Initial project setup for ElytraMace mod
Add Gradle build files, MIT license, and .gitignore. Implement ElytraMace client mod with keybindings for target selection and attack, including mixin for entity glowing effect. Register mod metadata and mixins configuration for Fabric loader.
2026-01-05 04:30:36 +01:00