Compatibility
Minecraft: Java Edition
1.21
1.20
1.19
1.18
1.17
1.16
1.15
1.14
1.13
1.12
1.11
1.10
1.9
1.8
Platforms
Creators
Details
Licensed MIT
Published 2 months ago
Updated 2 months ago
❤️ InventoryHearts ❤️
Gain hearts by adding a custom item to your inventory, you can use a custom head or any item. The maximum hearts are configurable and you can enable/disable the Heart Stacking
Get extra hearts by keeping them on your inventory, if you drop them they will be removed from your health bar
Commands
- /inh give <player> <amount>
- /inh reload
(Heart stacking can be disabled)

config.yml
max-hearts: 40 # 20 = Vanilla amount / 40 = Double Hearts row
# Configuration for the heart item.
heart-item:
prevent-stack: true
# Material of the item. If you want to use a player head, set this to SKULL_ITEM and data to 3.
material: PLAYER_HEAD
name: "&c&lHeart &a+1"
lore:
- "&7This is a heart."
- "&7It gives you an extra heart."
# Optional: for player heads. Use a Base64 string from sites like https://minecraft-heads.com/
head-base64: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZWI3NmI0ZWU5ODg1NzIyOTdjYmQ4NzQ2ODNiZWU5NmFlM2M1NWNlOTRjMDA0ZTUxYWRjODJjZWUxNmNkMGIwYyJ9fX0="
messages:
prefix: "&8[&cInventoryHearts&8] "
errors:
no-permission: "&cYou don't have permission to use this command."
player-not-found: "&cPlayer not found."
invalid-amount: "&cInvalid amount."
must-be-at-least-one: "&cAmount must be at least 1."
usage: "&cUsage: /inh give <player> [amount]"
success:
give-heart: "&aYou have given {amount} heart(s) to {player}."
reload: "&aInventoryHearts configuration reloaded and all players' health updated."
help:
- "&6--- InventoryHearts Help ---"
- "&b/inh give <player> [amount] &7- Gives hearts to a player."
- "&b/inh reload &7- Reloads the configuration."



