Skip to content

Releases: Hackatoan/swordblock

v1.0.1 - First-person fixes

Choose a tag to compare

@Hackatoan Hackatoan released this 09 May 22:46

Changes

  • Fixed raised left arm: The left arm in first-person view no longer appears when a shield is in the off-hand
  • Added sword guard position: When holding right-click with a sword, the sword moves into a blocking/guard position in first-person view (uses the same arm transform as vanilla's BLOCK animation)
  • First-person only: All visual changes are now strictly first-person; no longer affects third-person appearance of the player
  • Removed third-person changes: Deleted the arm pose and shield layer mixins that were affecting third-person rendering

Installation

Drop swordblock-1.0.1.jar into your mods folder. Requires Minecraft 26.1.2 + Fabric Loader ≥0.19.2 + Fabric API.

SwordBlock 1.0.0

Choose a tag to compare

@Hackatoan Hackatoan released this 09 May 22:09

SwordBlock 1.0.0

Minecraft: 26.1.2
Loader: Fabric 0.19.2+
Side: Client-only

What it does

  • Hides the shield everywhere (first-person and third-person, for all players/entities)
  • Blocking arm pose: Hold right-click with any sword in your main hand and your arm raises into a blocking guard position — cosmetic only, no actual damage reduction

How it works

Three small mixins, zero gameplay changes:

  1. MixinAvatarRenderer — sets rightArmPose = BLOCK in the render state when sword-blocking
  2. MixinItemInHandLayer — cancels third-person shield rendering
  3. MixinItemInHandRenderer — cancels first-person off-hand shield rendering