mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-01-26 01:01:22 +01:00
Updated configs to 5.0
This commit is contained in:
parent
501c2545c8
commit
28daa94db0
@ -16,8 +16,8 @@ public class EcoEnchantsPlugin extends JavaPlugin {
|
||||
* Config versions for config.yml and lang.yml
|
||||
*/
|
||||
public static final HashMap<String, Double> configVersions = new HashMap<String, Double>() {{
|
||||
put("config", 4.1);
|
||||
put("lang", 4.01);
|
||||
put("config", 5.0);
|
||||
put("lang", 5.0);
|
||||
put("target", 1.0);
|
||||
}};
|
||||
|
||||
|
@ -7,7 +7,7 @@ public class CloudsArtifact extends Artifact {
|
||||
public CloudsArtifact() {
|
||||
super(
|
||||
"clouds_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.REDSTONE,
|
||||
new Particle.DustOptions(Color.AQUA, 1.0f)
|
||||
);
|
||||
|
@ -6,7 +6,7 @@ public class DamageArtifact extends Artifact {
|
||||
public DamageArtifact() {
|
||||
super(
|
||||
"damage_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.DAMAGE_INDICATOR
|
||||
);
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ public class DragonArtifact extends Artifact {
|
||||
public DragonArtifact() {
|
||||
super(
|
||||
"dragon_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.DRAGON_BREATH
|
||||
);
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ public class DustArtifact extends Artifact {
|
||||
public DustArtifact() {
|
||||
super(
|
||||
"dust_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.CRIT
|
||||
);
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ public class EmeraldArtifact extends Artifact {
|
||||
public EmeraldArtifact() {
|
||||
super(
|
||||
"emerald_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.COMPOSTER
|
||||
);
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ public class EnchantmentArtifact extends Artifact {
|
||||
public EnchantmentArtifact() {
|
||||
super(
|
||||
"enchantment_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.ENCHANTMENT_TABLE
|
||||
);
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ public class EndArtifact extends Artifact {
|
||||
public EndArtifact() {
|
||||
super(
|
||||
"end_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.END_ROD
|
||||
);
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ public class FireArtifact extends Artifact {
|
||||
public FireArtifact() {
|
||||
super(
|
||||
"fire_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.FLAME
|
||||
);
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ public class HeartArtifact extends Artifact {
|
||||
public HeartArtifact() {
|
||||
super(
|
||||
"heart_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.HEART
|
||||
);
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ public class HoneyArtifact extends Artifact {
|
||||
public HoneyArtifact() {
|
||||
super(
|
||||
"honey_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.FALLING_HONEY
|
||||
);
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ public class InkArtifact extends Artifact {
|
||||
public InkArtifact() {
|
||||
super(
|
||||
"ink_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.SQUID_INK
|
||||
);
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ public class LavaArtifact extends Artifact {
|
||||
public LavaArtifact() {
|
||||
super(
|
||||
"lava_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.DRIP_LAVA
|
||||
);
|
||||
}
|
||||
|
@ -8,7 +8,7 @@ public class LimeArtifact extends Artifact {
|
||||
public LimeArtifact() {
|
||||
super(
|
||||
"lime_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.REDSTONE,
|
||||
new Particle.DustOptions(Color.fromRGB(3, 252, 140), 1.0f)
|
||||
);
|
||||
|
@ -6,7 +6,7 @@ public class MagicArtifact extends Artifact {
|
||||
public MagicArtifact() {
|
||||
super(
|
||||
"magic_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.CRIT_MAGIC
|
||||
);
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ public class MagmaArtifact extends Artifact {
|
||||
public MagmaArtifact() {
|
||||
super(
|
||||
"magma_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.LAVA
|
||||
);
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ public class MusicArtifact extends Artifact {
|
||||
public MusicArtifact() {
|
||||
super(
|
||||
"music_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.NOTE
|
||||
);
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ public class NetherArtifact extends Artifact {
|
||||
public NetherArtifact() {
|
||||
super(
|
||||
"nether_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.PORTAL
|
||||
);
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ public class RedstoneArtifact extends Artifact {
|
||||
public RedstoneArtifact() {
|
||||
super(
|
||||
"redstone_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.REDSTONE,
|
||||
new Particle.DustOptions(Color.RED, 1.0f)
|
||||
);
|
||||
|
@ -6,7 +6,7 @@ public class SmokeArtifact extends Artifact {
|
||||
public SmokeArtifact() {
|
||||
super(
|
||||
"smoke_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.CAMPFIRE_COSY_SMOKE
|
||||
);
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ public class SnowArtifact extends Artifact {
|
||||
public SnowArtifact() {
|
||||
super(
|
||||
"snow_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.SNOWBALL
|
||||
);
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ public class SparkleArtifact extends Artifact {
|
||||
public SparkleArtifact() {
|
||||
super(
|
||||
"sparkle_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.FIREWORKS_SPARK
|
||||
);
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ public class TotemArtifact extends Artifact {
|
||||
public TotemArtifact() {
|
||||
super(
|
||||
"totem_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.TOTEM
|
||||
);
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ public class WaterArtifact extends Artifact {
|
||||
public WaterArtifact() {
|
||||
super(
|
||||
"water_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.DRIP_WATER
|
||||
);
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ public class WitchArtifact extends Artifact {
|
||||
public WitchArtifact() {
|
||||
super(
|
||||
"witch_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.SPELL_WITCH
|
||||
);
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ public class ZapArtifact extends Artifact {
|
||||
public ZapArtifact() {
|
||||
super(
|
||||
"zap_artifact",
|
||||
4.0,
|
||||
5.0,
|
||||
Particle.REDSTONE,
|
||||
new Particle.DustOptions(Color.YELLOW, 1.0f)
|
||||
);
|
||||
|
@ -11,7 +11,7 @@ import org.bukkit.event.block.BlockDamageEvent;
|
||||
public class BreaklessnessCurse extends EcoEnchant {
|
||||
public BreaklessnessCurse() {
|
||||
super(
|
||||
new EcoEnchantBuilder("breaklessness_curse", EnchantmentType.CURSE, Target.Applicable.TOOL, 4.0)
|
||||
new EcoEnchantBuilder("breaklessness_curse", EnchantmentType.CURSE, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ import org.bukkit.util.Vector;
|
||||
public class CallingCurse extends EcoEnchant implements EcoRunnable {
|
||||
public CallingCurse() {
|
||||
super(
|
||||
new EcoEnchantBuilder("calling_curse", EnchantmentType.CURSE, new Target.Applicable[]{Target.Applicable.ARMOR}, 4.0)
|
||||
new EcoEnchantBuilder("calling_curse", EnchantmentType.CURSE, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ import java.util.Arrays;
|
||||
public class DecayCurse extends EcoEnchant implements EcoRunnable {
|
||||
public DecayCurse() {
|
||||
super(
|
||||
new EcoEnchantBuilder("decay_curse", EnchantmentType.CURSE, Target.Applicable.ALL, 4.0)
|
||||
new EcoEnchantBuilder("decay_curse", EnchantmentType.CURSE, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@ import org.bukkit.inventory.ItemStack;
|
||||
public class FragilityCurse extends EcoEnchant {
|
||||
public FragilityCurse() {
|
||||
super(
|
||||
new EcoEnchantBuilder("fragility_curse", EnchantmentType.CURSE, new Target.Applicable[]{Target.Applicable.ALL}, 4.0)
|
||||
new EcoEnchantBuilder("fragility_curse", EnchantmentType.CURSE, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public class HarmlessnessCurse extends EcoEnchant {
|
||||
public HarmlessnessCurse() {
|
||||
super(
|
||||
new EcoEnchantBuilder("harmlessness_curse", EnchantmentType.CURSE, new Target.Applicable[]{Target.Applicable.SWORD, Target.Applicable.AXE}, 4.0)
|
||||
new EcoEnchantBuilder("harmlessness_curse", EnchantmentType.CURSE,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -10,7 +10,7 @@ import org.bukkit.event.entity.FoodLevelChangeEvent;
|
||||
public class HungerCurse extends EcoEnchant {
|
||||
public HungerCurse() {
|
||||
super(
|
||||
new EcoEnchantBuilder("hunger_curse", EnchantmentType.CURSE, Target.Applicable.HELMET, 4.0)
|
||||
new EcoEnchantBuilder("hunger_curse", EnchantmentType.CURSE, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ import org.bukkit.util.Vector;
|
||||
public class InaccuracyCurse extends EcoEnchant {
|
||||
public InaccuracyCurse() {
|
||||
super(
|
||||
new EcoEnchantBuilder("inaccuracy_curse", EnchantmentType.CURSE, Target.Applicable.BOW, 4.0)
|
||||
new EcoEnchantBuilder("inaccuracy_curse", EnchantmentType.CURSE,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@ import org.bukkit.event.block.BlockBreakEvent;
|
||||
public class MisfortuneCurse extends EcoEnchant {
|
||||
public MisfortuneCurse() {
|
||||
super(
|
||||
new EcoEnchantBuilder("misfortune_curse", EnchantmentType.CURSE, Target.Applicable.TOOL, 4.0)
|
||||
new EcoEnchantBuilder("misfortune_curse", EnchantmentType.CURSE,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -6,7 +6,7 @@ import com.willfp.ecoenchants.enchantments.EcoEnchantBuilder;
|
||||
public class PermanenceCurse extends EcoEnchant {
|
||||
public PermanenceCurse() {
|
||||
super(
|
||||
new EcoEnchantBuilder("permanence_curse", EnchantmentType.CURSE, Target.Applicable.ALL, 4.0)
|
||||
new EcoEnchantBuilder("permanence_curse", EnchantmentType.CURSE,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ import org.bukkit.inventory.ItemStack;
|
||||
public class Abattoir extends EcoEnchant {
|
||||
public Abattoir() {
|
||||
super(
|
||||
new EcoEnchantBuilder("abattoir", EnchantmentType.NORMAL, Target.Applicable.TRIDENT, 4.0)
|
||||
new EcoEnchantBuilder("abattoir", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,7 @@ import java.util.Arrays;
|
||||
public class Abrasion extends EcoEnchant {
|
||||
public Abrasion() {
|
||||
super(
|
||||
new EcoEnchantBuilder("abrasion", EnchantmentType.NORMAL, new Target.Applicable[]{Target.Applicable.SWORD, Target.Applicable.AXE}, 4.0)
|
||||
new EcoEnchantBuilder("abrasion", EnchantmentType.NORMAL,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,7 @@ import org.bukkit.metadata.FixedMetadataValue;
|
||||
public class Aerial extends EcoEnchant {
|
||||
public Aerial() {
|
||||
super(
|
||||
new EcoEnchantBuilder("aerial", EnchantmentType.NORMAL, new Target.Applicable[]{Target.Applicable.BOW, Target.Applicable.CROSSBOW}, 4.0)
|
||||
new EcoEnchantBuilder("aerial", EnchantmentType.NORMAL,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,7 @@ import org.bukkit.inventory.ItemStack;
|
||||
public class Aquatic extends EcoEnchant {
|
||||
public Aquatic() {
|
||||
super(
|
||||
new EcoEnchantBuilder("aquatic", EnchantmentType.NORMAL, Target.Applicable.TRIDENT, 4.0)
|
||||
new EcoEnchantBuilder("aquatic", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ import org.bukkit.inventory.ItemStack;
|
||||
public class Arachnid extends EcoEnchant {
|
||||
public Arachnid() {
|
||||
super(
|
||||
new EcoEnchantBuilder("arachnid", EnchantmentType.NORMAL, Target.Applicable.TRIDENT, 4.0)
|
||||
new EcoEnchantBuilder("arachnid", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@ import org.bukkit.event.entity.EntityDamageEvent;
|
||||
public class Arcanic extends EcoEnchant {
|
||||
public Arcanic() {
|
||||
super(
|
||||
new EcoEnchantBuilder("arcanic", EnchantmentType.NORMAL, Target.Applicable.ARMOR, 4.0)
|
||||
new EcoEnchantBuilder("arcanic", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,7 @@ import org.bukkit.metadata.FixedMetadataValue;
|
||||
public class Atmospheric extends EcoEnchant {
|
||||
public Atmospheric() {
|
||||
super(
|
||||
new EcoEnchantBuilder("atmospheric", EnchantmentType.NORMAL, Target.Applicable.TRIDENT, 4.0)
|
||||
new EcoEnchantBuilder("atmospheric", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -18,7 +18,7 @@ import org.bukkit.inventory.meta.SkullMeta;
|
||||
public class Beheading extends EcoEnchant {
|
||||
public Beheading() {
|
||||
super(
|
||||
new EcoEnchantBuilder("beheading", EnchantmentType.NORMAL, new Target.Applicable[]{Target.Applicable.SWORD, Target.Applicable.AXE}, 4.0)
|
||||
new EcoEnchantBuilder("beheading", EnchantmentType.NORMAL,5.0)
|
||||
);
|
||||
}
|
||||
// START OF LISTENERS
|
||||
|
@ -16,7 +16,7 @@ import org.bukkit.metadata.FixedMetadataValue;
|
||||
public class BlastMining extends EcoEnchant {
|
||||
public BlastMining() {
|
||||
super(
|
||||
new EcoEnchantBuilder("blast_mining", EnchantmentType.NORMAL, Target.Applicable.PICKAXE, 4.0)
|
||||
new EcoEnchantBuilder("blast_mining", EnchantmentType.NORMAL,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -18,7 +18,7 @@ import java.util.concurrent.atomic.AtomicInteger;
|
||||
public class Bleed extends EcoEnchant {
|
||||
public Bleed() {
|
||||
super(
|
||||
new EcoEnchantBuilder("bleed", EnchantmentType.NORMAL, Target.Applicable.SWORD, 4.0)
|
||||
new EcoEnchantBuilder("bleed", EnchantmentType.NORMAL,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -18,7 +18,7 @@ import org.bukkit.util.Vector;
|
||||
public class Blind extends EcoEnchant {
|
||||
public Blind() {
|
||||
super(
|
||||
new EcoEnchantBuilder("blind", EnchantmentType.NORMAL, new Target.Applicable[]{Target.Applicable.CROSSBOW, Target.Applicable.BOW}, 4.0)
|
||||
new EcoEnchantBuilder("blind", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,7 @@ import org.bukkit.event.entity.EntityDamageEvent;
|
||||
public class BlockBreather extends EcoEnchant {
|
||||
public BlockBreather() {
|
||||
super(
|
||||
new EcoEnchantBuilder("block_breather", EnchantmentType.NORMAL, Target.Applicable.HELMET, 4.0)
|
||||
new EcoEnchantBuilder("block_breather", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public class BossHunter extends EcoEnchant {
|
||||
public BossHunter() {
|
||||
super(
|
||||
new EcoEnchantBuilder("boss_hunter", EnchantmentType.NORMAL, new Target.Applicable[]{Target.Applicable.BOW, Target.Applicable.CROSSBOW}, 4.0)
|
||||
new EcoEnchantBuilder("boss_hunter", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -18,7 +18,7 @@ import org.bukkit.util.Vector;
|
||||
public class Buckshot extends EcoEnchant {
|
||||
public Buckshot() {
|
||||
super(
|
||||
new EcoEnchantBuilder("buckshot", EnchantmentType.NORMAL, Target.Applicable.BOW, 4.0)
|
||||
new EcoEnchantBuilder("buckshot", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public class Butchering extends EcoEnchant {
|
||||
public Butchering() {
|
||||
super(
|
||||
new EcoEnchantBuilder("butchering", EnchantmentType.NORMAL, new Target.Applicable[]{Target.Applicable.SWORD, Target.Applicable.AXE}, 4.0)
|
||||
new EcoEnchantBuilder("butchering", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public class Cerebral extends EcoEnchant {
|
||||
public Cerebral() {
|
||||
super(
|
||||
new EcoEnchantBuilder("cerebral", EnchantmentType.NORMAL, new Target.Applicable[]{Target.Applicable.BOW, Target.Applicable.CROSSBOW}, 4.0)
|
||||
new EcoEnchantBuilder("cerebral", EnchantmentType.NORMAL,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -10,7 +10,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public class Chopless extends EcoEnchant {
|
||||
public Chopless() {
|
||||
super(
|
||||
new EcoEnchantBuilder("chopless", EnchantmentType.NORMAL, Target.Applicable.ARMOR, 4.0)
|
||||
new EcoEnchantBuilder("chopless", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
@ -27,7 +27,7 @@ public class Chopless extends EcoEnchant {
|
||||
Player player = (Player) event.getEntity();
|
||||
Player damager = (Player) event.getDamager();
|
||||
|
||||
if(!Target.Applicable.AXE.getMaterials().contains(damager.getInventory().getItemInMainHand().getType()))
|
||||
if(!damager.getInventory().getItemInMainHand().getType().toString().endsWith("_AXE"))
|
||||
return;
|
||||
|
||||
int totalChoplessPoints = EnchantChecks.getArmorPoints(player, this, 1);
|
||||
|
@ -16,7 +16,7 @@ import org.bukkit.metadata.FixedMetadataValue;
|
||||
public class Cleave extends EcoEnchant {
|
||||
public Cleave() {
|
||||
super(
|
||||
new EcoEnchantBuilder("cleave", EnchantmentType.NORMAL, Target.Applicable.AXE, 4.0)
|
||||
new EcoEnchantBuilder("cleave", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@ import org.bukkit.event.entity.ProjectileLaunchEvent;
|
||||
public class Collateral extends EcoEnchant {
|
||||
public Collateral() {
|
||||
super(
|
||||
new EcoEnchantBuilder("collateral", EnchantmentType.NORMAL, Target.Applicable.BOW, 4.0)
|
||||
new EcoEnchantBuilder("collateral", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,7 @@ import org.bukkit.inventory.ItemStack;
|
||||
public class Conclude extends EcoEnchant {
|
||||
public Conclude() {
|
||||
super(
|
||||
new EcoEnchantBuilder("conclude", EnchantmentType.NORMAL, Target.Applicable.TRIDENT, 4.1)
|
||||
new EcoEnchantBuilder("conclude", EnchantmentType.NORMAL,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,7 @@ import java.util.Arrays;
|
||||
public class Corrosive extends EcoEnchant {
|
||||
public Corrosive() {
|
||||
super(
|
||||
new EcoEnchantBuilder("corrosive", EnchantmentType.NORMAL, new Target.Applicable[]{Target.Applicable.BOW, Target.Applicable.CROSSBOW}, 4.0)
|
||||
new EcoEnchantBuilder("corrosive", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ import org.bukkit.inventory.ItemStack;
|
||||
public class Cranial extends EcoEnchant {
|
||||
public Cranial() {
|
||||
super(
|
||||
new EcoEnchantBuilder("cranial", EnchantmentType.NORMAL, Target.Applicable.TRIDENT, 4.0)
|
||||
new EcoEnchantBuilder("cranial", EnchantmentType.NORMAL,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public class Criticals extends EcoEnchant {
|
||||
public Criticals() {
|
||||
super(
|
||||
new EcoEnchantBuilder("criticals", EnchantmentType.NORMAL, new Target.Applicable[]{Target.Applicable.SWORD, Target.Applicable.AXE}, 4.0)
|
||||
new EcoEnchantBuilder("criticals", EnchantmentType.NORMAL,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public class Cubism extends EcoEnchant {
|
||||
public Cubism() {
|
||||
super(
|
||||
new EcoEnchantBuilder("cubism", EnchantmentType.NORMAL, new Target.Applicable[]{Target.Applicable.SWORD, Target.Applicable.AXE}, 4.0)
|
||||
new EcoEnchantBuilder("cubism", EnchantmentType.NORMAL,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public class Defender extends EcoEnchant {
|
||||
public Defender() {
|
||||
super(
|
||||
new EcoEnchantBuilder("defender", EnchantmentType.NORMAL, new Target.Applicable[]{Target.Applicable.BOW, Target.Applicable.CROSSBOW}, 4.0)
|
||||
new EcoEnchantBuilder("defender", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public class Deflection extends EcoEnchant {
|
||||
public Deflection() {
|
||||
super(
|
||||
new EcoEnchantBuilder("deflection", EnchantmentType.NORMAL, Target.Applicable.SHIELD, 4.0)
|
||||
new EcoEnchantBuilder("deflection", EnchantmentType.NORMAL,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public class Defusion extends EcoEnchant {
|
||||
public Defusion() {
|
||||
super(
|
||||
new EcoEnchantBuilder("defusion", EnchantmentType.NORMAL, new Target.Applicable[]{Target.Applicable.SWORD, Target.Applicable.AXE}, 4.0)
|
||||
new EcoEnchantBuilder("defusion", EnchantmentType.NORMAL,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,7 @@ import org.bukkit.inventory.ItemStack;
|
||||
public class Dexterous extends EcoEnchant {
|
||||
public Dexterous() {
|
||||
super(
|
||||
new EcoEnchantBuilder("dexterous", EnchantmentType.NORMAL, new Target.Applicable[]{Target.Applicable.SWORD, Target.Applicable.AXE}, 4.0)
|
||||
new EcoEnchantBuilder("dexterous", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
@ -25,7 +25,7 @@ public class Dexterous extends EcoEnchant {
|
||||
ItemStack item = player.getInventory().getItem(event.getNewSlot());
|
||||
|
||||
if (!EnchantChecks.item(item, this)) {
|
||||
player.getAttribute(Attribute.GENERIC_ATTACK_SPEED).setBaseValue(4.0);
|
||||
player.getAttribute(Attribute.GENERIC_ATTACK_SPEED).setBaseValue(5.0);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,7 @@ import org.bukkit.potion.PotionEffectType;
|
||||
public class Disable extends EcoEnchant {
|
||||
public Disable() {
|
||||
super(
|
||||
new EcoEnchantBuilder("disable", EnchantmentType.NORMAL, Target.Applicable.AXE, 4.0)
|
||||
new EcoEnchantBuilder("disable", EnchantmentType.NORMAL,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ import org.bukkit.potion.PotionEffectType;
|
||||
public class Disappear extends EcoEnchant {
|
||||
public Disappear() {
|
||||
super(
|
||||
new EcoEnchantBuilder("disappear", EnchantmentType.NORMAL, Target.Applicable.ARMOR, 4.0)
|
||||
new EcoEnchantBuilder("disappear", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public class Diurnal extends EcoEnchant {
|
||||
public Diurnal() {
|
||||
super(
|
||||
new EcoEnchantBuilder("diurnal", EnchantmentType.NORMAL, Target.Applicable.SWORD, 4.0)
|
||||
new EcoEnchantBuilder("diurnal", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -10,7 +10,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public class Diverse extends EcoEnchant {
|
||||
public Diverse() {
|
||||
super(
|
||||
new EcoEnchantBuilder("diverse", EnchantmentType.NORMAL, Target.Applicable.AXE, 4.0)
|
||||
new EcoEnchantBuilder("diverse", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -19,7 +19,7 @@ import org.bukkit.util.Vector;
|
||||
public class Drill extends EcoEnchant {
|
||||
public Drill() {
|
||||
super(
|
||||
new EcoEnchantBuilder("drill", EnchantmentType.NORMAL, Target.Applicable.TOOL, 4.0)
|
||||
new EcoEnchantBuilder("drill", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@ import org.bukkit.potion.PotionEffectType;
|
||||
public class Dullness extends EcoEnchant {
|
||||
public Dullness() {
|
||||
super(
|
||||
new EcoEnchantBuilder("dullness", EnchantmentType.NORMAL, Target.Applicable.SWORD, 4.0)
|
||||
new EcoEnchantBuilder("dullness", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public class Electroshock extends EcoEnchant {
|
||||
public Electroshock() {
|
||||
super(
|
||||
new EcoEnchantBuilder("electroshock", EnchantmentType.NORMAL, Target.Applicable.SHIELD, 4.0)
|
||||
new EcoEnchantBuilder("electroshock", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public class EndInfusion extends EcoEnchant {
|
||||
public EndInfusion() {
|
||||
super(
|
||||
new EcoEnchantBuilder("end_infusion", EnchantmentType.NORMAL, Target.Applicable.SWORD, 4.0)
|
||||
new EcoEnchantBuilder("end_infusion", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ import java.util.Set;
|
||||
public class EnderSlayer extends EcoEnchant {
|
||||
public EnderSlayer() {
|
||||
super(
|
||||
new EcoEnchantBuilder("ender_slayer", EnchantmentType.NORMAL, new Target.Applicable[]{Target.Applicable.SWORD, Target.Applicable.AXE}, 4.0)
|
||||
new EcoEnchantBuilder("ender_slayer", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public class Enderism extends EcoEnchant {
|
||||
public Enderism() {
|
||||
super(
|
||||
new EcoEnchantBuilder("enderism", EnchantmentType.NORMAL, new Target.Applicable[]{Target.Applicable.BOW, Target.Applicable.CROSSBOW}, 4.0)
|
||||
new EcoEnchantBuilder("enderism", EnchantmentType.NORMAL,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@ import org.bukkit.event.entity.EntityDamageEvent;
|
||||
public class Evasion extends EcoEnchant {
|
||||
public Evasion() {
|
||||
super(
|
||||
new EcoEnchantBuilder("evasion", EnchantmentType.NORMAL, Target.Applicable.ARMOR, 4.0)
|
||||
new EcoEnchantBuilder("evasion", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@ import org.bukkit.event.entity.EntityDamageEvent;
|
||||
public class Extinguishing extends EcoEnchant {
|
||||
public Extinguishing() {
|
||||
super(
|
||||
new EcoEnchantBuilder("extinguishing", EnchantmentType.NORMAL, Target.Applicable.ARMOR, 4.0)
|
||||
new EcoEnchantBuilder("extinguishing", EnchantmentType.NORMAL,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@ import org.bukkit.inventory.ItemStack;
|
||||
public class Extract extends EcoEnchant {
|
||||
public Extract() {
|
||||
super(
|
||||
new EcoEnchantBuilder("extract", EnchantmentType.NORMAL, Target.Applicable.TRIDENT, 4.0)
|
||||
new EcoEnchantBuilder("extract", EnchantmentType.NORMAL,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@ import org.bukkit.potion.PotionEffectType;
|
||||
public class Famine extends EcoEnchant {
|
||||
public Famine() {
|
||||
super(
|
||||
new EcoEnchantBuilder("famine", EnchantmentType.NORMAL, Target.Applicable.SWORD, 4.0)
|
||||
new EcoEnchantBuilder("famine", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -19,7 +19,7 @@ import org.bukkit.util.Vector;
|
||||
public class Farmhand extends EcoEnchant {
|
||||
public Farmhand() {
|
||||
super(
|
||||
new EcoEnchantBuilder("farmhand", EnchantmentType.NORMAL, Target.Applicable.HOE, 4.0)
|
||||
new EcoEnchantBuilder("farmhand", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public class Finality extends EcoEnchant {
|
||||
public Finality() {
|
||||
super(
|
||||
new EcoEnchantBuilder("finality", EnchantmentType.NORMAL, Target.Applicable.BOW, 4.1)
|
||||
new EcoEnchantBuilder("finality", EnchantmentType.NORMAL,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public class Finishing extends EcoEnchant {
|
||||
public Finishing() {
|
||||
super(
|
||||
new EcoEnchantBuilder("finishing", EnchantmentType.NORMAL, Target.Applicable.SWORD, 4.1)
|
||||
new EcoEnchantBuilder("finishing", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public class FireAffinity extends EcoEnchant {
|
||||
public FireAffinity() {
|
||||
super(
|
||||
new EcoEnchantBuilder("fire_affinity", EnchantmentType.NORMAL, Target.Applicable.SWORD, 4.01)
|
||||
new EcoEnchantBuilder("fire_affinity", EnchantmentType.NORMAL,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public class FirstStrike extends EcoEnchant {
|
||||
public FirstStrike() {
|
||||
super(
|
||||
new EcoEnchantBuilder("first_strike", EnchantmentType.NORMAL, Target.Applicable.SWORD, 4.0)
|
||||
new EcoEnchantBuilder("first_strike", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,7 @@ import org.bukkit.potion.PotionEffectType;
|
||||
public class Flinch extends EcoEnchant {
|
||||
public Flinch() {
|
||||
super(
|
||||
new EcoEnchantBuilder("flinch", EnchantmentType.NORMAL, Target.Applicable.SHIELD, 4.0)
|
||||
new EcoEnchantBuilder("flinch", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@ import org.bukkit.entity.Monster;
|
||||
public class Forcefield extends EcoEnchant implements EcoRunnable {
|
||||
public Forcefield() {
|
||||
super(
|
||||
new EcoEnchantBuilder("forcefield", EnchantmentType.NORMAL, Target.Applicable.ARMOR, 4.0)
|
||||
new EcoEnchantBuilder("forcefield", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@ import org.bukkit.event.entity.EntityDamageEvent;
|
||||
public class Freerunner extends EcoEnchant {
|
||||
public Freerunner() {
|
||||
super(
|
||||
new EcoEnchantBuilder("freerunner", EnchantmentType.NORMAL, Target.Applicable.BOOTS, 4.0)
|
||||
new EcoEnchantBuilder("freerunner", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@ import org.bukkit.potion.PotionEffectType;
|
||||
public class Frozen extends EcoEnchant {
|
||||
public Frozen() {
|
||||
super(
|
||||
new EcoEnchantBuilder("frozen", EnchantmentType.NORMAL, Target.Applicable.ARMOR, 4.0)
|
||||
new EcoEnchantBuilder("frozen", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,7 @@ import org.bukkit.util.Vector;
|
||||
public class Fury extends EcoEnchant {
|
||||
public Fury() {
|
||||
super(
|
||||
new EcoEnchantBuilder("fury", EnchantmentType.NORMAL, Target.Applicable.SWORD, 4.0)
|
||||
new EcoEnchantBuilder("fury", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public class Goliath extends EcoEnchant {
|
||||
public Goliath() {
|
||||
super(
|
||||
new EcoEnchantBuilder("goliath", EnchantmentType.NORMAL, Target.Applicable.SWORD, 4.0)
|
||||
new EcoEnchantBuilder("goliath", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,7 @@ import org.bukkit.potion.PotionEffectType;
|
||||
public class Graceful extends EcoEnchant {
|
||||
public Graceful() {
|
||||
super(
|
||||
new EcoEnchantBuilder("graceful", EnchantmentType.NORMAL, Target.Applicable.BOOTS, 4.0)
|
||||
new EcoEnchantBuilder("graceful", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,7 @@ import org.bukkit.util.Vector;
|
||||
public class Grapple extends EcoEnchant {
|
||||
public Grapple() {
|
||||
super(
|
||||
new EcoEnchantBuilder("grapple", EnchantmentType.NORMAL, new Target.Applicable[]{Target.Applicable.SWORD, Target.Applicable.AXE}, 4.0)
|
||||
new EcoEnchantBuilder("grapple", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ import org.bukkit.event.player.PlayerInteractEvent;
|
||||
public class GreenThumb extends EcoEnchant {
|
||||
public GreenThumb() {
|
||||
super(
|
||||
new EcoEnchantBuilder("green_thumb", EnchantmentType.NORMAL, Target.Applicable.HOE, 4.0)
|
||||
new EcoEnchantBuilder("green_thumb", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,7 @@ import org.bukkit.inventory.meta.Damageable;
|
||||
public class Grit extends EcoEnchant {
|
||||
public Grit() {
|
||||
super(
|
||||
new EcoEnchantBuilder("grit", EnchantmentType.NORMAL, Target.Applicable.ARMOR, 4.0)
|
||||
new EcoEnchantBuilder("grit", EnchantmentType.NORMAL,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,7 @@ import org.bukkit.inventory.ItemStack;
|
||||
public class Hellish extends EcoEnchant {
|
||||
public Hellish() {
|
||||
super(
|
||||
new EcoEnchantBuilder("hellish", EnchantmentType.NORMAL, Target.Applicable.TRIDENT, 4.0)
|
||||
new EcoEnchantBuilder("hellish", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ import org.bukkit.util.Vector;
|
||||
public class Hook extends EcoEnchant {
|
||||
public Hook() {
|
||||
super(
|
||||
new EcoEnchantBuilder("hook", EnchantmentType.NORMAL, Target.Applicable.BOW, 4.0)
|
||||
new EcoEnchantBuilder("hook", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public class Horde extends EcoEnchant {
|
||||
public Horde() {
|
||||
super(
|
||||
new EcoEnchantBuilder("horde", EnchantmentType.NORMAL, Target.Applicable.SWORD, 4.0)
|
||||
new EcoEnchantBuilder("horde", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,7 @@ import org.bukkit.util.Vector;
|
||||
public class IceShot extends EcoEnchant {
|
||||
public IceShot() {
|
||||
super(
|
||||
new EcoEnchantBuilder("ice_shot", EnchantmentType.NORMAL, new Target.Applicable[]{Target.Applicable.CROSSBOW, Target.Applicable.BOW}, 4.0)
|
||||
new EcoEnchantBuilder("ice_shot", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@ import org.bukkit.potion.PotionEffectType;
|
||||
public class Identify extends EcoEnchant {
|
||||
public Identify() {
|
||||
super(
|
||||
new EcoEnchantBuilder("identify", EnchantmentType.NORMAL, Target.Applicable.SHIELD, 4.0)
|
||||
new EcoEnchantBuilder("identify", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@ import org.bukkit.event.entity.ProjectileHitEvent;
|
||||
public class Ignite extends EcoEnchant {
|
||||
public Ignite() {
|
||||
super(
|
||||
new EcoEnchantBuilder("ignite", EnchantmentType.NORMAL, new Target.Applicable[]{Target.Applicable.BOW, Target.Applicable.CROSSBOW}, 4.0)
|
||||
new EcoEnchantBuilder("ignite", EnchantmentType.NORMAL,5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,7 @@ import org.bukkit.potion.PotionEffectType;
|
||||
public class IllusionAspect extends EcoEnchant {
|
||||
public IllusionAspect() {
|
||||
super(
|
||||
new EcoEnchantBuilder("illusion_aspect", EnchantmentType.NORMAL, Target.Applicable.SWORD, 4.0)
|
||||
new EcoEnchantBuilder("illusion_aspect", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@ import org.bukkit.inventory.ItemStack;
|
||||
public class Impact extends EcoEnchant {
|
||||
public Impact() {
|
||||
super(
|
||||
new EcoEnchantBuilder("impact", EnchantmentType.NORMAL, Target.Applicable.TRIDENT, 4.0)
|
||||
new EcoEnchantBuilder("impact", EnchantmentType.NORMAL, 5.0)
|
||||
);
|
||||
}
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user