mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-21 14:55:17 +01:00
We do a little import optimising
This commit is contained in:
parent
2e27183a83
commit
67c6356f23
@ -3,7 +3,6 @@ package com.willfp.ecoenchants.proxy.v1_17_R1
|
||||
import com.willfp.ecoenchants.enchant.EcoEnchant
|
||||
import com.willfp.ecoenchants.enchant.VanillaEnchantmentData
|
||||
import net.minecraft.world.item.enchantment.Enchantment
|
||||
import org.bukkit.NamespacedKey
|
||||
import org.bukkit.craftbukkit.v1_17_R1.enchantments.CraftEnchantment
|
||||
|
||||
|
||||
|
@ -3,7 +3,6 @@ package com.willfp.ecoenchants.proxy.v1_18_R1
|
||||
import com.willfp.ecoenchants.enchant.EcoEnchant
|
||||
import com.willfp.ecoenchants.enchant.VanillaEnchantmentData
|
||||
import net.minecraft.world.item.enchantment.Enchantment
|
||||
import org.bukkit.NamespacedKey
|
||||
import org.bukkit.craftbukkit.v1_18_R1.enchantments.CraftEnchantment
|
||||
|
||||
|
||||
|
@ -3,7 +3,6 @@ package com.willfp.ecoenchants.proxy.v1_18_R2
|
||||
import com.willfp.ecoenchants.enchant.EcoEnchant
|
||||
import com.willfp.ecoenchants.enchant.VanillaEnchantmentData
|
||||
import net.minecraft.world.item.enchantment.Enchantment
|
||||
import org.bukkit.NamespacedKey
|
||||
import org.bukkit.craftbukkit.v1_18_R2.enchantments.CraftEnchantment
|
||||
|
||||
|
||||
|
@ -3,7 +3,6 @@ package com.willfp.ecoenchants.proxy.v1_19_R1
|
||||
import com.willfp.ecoenchants.enchant.EcoEnchant
|
||||
import com.willfp.ecoenchants.enchant.VanillaEnchantmentData
|
||||
import net.minecraft.world.item.enchantment.Enchantment
|
||||
import org.bukkit.NamespacedKey
|
||||
import org.bukkit.craftbukkit.v1_19_R1.enchantments.CraftEnchantment
|
||||
|
||||
|
||||
|
@ -3,7 +3,6 @@ package com.willfp.ecoenchants.proxy.v1_19_R2
|
||||
import com.willfp.ecoenchants.enchant.EcoEnchant
|
||||
import com.willfp.ecoenchants.enchant.VanillaEnchantmentData
|
||||
import net.minecraft.world.item.enchantment.Enchantment
|
||||
import org.bukkit.NamespacedKey
|
||||
import org.bukkit.craftbukkit.v1_19_R2.enchantments.CraftEnchantment
|
||||
|
||||
|
||||
|
@ -3,7 +3,6 @@ package com.willfp.ecoenchants.proxy.v1_19_R3
|
||||
import com.willfp.ecoenchants.enchant.EcoEnchant
|
||||
import com.willfp.ecoenchants.enchant.VanillaEnchantmentData
|
||||
import net.minecraft.world.item.enchantment.Enchantment
|
||||
import org.bukkit.NamespacedKey
|
||||
import org.bukkit.craftbukkit.v1_19_R3.enchantments.CraftEnchantment
|
||||
|
||||
|
||||
|
@ -3,7 +3,6 @@ package com.willfp.ecoenchants.proxy.v1_20_R1
|
||||
import com.willfp.ecoenchants.enchant.EcoEnchant
|
||||
import com.willfp.ecoenchants.enchant.VanillaEnchantmentData
|
||||
import net.minecraft.world.item.enchantment.Enchantment
|
||||
import org.bukkit.NamespacedKey
|
||||
import org.bukkit.craftbukkit.v1_20_R1.enchantments.CraftEnchantment
|
||||
|
||||
|
||||
|
@ -2,9 +2,7 @@ package com.willfp.ecoenchants.proxy.v1_20_R2
|
||||
|
||||
import com.willfp.ecoenchants.enchant.EcoEnchant
|
||||
import com.willfp.ecoenchants.enchant.VanillaEnchantmentData
|
||||
import com.willfp.ecoenchants.enchant.registration.legacy.LegacyDelegatedEnchantment
|
||||
import net.minecraft.world.item.enchantment.Enchantment
|
||||
import org.bukkit.NamespacedKey
|
||||
import org.bukkit.craftbukkit.v1_20_R2.enchantments.CraftEnchantment
|
||||
|
||||
class EcoCraftEnchantment(
|
||||
|
@ -1,6 +1,5 @@
|
||||
package com.willfp.ecoenchants.proxy.v1_20_R3
|
||||
|
||||
import com.willfp.ecoenchants.enchant.EcoEnchant
|
||||
import com.willfp.ecoenchants.enchant.EcoEnchants
|
||||
import com.willfp.ecoenchants.enchant.impl.EcoEnchantBase
|
||||
import com.willfp.ecoenchants.enchant.registration.modern.ModernEnchantmentRegistererProxy
|
||||
|
@ -11,7 +11,6 @@ import net.minecraft.world.inventory.AnvilMenu
|
||||
import net.minecraft.world.item.ItemStack
|
||||
import net.minecraft.world.item.enchantment.Enchantment
|
||||
import net.minecraft.world.item.enchantment.EnchantmentCategory
|
||||
import net.minecraft.world.item.enchantment.EnchantmentHelper
|
||||
import org.bukkit.craftbukkit.v1_20_R3.enchantments.CraftEnchantment
|
||||
import org.bukkit.craftbukkit.v1_20_R3.inventory.CraftItemStack
|
||||
import java.util.Objects
|
||||
|
@ -3,7 +3,6 @@ package com.willfp.ecoenchants.commands
|
||||
import com.willfp.eco.core.EcoPlugin
|
||||
import com.willfp.eco.core.Prerequisite
|
||||
import com.willfp.eco.core.command.impl.Subcommand
|
||||
import com.willfp.eco.util.StringUtils
|
||||
import org.bukkit.command.CommandSender
|
||||
|
||||
class CommandReload(plugin: EcoPlugin) : Subcommand(plugin, "reload", "ecoenchants.command.reload", false) {
|
||||
|
@ -6,7 +6,6 @@ import com.willfp.eco.core.placeholder.context.placeholderContext
|
||||
import com.willfp.eco.util.NumberUtils
|
||||
import com.willfp.eco.util.StringUtils
|
||||
import com.willfp.eco.util.formatEco
|
||||
import com.willfp.ecoenchants.EcoEnchantsPlugin
|
||||
import com.willfp.ecoenchants.enchant.EcoEnchantLike
|
||||
import org.bukkit.entity.Player
|
||||
|
||||
|
@ -5,8 +5,6 @@ import com.willfp.eco.util.containsIgnoreCase
|
||||
import com.willfp.ecoenchants.EcoEnchantsPlugin
|
||||
import com.willfp.ecoenchants.enchant.EcoEnchantLevel
|
||||
import com.willfp.ecoenchants.enchant.MissingDependencyException
|
||||
import com.willfp.libreforge.BlankHolder.conditions
|
||||
import com.willfp.libreforge.BlankHolder.effects
|
||||
import com.willfp.libreforge.SilentViolationContext
|
||||
import com.willfp.libreforge.effects.EffectList
|
||||
import com.willfp.libreforge.effects.Effects
|
||||
|
@ -9,8 +9,8 @@ import com.willfp.eco.core.drops.DropQueue
|
||||
import com.willfp.eco.core.fast.fast
|
||||
import com.willfp.eco.core.items.Items
|
||||
import com.willfp.ecoenchants.EcoEnchantsPlugin
|
||||
import com.willfp.ecoenchants.enchant.impl.HardcodedEcoEnchant
|
||||
import com.willfp.ecoenchants.enchant.EcoEnchant
|
||||
import com.willfp.ecoenchants.enchant.impl.HardcodedEcoEnchant
|
||||
import com.willfp.ecoenchants.target.EnchantLookup.getActiveEnchantLevelInSlot
|
||||
import com.willfp.ecoenchants.target.EnchantLookup.hasEnchantActive
|
||||
import org.bukkit.entity.Player
|
||||
|
@ -3,7 +3,6 @@ package com.willfp.ecoenchants.target
|
||||
import com.github.benmanes.caffeine.cache.Caffeine
|
||||
import com.willfp.eco.core.fast.fast
|
||||
import com.willfp.eco.core.items.HashedItem
|
||||
import com.willfp.ecoenchants.EcoEnchantsPlugin
|
||||
import com.willfp.ecoenchants.enchant.EcoEnchant
|
||||
import com.willfp.ecoenchants.enchant.EcoEnchantLevel
|
||||
import com.willfp.ecoenchants.enchant.FoundEcoEnchantLevel
|
||||
|
@ -5,7 +5,6 @@ import com.willfp.eco.core.items.Items
|
||||
import com.willfp.eco.core.items.TestableItem
|
||||
import com.willfp.eco.core.recipe.parts.EmptyTestableItem
|
||||
import com.willfp.eco.core.registry.Registrable
|
||||
import com.willfp.ecoenchants.EcoEnchantsPlugin
|
||||
import com.willfp.ecoenchants.plugin
|
||||
import com.willfp.libreforge.slot.SlotType
|
||||
import com.willfp.libreforge.slot.SlotTypes
|
||||
|
@ -6,7 +6,7 @@ import com.willfp.eco.core.registry.Registrable
|
||||
import com.willfp.ecoenchants.libreforge.TriggerEnchantType
|
||||
import com.willfp.ecoenchants.mechanics.infiniteIfNegative
|
||||
import com.willfp.libreforge.triggers.Triggers
|
||||
import java.util.*
|
||||
import java.util.Objects
|
||||
|
||||
class EnchantmentType(
|
||||
private val plugin: EcoPlugin,
|
||||
|
Loading…
Reference in New Issue
Block a user