Skip to content

0.2.0 - beta

Compare
Choose a tag to compare
@Provismet Provismet released this 06 Oct 21:19
· 14 commits to 1.20 since this release
7e5b2b3

New Features

BlendStores

A new type of data storage called BlendStores has been introduced. This exists to allow instant events such as breaking blocks, taking damage, and attacking mobs to send BlendShapes.
Converting the player's state into BlendShapes works well for data that can be read, but events work different and thus require this new system to convert them into a readable state-like object.

BlendStores also exist as a means to prevent the use of mixins. Although great, mixins and accesswideners are the main culprits of a mod being incompatible with newer/older Minecraft versions. This approach makes it easy to support all versions from 1.18.2 to 1.20+ without juggling different mod versions.

Example:

  • to react to current health register a BlendShape
  • to react to taking damage register a BlendStore

New BlendShapes/Stores

  • hotbar
  • exposed to sky
  • attack player (BlendStore)
  • attack hostile (BlendStore)
  • attack living (BlendStore)
  • damage taken (BlendStore)