Search in sources :

Example 6 with MinorPowerPowerStance

use of com.magmaguy.elitemobs.powerstances.MinorPowerPowerStance in project EliteMobs by MagmaGuy.

the class AttackBlinding method applyPowers.

@Override
public void applyPowers(Entity entity) {
    entity.setMetadata(powerMetadata, new FixedMetadataValue(plugin, true));
    MinorPowerPowerStance minorPowerPowerStance = new MinorPowerPowerStance();
    minorPowerPowerStance.itemEffect(entity);
}
Also used : FixedMetadataValue(org.bukkit.metadata.FixedMetadataValue) MinorPowerPowerStance(com.magmaguy.elitemobs.powerstances.MinorPowerPowerStance)

Example 7 with MinorPowerPowerStance

use of com.magmaguy.elitemobs.powerstances.MinorPowerPowerStance in project EliteMobs by MagmaGuy.

the class AttackPoison method applyPowers.

@Override
public void applyPowers(Entity entity) {
    entity.setMetadata(powerMetadata, new FixedMetadataValue(plugin, true));
    MinorPowerPowerStance minorPowerPowerStance = new MinorPowerPowerStance();
    minorPowerPowerStance.itemEffect(entity);
}
Also used : FixedMetadataValue(org.bukkit.metadata.FixedMetadataValue) MinorPowerPowerStance(com.magmaguy.elitemobs.powerstances.MinorPowerPowerStance)

Example 8 with MinorPowerPowerStance

use of com.magmaguy.elitemobs.powerstances.MinorPowerPowerStance in project EliteMobs by MagmaGuy.

the class AttackPush method applyPowers.

@Override
public void applyPowers(Entity entity) {
    entity.setMetadata(powerMetadata, new FixedMetadataValue(plugin, true));
    MinorPowerPowerStance minorPowerPowerStance = new MinorPowerPowerStance();
    minorPowerPowerStance.itemEffect(entity);
}
Also used : FixedMetadataValue(org.bukkit.metadata.FixedMetadataValue) MinorPowerPowerStance(com.magmaguy.elitemobs.powerstances.MinorPowerPowerStance)

Example 9 with MinorPowerPowerStance

use of com.magmaguy.elitemobs.powerstances.MinorPowerPowerStance in project EliteMobs by MagmaGuy.

the class AttackWeakness method applyPowers.

@Override
public void applyPowers(Entity entity) {
    entity.setMetadata(powerMetadata, new FixedMetadataValue(plugin, true));
    MinorPowerPowerStance minorPowerPowerStance = new MinorPowerPowerStance();
    minorPowerPowerStance.itemEffect(entity);
}
Also used : FixedMetadataValue(org.bukkit.metadata.FixedMetadataValue) MinorPowerPowerStance(com.magmaguy.elitemobs.powerstances.MinorPowerPowerStance)

Example 10 with MinorPowerPowerStance

use of com.magmaguy.elitemobs.powerstances.MinorPowerPowerStance in project EliteMobs by MagmaGuy.

the class AttackFireball method applyPowers.

@Override
public void applyPowers(Entity entity) {
    entity.setMetadata(powerMetadata, new FixedMetadataValue(plugin, true));
    MinorPowerPowerStance minorPowerPowerStance = new MinorPowerPowerStance();
    minorPowerPowerStance.itemEffect(entity);
}
Also used : FixedMetadataValue(org.bukkit.metadata.FixedMetadataValue) MinorPowerPowerStance(com.magmaguy.elitemobs.powerstances.MinorPowerPowerStance)

Aggregations

MinorPowerPowerStance (com.magmaguy.elitemobs.powerstances.MinorPowerPowerStance)23 FixedMetadataValue (org.bukkit.metadata.FixedMetadataValue)22 IronGolem (org.bukkit.entity.IronGolem)2 LivingEntity (org.bukkit.entity.LivingEntity)2 PotionEffect (org.bukkit.potion.PotionEffect)2 ChunkUnloadMetadataPurge (com.magmaguy.elitemobs.collateralminecraftchanges.ChunkUnloadMetadataPurge)1 PreventCreeperPassiveEntityDamage (com.magmaguy.elitemobs.collateralminecraftchanges.PreventCreeperPassiveEntityDamage)1 CommandHandler (com.magmaguy.elitemobs.commands.CommandHandler)1 LootGUI (com.magmaguy.elitemobs.commands.LootGUI)1 ConfigValues (com.magmaguy.elitemobs.config.ConfigValues)1 LootCustomConfig (com.magmaguy.elitemobs.config.LootCustomConfig)1 MobPowersCustomConfig (com.magmaguy.elitemobs.config.MobPowersCustomConfig)1 TranslationCustomConfig (com.magmaguy.elitemobs.config.TranslationCustomConfig)1 EliteDropsHandler (com.magmaguy.elitemobs.elitedrops.EliteDropsHandler)1 DamageHandler (com.magmaguy.elitemobs.mobcustomizer.DamageHandler)1 DropsHandler (com.magmaguy.elitemobs.mobcustomizer.DropsHandler)1 MobScanner (com.magmaguy.elitemobs.mobscanner.MobScanner)1 NaturalMobMetadataAssigner (com.magmaguy.elitemobs.naturalmobspawner.NaturalMobMetadataAssigner)1 NaturalMobSpawner (com.magmaguy.elitemobs.naturalmobspawner.NaturalMobSpawner)1 MajorPowerPowerStance (com.magmaguy.elitemobs.powerstances.MajorPowerPowerStance)1