mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-12-26 20:27:38 +01:00
Removed final modifier for classes
This commit is contained in:
parent
c33e54c6fc
commit
04ae10cd33
@ -22,7 +22,7 @@ import java.util.List;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public final class Precision extends EcoEnchant {
|
||||
public class Precision extends EcoEnchant {
|
||||
public Precision() {
|
||||
super(
|
||||
"precision", EnchantmentType.SPECIAL, PrecisionMain.class
|
||||
|
@ -22,7 +22,7 @@ import java.util.Set;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public final class CommandEcodebug extends AbstractCommand {
|
||||
public class CommandEcodebug extends AbstractCommand {
|
||||
public CommandEcodebug() {
|
||||
super("ecodebug", "ecoenchants.ecodebug", false);
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ import org.bukkit.command.CommandSender;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public final class CommandEcoreload extends AbstractCommand {
|
||||
public class CommandEcoreload extends AbstractCommand {
|
||||
public CommandEcoreload() {
|
||||
super("ecoreload", "ecoenchants.reload", false);
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
public final class CommandEnchantinfo extends AbstractCommand {
|
||||
public class CommandEnchantinfo extends AbstractCommand {
|
||||
public CommandEnchantinfo() {
|
||||
super("enchantinfo", "ecoenchants.enchantinfo", false);
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ import java.util.stream.Collectors;
|
||||
/**
|
||||
* All methods and fields pertaining to showing players the enchantments on their items.
|
||||
*/
|
||||
public final class EnchantDisplay {
|
||||
public class EnchantDisplay {
|
||||
|
||||
/**
|
||||
* The meta key of the length of enchantments in lore (for legacy support)
|
||||
|
@ -16,7 +16,7 @@ import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public final class PacketOpenWindowMerchant extends AbstractPacketAdapter {
|
||||
public class PacketOpenWindowMerchant extends AbstractPacketAdapter {
|
||||
public PacketOpenWindowMerchant() {
|
||||
super(PacketType.Play.Server.OPEN_WINDOW_MERCHANT);
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ import com.comphenix.protocol.events.PacketContainer;
|
||||
import com.willfp.ecoenchants.display.AbstractPacketAdapter;
|
||||
import com.willfp.ecoenchants.display.EnchantDisplay;
|
||||
|
||||
public final class PacketSetCreativeSlot extends AbstractPacketAdapter {
|
||||
public class PacketSetCreativeSlot extends AbstractPacketAdapter {
|
||||
public PacketSetCreativeSlot() {
|
||||
super(PacketType.Play.Client.SET_CREATIVE_SLOT);
|
||||
}
|
||||
|
@ -8,7 +8,7 @@ import org.bukkit.inventory.ItemFlag;
|
||||
import org.bukkit.persistence.PersistentDataType;
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public final class PacketSetSlot extends AbstractPacketAdapter {
|
||||
public class PacketSetSlot extends AbstractPacketAdapter {
|
||||
public PacketSetSlot() {
|
||||
super(PacketType.Play.Server.SET_SLOT);
|
||||
}
|
||||
|
@ -8,7 +8,7 @@ import org.bukkit.inventory.ItemFlag;
|
||||
import org.bukkit.persistence.PersistentDataType;
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public final class PacketWindowItems extends AbstractPacketAdapter {
|
||||
public class PacketWindowItems extends AbstractPacketAdapter {
|
||||
public PacketWindowItems() {
|
||||
super(PacketType.Play.Server.WINDOW_ITEMS);
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import com.willfp.ecoenchants.util.optional.Prerequisite;
|
||||
import org.bukkit.Particle;
|
||||
|
||||
public final class AshArtifact extends Artifact {
|
||||
public class AshArtifact extends Artifact {
|
||||
public AshArtifact() {
|
||||
super(
|
||||
"ash_artifact",
|
||||
|
@ -3,7 +3,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Color;
|
||||
import org.bukkit.Particle;
|
||||
public final class CloudsArtifact extends Artifact {
|
||||
public class CloudsArtifact extends Artifact {
|
||||
public CloudsArtifact() {
|
||||
super(
|
||||
"clouds_artifact"
|
||||
|
@ -4,7 +4,7 @@ import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import com.willfp.ecoenchants.util.optional.Prerequisite;
|
||||
import org.bukkit.Particle;
|
||||
|
||||
public final class CrimsonArtifact extends Artifact {
|
||||
public class CrimsonArtifact extends Artifact {
|
||||
public CrimsonArtifact() {
|
||||
super(
|
||||
"crimson_artifact",
|
||||
|
@ -2,7 +2,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
public final class DamageArtifact extends Artifact {
|
||||
public class DamageArtifact extends Artifact {
|
||||
public DamageArtifact() {
|
||||
super(
|
||||
"damage_artifact"
|
||||
|
@ -2,7 +2,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
public final class DragonArtifact extends Artifact {
|
||||
public class DragonArtifact extends Artifact {
|
||||
public DragonArtifact() {
|
||||
super(
|
||||
"dragon_artifact"
|
||||
|
@ -2,7 +2,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
public final class DustArtifact extends Artifact {
|
||||
public class DustArtifact extends Artifact {
|
||||
public DustArtifact() {
|
||||
super(
|
||||
"dust_artifact"
|
||||
|
@ -2,7 +2,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
public final class EmeraldArtifact extends Artifact {
|
||||
public class EmeraldArtifact extends Artifact {
|
||||
public EmeraldArtifact() {
|
||||
super(
|
||||
"emerald_artifact"
|
||||
|
@ -2,7 +2,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
public final class EnchantmentArtifact extends Artifact {
|
||||
public class EnchantmentArtifact extends Artifact {
|
||||
public EnchantmentArtifact() {
|
||||
super(
|
||||
"enchantment_artifact"
|
||||
|
@ -2,7 +2,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
public final class EndArtifact extends Artifact {
|
||||
public class EndArtifact extends Artifact {
|
||||
public EndArtifact() {
|
||||
super(
|
||||
"end_artifact"
|
||||
|
@ -2,7 +2,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
public final class FireArtifact extends Artifact {
|
||||
public class FireArtifact extends Artifact {
|
||||
public FireArtifact() {
|
||||
super(
|
||||
"fire_artifact"
|
||||
|
@ -2,7 +2,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
public final class HeartArtifact extends Artifact {
|
||||
public class HeartArtifact extends Artifact {
|
||||
public HeartArtifact() {
|
||||
super(
|
||||
"heart_artifact"
|
||||
|
@ -2,7 +2,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
public final class HoneyArtifact extends Artifact {
|
||||
public class HoneyArtifact extends Artifact {
|
||||
public HoneyArtifact() {
|
||||
super(
|
||||
"honey_artifact"
|
||||
|
@ -2,7 +2,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
public final class InkArtifact extends Artifact {
|
||||
public class InkArtifact extends Artifact {
|
||||
public InkArtifact() {
|
||||
super(
|
||||
"ink_artifact"
|
||||
|
@ -2,7 +2,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
public final class LavaArtifact extends Artifact {
|
||||
public class LavaArtifact extends Artifact {
|
||||
public LavaArtifact() {
|
||||
super(
|
||||
"lava_artifact"
|
||||
|
@ -4,7 +4,7 @@ import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Color;
|
||||
import org.bukkit.Particle;
|
||||
|
||||
public final class LimeArtifact extends Artifact {
|
||||
public class LimeArtifact extends Artifact {
|
||||
public LimeArtifact() {
|
||||
super(
|
||||
"lime_artifact"
|
||||
|
@ -2,7 +2,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
public final class MagicArtifact extends Artifact {
|
||||
public class MagicArtifact extends Artifact {
|
||||
public MagicArtifact() {
|
||||
super(
|
||||
"magic_artifact"
|
||||
|
@ -2,7 +2,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
public final class MagmaArtifact extends Artifact {
|
||||
public class MagmaArtifact extends Artifact {
|
||||
public MagmaArtifact() {
|
||||
super(
|
||||
"magma_artifact"
|
||||
|
@ -2,7 +2,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
public final class MusicArtifact extends Artifact {
|
||||
public class MusicArtifact extends Artifact {
|
||||
public MusicArtifact() {
|
||||
super(
|
||||
"music_artifact"
|
||||
|
@ -2,7 +2,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
public final class NetherArtifact extends Artifact {
|
||||
public class NetherArtifact extends Artifact {
|
||||
public NetherArtifact() {
|
||||
super(
|
||||
"nether_artifact"
|
||||
|
@ -3,7 +3,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Color;
|
||||
import org.bukkit.Particle;
|
||||
public final class RedstoneArtifact extends Artifact {
|
||||
public class RedstoneArtifact extends Artifact {
|
||||
public RedstoneArtifact() {
|
||||
super(
|
||||
"redstone_artifact"
|
||||
|
@ -2,7 +2,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
public final class SmokeArtifact extends Artifact {
|
||||
public class SmokeArtifact extends Artifact {
|
||||
public SmokeArtifact() {
|
||||
super(
|
||||
"smoke_artifact"
|
||||
|
@ -2,7 +2,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
public final class SnowArtifact extends Artifact {
|
||||
public class SnowArtifact extends Artifact {
|
||||
public SnowArtifact() {
|
||||
super(
|
||||
"snow_artifact"
|
||||
|
@ -4,7 +4,7 @@ import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import com.willfp.ecoenchants.util.optional.Prerequisite;
|
||||
import org.bukkit.Particle;
|
||||
|
||||
public final class SoulArtifact extends Artifact {
|
||||
public class SoulArtifact extends Artifact {
|
||||
public SoulArtifact() {
|
||||
super(
|
||||
"soul_artifact",
|
||||
|
@ -4,7 +4,7 @@ import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import com.willfp.ecoenchants.util.optional.Prerequisite;
|
||||
import org.bukkit.Particle;
|
||||
|
||||
public final class SoulFireArtifact extends Artifact {
|
||||
public class SoulFireArtifact extends Artifact {
|
||||
public SoulFireArtifact() {
|
||||
super(
|
||||
"soul_fire_artifact",
|
||||
|
@ -2,7 +2,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
public final class SparkleArtifact extends Artifact {
|
||||
public class SparkleArtifact extends Artifact {
|
||||
public SparkleArtifact() {
|
||||
super(
|
||||
"sparkle_artifact"
|
||||
|
@ -4,7 +4,7 @@ import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import com.willfp.ecoenchants.util.optional.Prerequisite;
|
||||
import org.bukkit.Particle;
|
||||
|
||||
public final class TearArtifact extends Artifact {
|
||||
public class TearArtifact extends Artifact {
|
||||
public TearArtifact() {
|
||||
super(
|
||||
"tear_artifact",
|
||||
|
@ -2,7 +2,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
public final class TotemArtifact extends Artifact {
|
||||
public class TotemArtifact extends Artifact {
|
||||
public TotemArtifact() {
|
||||
super(
|
||||
"totem_artifact"
|
||||
|
@ -4,7 +4,7 @@ import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import com.willfp.ecoenchants.util.optional.Prerequisite;
|
||||
import org.bukkit.Particle;
|
||||
|
||||
public final class WarpedArtifact extends Artifact {
|
||||
public class WarpedArtifact extends Artifact {
|
||||
public WarpedArtifact() {
|
||||
super(
|
||||
"warped_artifact",
|
||||
|
@ -2,7 +2,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
public final class WaterArtifact extends Artifact {
|
||||
public class WaterArtifact extends Artifact {
|
||||
public WaterArtifact() {
|
||||
super(
|
||||
"water_artifact"
|
||||
|
@ -2,7 +2,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
public final class WitchArtifact extends Artifact {
|
||||
public class WitchArtifact extends Artifact {
|
||||
public WitchArtifact() {
|
||||
super(
|
||||
"witch_artifact"
|
||||
|
@ -3,7 +3,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Color;
|
||||
import org.bukkit.Particle;
|
||||
public final class ZapArtifact extends Artifact {
|
||||
public class ZapArtifact extends Artifact {
|
||||
public ZapArtifact() {
|
||||
super(
|
||||
"zap_artifact"
|
||||
|
@ -5,7 +5,7 @@ import com.willfp.ecoenchants.enchantments.util.EnchantmentUtils;
|
||||
import org.bukkit.block.Block;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.block.BlockDamageEvent;
|
||||
public final class BreaklessnessCurse extends EcoEnchant {
|
||||
public class BreaklessnessCurse extends EcoEnchant {
|
||||
public BreaklessnessCurse() {
|
||||
super(
|
||||
"breaklessness_curse", EnchantmentType.CURSE
|
||||
|
@ -18,7 +18,7 @@ import org.bukkit.util.Vector;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
public final class CallingCurse extends EcoEnchant implements EcoRunnable {
|
||||
public class CallingCurse extends EcoEnchant implements EcoRunnable {
|
||||
public CallingCurse() {
|
||||
super(
|
||||
"calling_curse", EnchantmentType.CURSE
|
||||
|
@ -20,7 +20,7 @@ import java.util.Arrays;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
public final class DecayCurse extends EcoEnchant implements EcoRunnable {
|
||||
public class DecayCurse extends EcoEnchant implements EcoRunnable {
|
||||
private final Set<Player> players = new HashSet<>();
|
||||
private int amount = 10000;
|
||||
|
||||
|
@ -7,7 +7,7 @@ import com.willfp.ecoenchants.util.NumberUtils;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.player.PlayerItemDamageEvent;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
public final class FragilityCurse extends EcoEnchant {
|
||||
public class FragilityCurse extends EcoEnchant {
|
||||
public FragilityCurse() {
|
||||
super(
|
||||
"fragility_curse", EnchantmentType.CURSE
|
||||
|
@ -4,7 +4,7 @@ import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
||||
import com.willfp.ecoenchants.enchantments.util.EnchantmentUtils;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public final class HarmlessnessCurse extends EcoEnchant {
|
||||
public class HarmlessnessCurse extends EcoEnchant {
|
||||
public HarmlessnessCurse() {
|
||||
super(
|
||||
"harmlessness_curse", EnchantmentType.CURSE
|
||||
|
@ -6,7 +6,7 @@ import com.willfp.ecoenchants.enchantments.util.EnchantChecks;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.entity.FoodLevelChangeEvent;
|
||||
public final class HungerCurse extends EcoEnchant {
|
||||
public class HungerCurse extends EcoEnchant {
|
||||
public HungerCurse() {
|
||||
super(
|
||||
"hunger_curse", EnchantmentType.CURSE
|
||||
|
@ -8,7 +8,7 @@ import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.event.entity.EntityShootBowEvent;
|
||||
import org.bukkit.util.Vector;
|
||||
|
||||
public final class InaccuracyCurse extends EcoEnchant {
|
||||
public class InaccuracyCurse extends EcoEnchant {
|
||||
public InaccuracyCurse() {
|
||||
super(
|
||||
"inaccuracy_curse", EnchantmentType.CURSE
|
||||
|
@ -5,7 +5,7 @@ import com.willfp.ecoenchants.enchantments.util.EnchantmentUtils;
|
||||
import org.bukkit.block.Block;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.block.BlockBreakEvent;
|
||||
public final class MisfortuneCurse extends EcoEnchant {
|
||||
public class MisfortuneCurse extends EcoEnchant {
|
||||
public MisfortuneCurse() {
|
||||
super(
|
||||
"misfortune_curse", EnchantmentType.CURSE
|
||||
|
@ -2,7 +2,7 @@ package com.willfp.ecoenchants.enchantments.ecoenchants.curse;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
||||
|
||||
public final class PermanenceCurse extends EcoEnchant {
|
||||
public class PermanenceCurse extends EcoEnchant {
|
||||
public PermanenceCurse() {
|
||||
super(
|
||||
"permanence_curse", EnchantmentType.CURSE
|
||||
|
@ -7,7 +7,7 @@ import org.bukkit.entity.Monster;
|
||||
import org.bukkit.entity.Trident;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
|
||||
public final class Abattoir extends EcoEnchant {
|
||||
public class Abattoir extends EcoEnchant {
|
||||
public Abattoir() {
|
||||
super(
|
||||
"abattoir", EnchantmentType.NORMAL
|
||||
|
@ -11,7 +11,7 @@ import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
public final class Abrasion extends EcoEnchant {
|
||||
public class Abrasion extends EcoEnchant {
|
||||
public Abrasion() {
|
||||
super(
|
||||
"abrasion", EnchantmentType.NORMAL
|
||||
|
@ -9,7 +9,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
import org.bukkit.event.entity.EntityShootBowEvent;
|
||||
import org.bukkit.metadata.FixedMetadataValue;
|
||||
|
||||
public final class Aerial extends EcoEnchant {
|
||||
public class Aerial extends EcoEnchant {
|
||||
public Aerial() {
|
||||
super(
|
||||
"aerial", EnchantmentType.NORMAL
|
||||
|
@ -6,7 +6,7 @@ import org.bukkit.Material;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.entity.Trident;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public final class Aquatic extends EcoEnchant {
|
||||
public class Aquatic extends EcoEnchant {
|
||||
public Aquatic() {
|
||||
super(
|
||||
"aquatic", EnchantmentType.NORMAL
|
||||
|
@ -7,7 +7,7 @@ import org.bukkit.entity.Spider;
|
||||
import org.bukkit.entity.Trident;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
|
||||
public final class Arachnid extends EcoEnchant {
|
||||
public class Arachnid extends EcoEnchant {
|
||||
public Arachnid() {
|
||||
super(
|
||||
"arachnid", EnchantmentType.NORMAL
|
||||
|
@ -4,7 +4,7 @@ import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
||||
import com.willfp.ecoenchants.enchantments.util.EnchantmentUtils;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.event.entity.EntityDamageEvent;
|
||||
public final class Arcanic extends EcoEnchant {
|
||||
public class Arcanic extends EcoEnchant {
|
||||
public Arcanic() {
|
||||
super(
|
||||
"arcanic", EnchantmentType.NORMAL
|
||||
|
@ -9,7 +9,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
import org.bukkit.event.entity.ProjectileLaunchEvent;
|
||||
import org.bukkit.metadata.FixedMetadataValue;
|
||||
|
||||
public final class Atmospheric extends EcoEnchant {
|
||||
public class Atmospheric extends EcoEnchant {
|
||||
public Atmospheric() {
|
||||
super(
|
||||
"atmospheric", EnchantmentType.NORMAL
|
||||
|
@ -6,7 +6,7 @@ import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
import org.bukkit.util.Vector;
|
||||
|
||||
public final class Backstab extends EcoEnchant {
|
||||
public class Backstab extends EcoEnchant {
|
||||
public Backstab() {
|
||||
super(
|
||||
"backstab", EnchantmentType.NORMAL
|
||||
|
@ -13,7 +13,7 @@ import org.bukkit.event.entity.EntityDeathEvent;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.inventory.meta.SkullMeta;
|
||||
|
||||
public final class Beheading extends EcoEnchant {
|
||||
public class Beheading extends EcoEnchant {
|
||||
public Beheading() {
|
||||
super(
|
||||
"beheading", EnchantmentType.NORMAL
|
||||
|
@ -15,7 +15,7 @@ import org.bukkit.metadata.FixedMetadataValue;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
public final class BlastMining extends EcoEnchant {
|
||||
public class BlastMining extends EcoEnchant {
|
||||
public BlastMining() {
|
||||
super(
|
||||
"blast_mining", EnchantmentType.NORMAL
|
||||
|
@ -11,7 +11,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
import org.bukkit.scheduler.BukkitRunnable;
|
||||
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
public final class Bleed extends EcoEnchant {
|
||||
public class Bleed extends EcoEnchant {
|
||||
public Bleed() {
|
||||
super(
|
||||
"bleed", EnchantmentType.NORMAL
|
||||
|
@ -10,7 +10,7 @@ import org.bukkit.potion.PotionEffect;
|
||||
import org.bukkit.potion.PotionEffectType;
|
||||
import org.bukkit.util.Vector;
|
||||
|
||||
public final class Blind extends EcoEnchant {
|
||||
public class Blind extends EcoEnchant {
|
||||
public Blind() {
|
||||
super(
|
||||
"blind", EnchantmentType.NORMAL
|
||||
|
@ -5,7 +5,7 @@ import com.willfp.ecoenchants.enchantments.util.EnchantmentUtils;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.event.entity.EntityDamageEvent;
|
||||
|
||||
public final class BlockBreather extends EcoEnchant {
|
||||
public class BlockBreather extends EcoEnchant {
|
||||
public BlockBreather() {
|
||||
super(
|
||||
"block_breather", EnchantmentType.NORMAL
|
||||
|
@ -7,7 +7,7 @@ import org.bukkit.entity.Boss;
|
||||
import org.bukkit.entity.ElderGuardian;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public final class BossHunter extends EcoEnchant {
|
||||
public class BossHunter extends EcoEnchant {
|
||||
public BossHunter() {
|
||||
super(
|
||||
"boss_hunter", EnchantmentType.NORMAL
|
||||
|
@ -13,7 +13,7 @@ import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.entity.EntityShootBowEvent;
|
||||
import org.bukkit.util.Vector;
|
||||
public final class Buckshot extends EcoEnchant {
|
||||
public class Buckshot extends EcoEnchant {
|
||||
public Buckshot() {
|
||||
super(
|
||||
"buckshot", EnchantmentType.NORMAL
|
||||
|
@ -5,7 +5,7 @@ import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.entity.Monster;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public final class Butchering extends EcoEnchant {
|
||||
public class Butchering extends EcoEnchant {
|
||||
public Butchering() {
|
||||
super(
|
||||
"butchering", EnchantmentType.NORMAL
|
||||
|
@ -6,7 +6,7 @@ import com.willfp.ecoenchants.enchantments.util.EnchantChecks;
|
||||
import org.bukkit.entity.Arrow;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public final class Cerebral extends EcoEnchant {
|
||||
public class Cerebral extends EcoEnchant {
|
||||
public Cerebral() {
|
||||
super(
|
||||
"cerebral", EnchantmentType.NORMAL
|
||||
|
@ -5,7 +5,7 @@ import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.event.entity.EntityDamageEvent;
|
||||
|
||||
public final class Chopless extends EcoEnchant {
|
||||
public class Chopless extends EcoEnchant {
|
||||
public Chopless() {
|
||||
super(
|
||||
"chopless", EnchantmentType.NORMAL
|
||||
|
@ -9,7 +9,7 @@ import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
import org.bukkit.metadata.FixedMetadataValue;
|
||||
public final class Cleave extends EcoEnchant {
|
||||
public class Cleave extends EcoEnchant {
|
||||
public Cleave() {
|
||||
super(
|
||||
"cleave", EnchantmentType.NORMAL
|
||||
|
@ -4,7 +4,7 @@ import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
||||
import org.bukkit.entity.Arrow;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.event.entity.EntityShootBowEvent;
|
||||
public final class Collateral extends EcoEnchant {
|
||||
public class Collateral extends EcoEnchant {
|
||||
public Collateral() {
|
||||
super(
|
||||
"collateral", EnchantmentType.NORMAL
|
||||
|
@ -7,7 +7,7 @@ import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.entity.Trident;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
|
||||
public final class Conclude extends EcoEnchant {
|
||||
public class Conclude extends EcoEnchant {
|
||||
public Conclude() {
|
||||
super(
|
||||
"conclude", EnchantmentType.NORMAL
|
||||
|
@ -11,7 +11,7 @@ import org.bukkit.inventory.ItemStack;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
|
||||
public final class Corrosive extends EcoEnchant {
|
||||
public class Corrosive extends EcoEnchant {
|
||||
public Corrosive() {
|
||||
super(
|
||||
"corrosive", EnchantmentType.NORMAL
|
||||
|
@ -5,7 +5,7 @@ import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.entity.Trident;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public final class Cranial extends EcoEnchant {
|
||||
public class Cranial extends EcoEnchant {
|
||||
public Cranial() {
|
||||
super(
|
||||
"cranial", EnchantmentType.NORMAL
|
||||
|
@ -4,7 +4,7 @@ import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public final class Criticals extends EcoEnchant {
|
||||
public class Criticals extends EcoEnchant {
|
||||
public Criticals() {
|
||||
super(
|
||||
"criticals", EnchantmentType.NORMAL
|
||||
|
@ -6,7 +6,7 @@ import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.entity.Slime;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
|
||||
public final class Cubism extends EcoEnchant {
|
||||
public class Cubism extends EcoEnchant {
|
||||
public Cubism() {
|
||||
super(
|
||||
"cubism", EnchantmentType.NORMAL
|
||||
|
@ -6,7 +6,7 @@ import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.entity.Tameable;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
|
||||
public final class Defender extends EcoEnchant {
|
||||
public class Defender extends EcoEnchant {
|
||||
public Defender() {
|
||||
super(
|
||||
"defender", EnchantmentType.NORMAL
|
||||
|
@ -5,7 +5,7 @@ import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public final class Deflection extends EcoEnchant {
|
||||
public class Deflection extends EcoEnchant {
|
||||
public Deflection() {
|
||||
super(
|
||||
"deflection", EnchantmentType.NORMAL
|
||||
|
@ -5,7 +5,7 @@ import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
||||
import org.bukkit.entity.Creeper;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public final class Defusion extends EcoEnchant {
|
||||
public class Defusion extends EcoEnchant {
|
||||
public Defusion() {
|
||||
super(
|
||||
"defusion", EnchantmentType.NORMAL
|
||||
|
@ -8,7 +8,7 @@ import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.player.PlayerItemHeldEvent;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
public final class Dexterous extends EcoEnchant {
|
||||
public class Dexterous extends EcoEnchant {
|
||||
public Dexterous() {
|
||||
super(
|
||||
"dexterous", EnchantmentType.NORMAL
|
||||
|
@ -10,7 +10,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
import org.bukkit.potion.PotionEffect;
|
||||
import org.bukkit.potion.PotionEffectType;
|
||||
|
||||
public final class Disable extends EcoEnchant {
|
||||
public class Disable extends EcoEnchant {
|
||||
public Disable() {
|
||||
super(
|
||||
"disable", EnchantmentType.NORMAL
|
||||
|
@ -8,7 +8,7 @@ import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.event.entity.EntityDamageEvent;
|
||||
import org.bukkit.potion.PotionEffect;
|
||||
import org.bukkit.potion.PotionEffectType;
|
||||
public final class Disappear extends EcoEnchant {
|
||||
public class Disappear extends EcoEnchant {
|
||||
public Disappear() {
|
||||
super(
|
||||
"disappear", EnchantmentType.NORMAL
|
||||
|
@ -6,7 +6,7 @@ import org.bukkit.World;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
|
||||
public final class Diurnal extends EcoEnchant {
|
||||
public class Diurnal extends EcoEnchant {
|
||||
public Diurnal() {
|
||||
super(
|
||||
"diurnal", EnchantmentType.NORMAL
|
||||
|
@ -4,7 +4,7 @@ import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public final class Diverse extends EcoEnchant {
|
||||
public class Diverse extends EcoEnchant {
|
||||
public Diverse() {
|
||||
super(
|
||||
"diverse", EnchantmentType.NORMAL
|
||||
|
@ -12,7 +12,7 @@ import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.block.BlockBreakEvent;
|
||||
import org.bukkit.metadata.FixedMetadataValue;
|
||||
import org.bukkit.util.Vector;
|
||||
public final class Drill extends EcoEnchant {
|
||||
public class Drill extends EcoEnchant {
|
||||
public Drill() {
|
||||
super(
|
||||
"drill", EnchantmentType.NORMAL
|
||||
|
@ -9,7 +9,7 @@ import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
import org.bukkit.potion.PotionEffect;
|
||||
import org.bukkit.potion.PotionEffectType;
|
||||
public final class Dullness extends EcoEnchant {
|
||||
public class Dullness extends EcoEnchant {
|
||||
public Dullness() {
|
||||
super(
|
||||
"dullness", EnchantmentType.NORMAL
|
||||
|
@ -6,7 +6,7 @@ import org.bukkit.entity.Illager;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
|
||||
public final class Dweller extends EcoEnchant {
|
||||
public class Dweller extends EcoEnchant {
|
||||
public Dweller() {
|
||||
super(
|
||||
"dweller", EnchantmentType.NORMAL
|
||||
|
@ -7,7 +7,7 @@ import com.willfp.ecoenchants.enchantments.util.EnchantmentUtils;
|
||||
import com.willfp.ecoenchants.util.optional.Prerequisite;
|
||||
import org.bukkit.event.EventHandler;
|
||||
|
||||
public final class Economical extends EcoEnchant {
|
||||
public class Economical extends EcoEnchant {
|
||||
public Economical() {
|
||||
super(
|
||||
"economical", EnchantmentType.NORMAL,
|
||||
|
@ -7,7 +7,7 @@ import com.willfp.ecoenchants.util.LightningUtils;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public final class Electroshock extends EcoEnchant {
|
||||
public class Electroshock extends EcoEnchant {
|
||||
public Electroshock() {
|
||||
super(
|
||||
"electroshock", EnchantmentType.NORMAL
|
||||
|
@ -6,7 +6,7 @@ import org.bukkit.World;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
|
||||
public final class EndInfusion extends EcoEnchant {
|
||||
public class EndInfusion extends EcoEnchant {
|
||||
public EndInfusion() {
|
||||
super(
|
||||
"end_infusion", EnchantmentType.NORMAL
|
||||
|
@ -8,7 +8,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
public final class EnderSlayer extends EcoEnchant {
|
||||
public class EnderSlayer extends EcoEnchant {
|
||||
public EnderSlayer() {
|
||||
super(
|
||||
"ender_slayer", EnchantmentType.NORMAL
|
||||
|
@ -10,7 +10,7 @@ import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
|
||||
public final class Enderism extends EcoEnchant {
|
||||
public class Enderism extends EcoEnchant {
|
||||
public Enderism() {
|
||||
super(
|
||||
"enderism", EnchantmentType.NORMAL
|
||||
|
@ -4,7 +4,7 @@ import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
||||
import com.willfp.ecoenchants.enchantments.util.EnchantmentUtils;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.event.entity.EntityDamageEvent;
|
||||
public final class Evasion extends EcoEnchant {
|
||||
public class Evasion extends EcoEnchant {
|
||||
public Evasion() {
|
||||
super(
|
||||
"evasion", EnchantmentType.NORMAL
|
||||
|
@ -4,7 +4,7 @@ import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
||||
import com.willfp.ecoenchants.enchantments.util.EnchantmentUtils;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.event.entity.EntityDamageEvent;
|
||||
public final class Extinguishing extends EcoEnchant {
|
||||
public class Extinguishing extends EcoEnchant {
|
||||
public Extinguishing() {
|
||||
super(
|
||||
"extinguishing", EnchantmentType.NORMAL
|
||||
|
@ -6,7 +6,7 @@ import org.bukkit.attribute.Attribute;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.entity.Trident;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public final class Extract extends EcoEnchant {
|
||||
public class Extract extends EcoEnchant {
|
||||
public Extract() {
|
||||
super(
|
||||
"extract", EnchantmentType.NORMAL
|
||||
|
@ -10,7 +10,7 @@ import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.block.BlockBreakEvent;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
public final class Extraction extends EcoEnchant {
|
||||
public class Extraction extends EcoEnchant {
|
||||
public Extraction() {
|
||||
super(
|
||||
"extraction", EnchantmentType.NORMAL
|
||||
|
@ -9,7 +9,7 @@ import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
import org.bukkit.potion.PotionEffect;
|
||||
import org.bukkit.potion.PotionEffectType;
|
||||
public final class Famine extends EcoEnchant {
|
||||
public class Famine extends EcoEnchant {
|
||||
public Famine() {
|
||||
super(
|
||||
"famine", EnchantmentType.NORMAL
|
||||
|
@ -15,7 +15,7 @@ import org.bukkit.event.block.Action;
|
||||
import org.bukkit.event.player.PlayerInteractEvent;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.util.Vector;
|
||||
public final class Farmhand extends EcoEnchant {
|
||||
public class Farmhand extends EcoEnchant {
|
||||
public Farmhand() {
|
||||
super(
|
||||
"farmhand", EnchantmentType.NORMAL
|
||||
|
@ -14,7 +14,7 @@ import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
public final class Fetching extends EcoEnchant {
|
||||
public class Fetching extends EcoEnchant {
|
||||
public Fetching() {
|
||||
super(
|
||||
"fetching", EnchantmentType.NORMAL
|
||||
|
@ -7,7 +7,7 @@ import org.bukkit.entity.Arrow;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
|
||||
public final class Finality extends EcoEnchant {
|
||||
public class Finality extends EcoEnchant {
|
||||
public Finality() {
|
||||
super(
|
||||
"finality", EnchantmentType.NORMAL
|
||||
|
@ -5,7 +5,7 @@ import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
||||
import com.willfp.ecoenchants.enchantments.util.EnchantmentUtils;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public final class Finishing extends EcoEnchant {
|
||||
public class Finishing extends EcoEnchant {
|
||||
public Finishing() {
|
||||
super(
|
||||
"finishing", EnchantmentType.NORMAL
|
||||
|
@ -4,7 +4,7 @@ import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public final class FireAffinity extends EcoEnchant {
|
||||
public class FireAffinity extends EcoEnchant {
|
||||
public FireAffinity() {
|
||||
super(
|
||||
"fire_affinity", EnchantmentType.NORMAL
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user