Heart Canisters: Difference between revisions

Jump to navigation Jump to search
Modified wording and clarified features
m (→‎History: Correct "datapack" to "data pack" where applicable.)
(Modified wording and clarified features)
Line 1: Line 1:
{{ModuleInfobox|name=Heart Canisters|icon=heart_canisters.png|versions=1.13|type=Reliant|requires=[[Custom Crafters]]|creator=Sparks and SpiderRobotMan|updater=SpecialBuilder32 and Misode}}
{{ModuleInfobox|name=Heart Canisters|icon=heart_canisters.png|versions=1.14|type=Reliant|requires=[[Custom Crafters]]|creator=Sparks and SpiderRobotMan|updater=SpecialBuilder32 and Misode}}
This module adds craftable canisters that increase your health.
This module adds craftable "heart canisters" that increase a player's health.


== Details ==
== Features ==
A heart canister will add 2 hearts to the player's health when carried in their inventory. There are two tiers of canister, and up to five of each can be stacked in your inventory for a total of 20 extra hearts. Tier two canisters will only affect the player's health if there is already 5 tier 1 canisters in their inventory.
Heart Canisters are a custom item, craftable using a [[Custom Crafters|Custom Crafter]], that increase the number of hearts a player has. Each heart canister in a player's inventory increases their maximum health by 2 hearts, up to a maximum of 20 additional hearts.


=== Technical Summary ===
There are two tiers of heart canisters, and five of each are required for the maximum additional health. Tier 2 heart canisters require five tier 1 canisters also in the inventory to function. Heart canisters of the same type must be in the same inventory slot to provide the proper amount of health.  
Canister textures by [https://www.youtube.com/user/JonpotTeDragonSlayer Jonpot]


If there is a stack of over 5 canisters, the effects will not work. Removing or adding a canister to a stack in the player's inventory will cause their health to go back to the original 10 hearts, and they will need to regenerate the extra hearts. Placing and breaking a heart canister will not lose its effects.
The heart canister item may be placed into the world as a block, and then broken again without losing it's health giving abilities.


=== Recipes ===
=== Recipes ===
Line 29: Line 28:
|[[File:Heart canisters t2 recipe.png]]
|[[File:Heart canisters t2 recipe.png]]
|}
|}
=== Technical Details ===
Heart Canister textures were created by [https://www.youtube.com/user/JonpotTeDragonSlayer Jonpot]
Due to a Minecraft [https://bugs.mojang.com/browse/MC-25088 bug] with the health boost status effect, removing or adding a canister to a stack in the player's inventory will cause their health to go back to the original 10 hearts, and they will need to regenerate the extra hearts.
It is possible to pickup the player_head item after placing and breaking it faster than the code reapplying custom data to the item. This causes the item to have no custom name, and not give any extra health. Throwing the item on the ground for a several seconds will correct this issue.


=== Advancements ===
=== Advancements ===
Line 51: Line 57:


== Learn More and Download ==
== Learn More and Download ==
{{YouTube|url=https://youtu.be/JEZoynWgSHg}} {{Download|url=https://gm4.co/modules/heart-canisters}}
{{YouTube|url=https://youtu.be/zjmL6rjoq0g}}
 
{{Download|url=https://gm4.co/modules/heart-canisters}}


== History ==
== History ==
Line 60: Line 68:
!Change
!Change
|-
|-
|rowspan=2 | 1.8
| rowspan="2" | 1.8
|21 Feb 2015
|21 Feb 2015
|Released Heart Canisters
|Released Heart Canisters
Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
101

edits

Navigation menu