Package io.github.djtpj.trait.traits
Class MaxHealthModifier
java.lang.Object
io.github.djtpj.trait.Trait
io.github.djtpj.trait.SimpleTrait
io.github.djtpj.trait.traits.MaxHealthModifier
- All Implemented Interfaces:
org.bukkit.event.Listener
MaxHealthModifier sets a player's max health to a specified value.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.github.djtpj.trait.Trait
Trait.Type
-
Field Summary
FieldsFields inherited from class io.github.djtpj.trait.Trait
icon, playerTraitMap, type
-
Constructor Summary
ConstructorsConstructorDescriptionMaxHealthModifier
(ItemIcon icon, Trait.Type type, Double newHealth) MaxHealthModifier
(String name, String description, org.bukkit.ChatColor color, org.bukkit.Material material, Trait.Type type, Double newHealth) -
Method Summary
-
Field Details
-
ID
- See Also:
-
-
Constructor Details
-
MaxHealthModifier
public MaxHealthModifier(String name, String description, org.bukkit.ChatColor color, org.bukkit.Material material, Trait.Type type, Double newHealth) -
MaxHealthModifier
-
-
Method Details