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