Skip to content

0.5.2

Choose a tag to compare

@matthewperiut matthewperiut released this 02 Nov 18:56
· 38 commits to master since this release

Implementation of Extra Hearts

Developer Usage:

import com.matthewperiut.accessoryapi.api.PlayerExtraHP;

...

// Try to keep extra hp in twos, doesn't render half hearts
int addHalfHearts = 2;
((PlayerExtraHP) player).setExtraHP(((PlayerExtraHP) player).getExtraHP() + addHalfHearts);