Removed redundant Deprecation warnings

This commit is contained in:
Auxilor 2020-08-28 17:15:38 +01:00
parent 129e3df582
commit e0cd90fb4c
155 changed files with 3 additions and 312 deletions

View File

@ -3,8 +3,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Color;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class CloudsArtifact extends Artifact {
public CloudsArtifact() {
super(

View File

@ -2,8 +2,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class DamageArtifact extends Artifact {
public DamageArtifact() {
super(

View File

@ -2,8 +2,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class DragonArtifact extends Artifact {
public DragonArtifact() {
super(

View File

@ -2,8 +2,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class DustArtifact extends Artifact {
public DustArtifact() {
super(

View File

@ -2,8 +2,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class EmeraldArtifact extends Artifact {
public EmeraldArtifact() {
super(

View File

@ -2,8 +2,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class EnchantmentArtifact extends Artifact {
public EnchantmentArtifact() {
super(

View File

@ -2,8 +2,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class EndArtifact extends Artifact {
public EndArtifact() {
super(

View File

@ -2,8 +2,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class FireArtifact extends Artifact {
public FireArtifact() {
super(

View File

@ -2,8 +2,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class HeartArtifact extends Artifact {
public HeartArtifact() {
super(

View File

@ -2,8 +2,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class HoneyArtifact extends Artifact {
public HoneyArtifact() {
super(

View File

@ -2,8 +2,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class InkArtifact extends Artifact {
public InkArtifact() {
super(

View File

@ -2,8 +2,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class LavaArtifact extends Artifact {
public LavaArtifact() {
super(

View File

@ -2,8 +2,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class MagicArtifact extends Artifact {
public MagicArtifact() {
super(

View File

@ -2,8 +2,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class MagmaArtifact extends Artifact {
public MagmaArtifact() {
super(

View File

@ -2,8 +2,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class MusicArtifact extends Artifact {
public MusicArtifact() {
super(

View File

@ -2,8 +2,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class NetherArtifact extends Artifact {
public NetherArtifact() {
super(

View File

@ -3,8 +3,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Color;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class RedstoneArtifact extends Artifact {
public RedstoneArtifact() {
super(

View File

@ -2,8 +2,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class SmokeArtifact extends Artifact {
public SmokeArtifact() {
super(

View File

@ -2,8 +2,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class SnowArtifact extends Artifact {
public SnowArtifact() {
super(

View File

@ -2,8 +2,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class SparkleArtifact extends Artifact {
public SparkleArtifact() {
super(

View File

@ -2,8 +2,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class TotemArtifact extends Artifact {
public TotemArtifact() {
super(

View File

@ -2,8 +2,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class WaterArtifact extends Artifact {
public WaterArtifact() {
super(

View File

@ -2,8 +2,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class WitchArtifact extends Artifact {
public WitchArtifact() {
super(

View File

@ -3,8 +3,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Color;
import org.bukkit.Particle;
@SuppressWarnings("deprecation")
public class ZapArtifact extends Artifact {
public ZapArtifact() {
super(

View File

@ -9,8 +9,6 @@ import com.willfp.ecoenchants.util.Rand;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.block.BlockDamageEvent;
@SuppressWarnings("deprecation")
public class BreaklessnessCurse extends EcoEnchant {
public BreaklessnessCurse() {
super(

View File

@ -12,8 +12,6 @@ import org.bukkit.entity.Entity;
import org.bukkit.entity.Monster;
import org.bukkit.entity.PigZombie;
import org.bukkit.util.Vector;
@SuppressWarnings("deprecation")
public class CallingCurse extends EcoEnchant implements EcoRunnable {
public CallingCurse() {
super(

View File

@ -12,8 +12,6 @@ import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.Repairable;
import java.util.Arrays;
@SuppressWarnings("deprecation")
public class DecayCurse extends EcoEnchant implements EcoRunnable {
public DecayCurse() {
super(

View File

@ -9,8 +9,6 @@ import com.willfp.ecoenchants.util.Rand;
import org.bukkit.event.EventHandler;
import org.bukkit.event.player.PlayerItemDamageEvent;
import org.bukkit.inventory.ItemStack;
@SuppressWarnings("deprecation")
public class FragilityCurse extends EcoEnchant {
public FragilityCurse() {
super(

View File

@ -11,8 +11,6 @@ import org.bukkit.entity.Monster;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class HarmlessnessCurse extends EcoEnchant {
public HarmlessnessCurse() {
super(

View File

@ -8,8 +8,6 @@ import com.willfp.ecoenchants.util.HasEnchant;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.FoodLevelChangeEvent;
@SuppressWarnings("deprecation")
public class HungerCurse extends EcoEnchant {
public HungerCurse() {
super(

View File

@ -9,8 +9,6 @@ import com.willfp.ecoenchants.util.Rand;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.block.BlockBreakEvent;
@SuppressWarnings("deprecation")
public class MisfortuneCurse extends EcoEnchant {
public MisfortuneCurse() {
super(

View File

@ -3,8 +3,6 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.curse;
import com.willfp.ecoenchants.enchantments.EcoEnchant;
import com.willfp.ecoenchants.enchantments.EcoEnchantBuilder;
import com.willfp.ecoenchants.nms.Target;
@SuppressWarnings("deprecation")
public class PermanenceCurse extends EcoEnchant {
public PermanenceCurse() {
super(

View File

@ -15,8 +15,6 @@ import org.bukkit.inventory.ItemStack;
import java.util.ArrayList;
import java.util.Arrays;
@SuppressWarnings("deprecation")
public class Abrasion extends EcoEnchant {
public Abrasion() {
super(

View File

@ -13,8 +13,6 @@ import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.bukkit.event.entity.ProjectileLaunchEvent;
import org.bukkit.metadata.FixedMetadataValue;
@SuppressWarnings("deprecation")
public class Aerial extends EcoEnchant {
public Aerial() {
super(

View File

@ -13,8 +13,6 @@ import org.bukkit.entity.Trident;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.bukkit.inventory.ItemStack;
@SuppressWarnings("deprecation")
public class Aquatic extends EcoEnchant {
public Aquatic() {
super(

View File

@ -9,8 +9,6 @@ import com.willfp.ecoenchants.util.Rand;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageEvent;
@SuppressWarnings("deprecation")
public class Arcanic extends EcoEnchant {
public Arcanic() {
super(

View File

@ -14,8 +14,6 @@ import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.block.BlockBreakEvent;
import org.bukkit.metadata.FixedMetadataValue;
@SuppressWarnings("deprecation")
public class BlastMining extends EcoEnchant {
public BlastMining() {
super(

View File

@ -17,8 +17,6 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.bukkit.scheduler.BukkitRunnable;
import java.util.concurrent.atomic.AtomicInteger;
@SuppressWarnings("deprecation")
public class Bleed extends EcoEnchant {
public Bleed() {
super(

View File

@ -11,8 +11,6 @@ import org.bukkit.entity.ElderGuardian;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class BossHunter extends EcoEnchant {
public BossHunter() {
super(

View File

@ -16,8 +16,6 @@ import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityShootBowEvent;
import org.bukkit.util.Vector;
@SuppressWarnings("deprecation")
public class Buckshot extends EcoEnchant {
public Buckshot() {
super(

View File

@ -10,8 +10,6 @@ import org.bukkit.entity.Monster;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class Butchering extends EcoEnchant {
public Butchering() {
super(

View File

@ -10,8 +10,6 @@ import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class Cerebral extends EcoEnchant {
public Cerebral() {
super(

View File

@ -8,8 +8,6 @@ import com.willfp.ecoenchants.util.HasEnchant;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class Chopless extends EcoEnchant {
public Chopless() {
super(

View File

@ -14,8 +14,6 @@ import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.bukkit.metadata.FixedMetadataValue;
@SuppressWarnings("deprecation")
public class Cleave extends EcoEnchant {
public Cleave() {
super(

View File

@ -9,8 +9,6 @@ import org.bukkit.entity.EntityType;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.ProjectileLaunchEvent;
@SuppressWarnings("deprecation")
public class Collateral extends EcoEnchant {
public Collateral() {
super(

View File

@ -12,8 +12,6 @@ import org.bukkit.entity.Trident;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.bukkit.inventory.ItemStack;
@SuppressWarnings("deprecation")
public class Cranial extends EcoEnchant {
public Cranial() {
super(

View File

@ -9,8 +9,6 @@ import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class Criticals extends EcoEnchant {
public Criticals() {
super(

View File

@ -11,8 +11,6 @@ import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class Deflection extends EcoEnchant {
public Deflection() {
super(

View File

@ -9,8 +9,6 @@ import org.bukkit.entity.Creeper;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class Defusion extends EcoEnchant {
public Defusion() {
super(

View File

@ -10,8 +10,6 @@ import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.player.PlayerItemHeldEvent;
import org.bukkit.inventory.ItemStack;
@SuppressWarnings("deprecation")
public class Dexterous extends EcoEnchant {
public Dexterous() {
super(

View File

@ -12,8 +12,6 @@ import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
@SuppressWarnings("deprecation")
public class Disappear extends EcoEnchant {
public Disappear() {
super(

View File

@ -8,8 +8,6 @@ import com.willfp.ecoenchants.util.HasEnchant;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class Diverse extends EcoEnchant {
public Diverse() {
super(

View File

@ -17,8 +17,6 @@ import org.bukkit.event.EventPriority;
import org.bukkit.event.block.BlockBreakEvent;
import org.bukkit.metadata.FixedMetadataValue;
import org.bukkit.util.Vector;
@SuppressWarnings("deprecation")
public class Drill extends EcoEnchant {
public Drill() {
super(

View File

@ -14,8 +14,6 @@ import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
@SuppressWarnings("deprecation")
public class Dullness extends EcoEnchant {
public Dullness() {
super(

View File

@ -12,8 +12,6 @@ import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class Electroshock extends EcoEnchant {
public Electroshock() {
super(

View File

@ -12,8 +12,6 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
import java.util.HashSet;
import java.util.Set;
@SuppressWarnings("deprecation")
public class EnderSlayer extends EcoEnchant {
public EnderSlayer() {
super(

View File

@ -9,8 +9,6 @@ import com.willfp.ecoenchants.util.Rand;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageEvent;
@SuppressWarnings("deprecation")
public class Evasion extends EcoEnchant {
public Evasion() {
super(

View File

@ -9,8 +9,6 @@ import com.willfp.ecoenchants.util.Rand;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageEvent;
@SuppressWarnings("deprecation")
public class Extinguishing extends EcoEnchant {
public Extinguishing() {
super(

View File

@ -14,8 +14,6 @@ import org.bukkit.entity.Trident;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.bukkit.inventory.ItemStack;
@SuppressWarnings("deprecation")
public class Extract extends EcoEnchant {
public Extract() {
super(

View File

@ -14,8 +14,6 @@ import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
@SuppressWarnings("deprecation")
public class Famine extends EcoEnchant {
public Famine() {
super(

View File

@ -3,6 +3,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.normal;
import com.willfp.ecoenchants.enchantments.EcoEnchant;
import com.willfp.ecoenchants.enchantments.EcoEnchantBuilder;
import com.willfp.ecoenchants.enchantments.EcoEnchants;
import com.willfp.ecoenchants.integrations.antigrief.AntigriefManager;
import com.willfp.ecoenchants.nms.Target;
import com.willfp.ecoenchants.util.*;
import org.bukkit.Location;
@ -14,8 +15,6 @@ import org.bukkit.event.block.Action;
import org.bukkit.event.player.PlayerInteractEvent;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.Vector;
@SuppressWarnings("deprecation")
public class Farmhand extends EcoEnchant {
public Farmhand() {
super(
@ -45,7 +44,7 @@ public class Farmhand extends EcoEnchant {
if (!(Target.Applicable.HOE.getMaterials().contains(item.getType())))
return;
if(!AntiGrief.canBreakBlock(player, event.getClickedBlock())) return;
if(!AntigriefManager.canBreakBlock(player, event.getClickedBlock())) return;
event.getClickedBlock().setType(Material.FARMLAND);
int initial = this.getConfig().getInt(EcoEnchants.CONFIG_LOCATION + "initial-radius");
@ -68,7 +67,7 @@ public class Farmhand extends EcoEnchant {
Location loc = event.getClickedBlock().getLocation().add(vec);
Block block = event.getClickedBlock().getWorld().getBlockAt(loc);
if(!AntiGrief.canBreakBlock(player, block)) continue;
if(!AntigriefManager.canBreakBlock(player, block)) continue;
if (!(block.getType().equals(Material.DIRT) || block.getType().equals(Material.GRASS_BLOCK)))
continue;

View File

@ -9,8 +9,6 @@ import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class Finishing extends EcoEnchant {
public Finishing() {
super(

View File

@ -9,8 +9,6 @@ import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class FireAffinity extends EcoEnchant {
public FireAffinity() {
super(

View File

@ -10,8 +10,6 @@ import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class FirstStrike extends EcoEnchant {
public FirstStrike() {
super(

View File

@ -13,8 +13,6 @@ import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
@SuppressWarnings("deprecation")
public class Flinch extends EcoEnchant {
public Flinch() {
super(

View File

@ -9,8 +9,6 @@ import com.willfp.ecoenchants.task.EcoRunnable;
import com.willfp.ecoenchants.util.HasEnchant;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Monster;
@SuppressWarnings("deprecation")
public class Forcefield extends EcoEnchant implements EcoRunnable {
public Forcefield() {
super(

View File

@ -9,8 +9,6 @@ import com.willfp.ecoenchants.util.Rand;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageEvent;
@SuppressWarnings("deprecation")
public class Freerunner extends EcoEnchant {
public Freerunner() {
super(

View File

@ -14,8 +14,6 @@ import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
@SuppressWarnings("deprecation")
public class Frozen extends EcoEnchant {
public Frozen() {
super(

View File

@ -13,8 +13,6 @@ import org.bukkit.entity.*;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.bukkit.util.Vector;
@SuppressWarnings("deprecation")
public class Fury extends EcoEnchant {
public Fury() {
super(

View File

@ -10,8 +10,6 @@ import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class Goliath extends EcoEnchant {
public Goliath() {
super(

View File

@ -11,8 +11,6 @@ import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.bukkit.util.Vector;
@SuppressWarnings("deprecation")
public class Grapple extends EcoEnchant {
public Grapple() {
super(

View File

@ -12,8 +12,6 @@ import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.block.Action;
import org.bukkit.event.player.PlayerInteractEvent;
@SuppressWarnings("deprecation")
public class GreenThumb extends EcoEnchant {
public GreenThumb() {
super(

View File

@ -11,8 +11,6 @@ import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.bukkit.inventory.meta.Damageable;
@SuppressWarnings("deprecation")
public class Grit extends EcoEnchant {
public Grit() {
super(

View File

@ -12,8 +12,6 @@ import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.bukkit.util.Vector;
@SuppressWarnings("deprecation")
public class Hook extends EcoEnchant {
public Hook() {
super(

View File

@ -9,8 +9,6 @@ import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class Horde extends EcoEnchant {
public Horde() {
super(

View File

@ -15,8 +15,6 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
@SuppressWarnings("deprecation")
public class IceShot extends EcoEnchant {
public IceShot() {
super(

View File

@ -15,8 +15,6 @@ import org.bukkit.entity.EntityType;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.ProjectileHitEvent;
@SuppressWarnings("deprecation")
public class Ignite extends EcoEnchant {
public Ignite() {
super(

View File

@ -13,8 +13,6 @@ import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
@SuppressWarnings("deprecation")
public class IllusionAspect extends EcoEnchant {
public IllusionAspect() {
super(

View File

@ -11,8 +11,6 @@ import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class Incandescence extends EcoEnchant {
public Incandescence() {
super(

View File

@ -24,8 +24,6 @@ import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
@SuppressWarnings("deprecation")
public class InfernalTouch extends EcoEnchant {
public InfernalTouch() {
super(

View File

@ -12,8 +12,6 @@ import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.bukkit.event.entity.ProjectileLaunchEvent;
import org.bukkit.inventory.ItemStack;
@SuppressWarnings("deprecation")
public class Inferno extends EcoEnchant {
public Inferno() {
super(

View File

@ -10,8 +10,6 @@ import com.willfp.ecoenchants.util.Rand;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.block.BlockDamageEvent;
@SuppressWarnings("deprecation")
public class Instantaneous extends EcoEnchant {
public Instantaneous() {
super(

View File

@ -9,8 +9,6 @@ import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.bukkit.event.entity.EntityDamageEvent;
@SuppressWarnings("deprecation")
public class Invigoration extends EcoEnchant {
public Invigoration() {
super(

View File

@ -8,8 +8,6 @@ import com.willfp.ecoenchants.util.HasEnchant;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageEvent;
@SuppressWarnings("deprecation")
public class Kinetic extends EcoEnchant {
public Kinetic() {
super(

View File

@ -12,8 +12,6 @@ import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.block.Action;
import org.bukkit.event.player.PlayerInteractEvent;
@SuppressWarnings("deprecation")
public class Launch extends EcoEnchant {
public Launch() {
super(

View File

@ -11,8 +11,6 @@ import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class Leeching extends EcoEnchant {
public Leeching() {
super(

View File

@ -15,8 +15,6 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import org.bukkit.util.Vector;
@SuppressWarnings("deprecation")
public class Levitate extends EcoEnchant {
public Levitate() {
super(

View File

@ -8,8 +8,6 @@ import com.willfp.ecoenchants.util.HasEnchant;
import org.bukkit.entity.*;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class LiquidShot extends EcoEnchant {
public LiquidShot() {
super(

View File

@ -20,8 +20,6 @@ import org.bukkit.event.player.PlayerMoveEvent;
import org.bukkit.metadata.FixedMetadataValue;
import org.bukkit.scheduler.BukkitRunnable;
import org.bukkit.util.Vector;
@SuppressWarnings("deprecation")
public class MagmaWalker extends EcoEnchant {
public MagmaWalker() {
super(

View File

@ -12,8 +12,6 @@ import org.bukkit.entity.Entity;
import org.bukkit.entity.ExperienceOrb;
import org.bukkit.entity.Item;
import org.bukkit.util.Vector;
@SuppressWarnings("deprecation")
public class Magnetic extends EcoEnchant implements EcoRunnable {
public Magnetic() {
super(

View File

@ -12,8 +12,6 @@ import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.ProjectileLaunchEvent;
import org.bukkit.scheduler.BukkitRunnable;
@SuppressWarnings("deprecation")
public class Marksman extends EcoEnchant {
public Marksman() {
super(

View File

@ -13,8 +13,6 @@ import org.bukkit.entity.WitherSkeleton;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDeathEvent;
import org.bukkit.inventory.ItemStack;
@SuppressWarnings("deprecation")
public class Necrotic extends EcoEnchant {
public Necrotic() {
super(

View File

@ -9,8 +9,6 @@ import org.bukkit.World;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class NetherInfusion extends EcoEnchant {
public NetherInfusion() {
super(

View File

@ -9,8 +9,6 @@ import org.bukkit.World;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class Nocturnal extends EcoEnchant {
public Nocturnal() {
super(

View File

@ -10,8 +10,6 @@ import org.bukkit.entity.Arrow;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class Optics extends EcoEnchant {
public Optics() {
super(

View File

@ -11,8 +11,6 @@ import org.bukkit.block.Block;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.block.BlockBreakEvent;
@SuppressWarnings("deprecation")
public class Oxygenate extends EcoEnchant {
public Oxygenate() {
super(

View File

@ -10,8 +10,6 @@ import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class Paladin extends EcoEnchant {
public Paladin() {
super(

View File

@ -12,8 +12,6 @@ import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class Parasitic extends EcoEnchant {
public Parasitic() {
super(

View File

@ -8,8 +8,6 @@ import com.willfp.ecoenchants.util.HasEnchant;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class Parry extends EcoEnchant {
public Parry() {
super(

View File

@ -8,8 +8,6 @@ import org.bukkit.entity.Player;
import org.bukkit.entity.Tameable;
import org.bukkit.event.EventHandler;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
@SuppressWarnings("deprecation")
public class Protector extends EcoEnchant {
public Protector() {
super(

Some files were not shown because too many files have changed in this diff Show More