Package io.github.djtpj.trait
Class SimpleTrait
java.lang.Object
io.github.djtpj.trait.Trait
io.github.djtpj.trait.SimpleTrait
- All Implemented Interfaces:
org.bukkit.event.Listener
- Direct Known Subclasses:
CooldownSimpleTrait
,DamageCanceller
,DamageDealtModifier
,DamageTakenModifier
,DeathMessageModifier
,DietaryRestriction
,DimensionSpawn
,InteractionBlocker
,MaxHealthModifier
,PacifyMob
,PotionImmunity
,Roost
,RunnableSimpleTrait
,SelfSustaining
,SilkyHands
An SimpleTrait is a single Trait that performs one method on a specific event
-
Nested Class Summary
Nested classes/interfaces inherited from class io.github.djtpj.trait.Trait
Trait.Type
-
Field Summary
Fields inherited from class io.github.djtpj.trait.Trait
icon, playerTraitMap, type
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
protected
SimpleTrait
(ItemIcon icon, Trait.Type type) protected
SimpleTrait
(String name, String description, org.bukkit.ChatColor color, org.bukkit.Material material, Trait.Type type) -
Method Summary
-
Constructor Details
-
SimpleTrait
protected SimpleTrait(String name, String description, org.bukkit.ChatColor color, org.bukkit.Material material, Trait.Type type) -
SimpleTrait
-
SimpleTrait
protected SimpleTrait()
-