Skip to content

Fix on_ground condition parsing, make blocks optional, add distanceFr…#28

Open
DMariusM wants to merge 3 commits intoWeaponMechanics:masterfrom
DMariusM:master
Open

Fix on_ground condition parsing, make blocks optional, add distanceFr…#28
DMariusM wants to merge 3 commits intoWeaponMechanics:masterfrom
DMariusM:master

Conversation

@DMariusM
Copy link
Member

  • blocks is now optional
    • if the blocks list is empty, than the condition matches any block
  • added an optional argument called distanceFromGround (default value is 0.01) that checks slightly below the feet to validate the blocks list

…omGround

- blocks is now optional
  - if the blocks list is empty, than the condition matches any block
- added an optional argument called distanceFromGround (default value is 0.01) that checks slightly below the feet to validate the blocks list
Copy link
Member

@CJCrafter CJCrafter left a comment

Choose a reason for hiding this comment

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

Minor changes, but looks good :)

 - NBT not being set in ItemSerializer.java
 - equipment change detection on 1.21.5+ where effects were not being removed properly
Changes:
 - to prevent NBT_Persistent crash on AIR/meta-less
Added:
 - ARGB 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.

2 participants