Skip to content

Draft: Add config option to allow block animation without shield#31

Draft
lrockreal wants to merge 1 commit intoTeamMidnightDust:multiversionfrom
lrockreal:feat/block-without-shield
Draft

Draft: Add config option to allow block animation without shield#31
lrockreal wants to merge 1 commit intoTeamMidnightDust:multiversionfrom
lrockreal:feat/block-without-shield

Conversation

@lrockreal
Copy link

Would close #30

Needs:

  • general review
  • verification of functionality (I only tested on 1.21.8 Fabric)
  • Russian translations

@lrockreal lrockreal force-pushed the feat/block-without-shield branch from cd6a48a to b6a8576 Compare January 11, 2026 15:54
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will need russian translations for the config option and tooltip

Copy link
Author

@lrockreal lrockreal Jan 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Slightly rearranged to avoid repeat computation while adding no-shield logic

@lrockreal lrockreal force-pushed the feat/block-without-shield branch from b6a8576 to b526141 Compare January 11, 2026 15:58
@lrockreal lrockreal force-pushed the feat/block-without-shield branch from b526141 to 5f51084 Compare January 11, 2026 16:14
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With requireShield disabled, any hand with a sword plays the block animation. May want to turn into another config option.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment on MixinHumanoidModel.java

@lrockreal lrockreal marked this pull request as draft January 11, 2026 16:38
@lrockreal
Copy link
Author

Change runs deeper than I thought unfortunately. Without a shield in your offhand there is no item to trigger the use action hook. Leaving as a draft in case anyone wants to pick up where I'm leaving off

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setting to allow block animation without shield

1 participant