Skip to content

Conversation

@grycatt
Copy link

@grycatt grycatt commented May 11, 2025

I’m completely new to Minecraft modding and mostly figured this out by working through it with ChatGPT, wouldn’t have made it this far without it. Let me know if anything is off, I've tried to keep it as clean and stable as I know how.

The compiled .jar is included here for convenience:
no-shield-delay-1.0.3.zip

Changes:

  • Moved the mixin from LivingEntity to BlocksAttacksComponent, since that’s where the shield delay logic now lives
  • Used an access widener + @Mutable to modify the blockDelaySeconds field
  • Updated the config handling to safely read the RaiseTime TOML value as numbers → float, fixing a ClassCastException when reading older configs
  • Bumped Minecraft, Loom, mappings, and loader to latest for 1.21.5

Should fix #12 and #14

- Migrate mixin from LivingEntity to BlocksAttacksComponent for 1.21.5 compatibility
- Shadow & @mutable blockDelaySeconds field with AccessWidener
- Update ModConfig to safely read TOML values as Number → float (avoid Double → String/ClassCastException)
- Bump Loom, mappings, Fabric API, and loader versions for 1.21.5 support
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.

No longer works as of 25w04a (Mixin conflict)

1 participant