plasmid icon indicating copy to clipboard operation
plasmid copied to clipboard

Add sword blocking to old combat

Open haykam821 opened this issue 11 months ago • 1 comments

This pull request will be part of a series of changes to expand the old combat systems to bring it further in line with Minecraft 1.8.9's combat system. As part of this pull request, old combat will now add blocking to swords, with the following behaviors:

  • Blocks half damage in addition to a base of 0.5
  • Does not damage the sword when blocking
  • Blocks immediately, as opposed to after 0.25 seconds
  • Plays damage sounds as opposed to shield sounds

The plasmid:old_combat data component type introduced as part of this pull request should be considered an implementation detail. Games should not expect to persist this component as its format may change in the future.

haykam821 avatar Jan 28 '25 05:01 haykam821

I believe this is now entirely do-able with vanilla components.

Hugman76 avatar Jul 24 '25 13:07 Hugman76