Class TurretEffectFactory
java.lang.Object
org.kingdoms.managers.buildings.turrets.TurretEffectFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyEffects(org.bukkit.Location impactLocation, KingdomBuilding<?> building) List<org.kingdoms.data.Pair<org.kingdoms.constants.land.turrets.effects.TurretEffect, MessagePlaceholderProvider>> static voidhandleEntity(KingdomBuilding<?> building, org.bukkit.entity.Entity projectile) voidparseEffects(Collection<org.bukkit.potion.PotionEffect> effectsList, MessagePlaceholderProvider context, ConfigSection entityFactor) parseEffects(MessagePlaceholderProvider context, ConfigSection section)
-
Constructor Details
-
TurretEffectFactory
public TurretEffectFactory()
-
-
Method Details
-
handleEntity
-
parseEffects
public void parseEffects(Collection<org.bukkit.potion.PotionEffect> effectsList, MessagePlaceholderProvider context, ConfigSection entityFactor) -
parseEffects
-
applyEffects
-
getEffects
public List<org.kingdoms.data.Pair<org.kingdoms.constants.land.turrets.effects.TurretEffect,MessagePlaceholderProvider>> getEffects()
-