mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-12-24 20:07:34 +01:00
Moved Xray off to an extension
This commit is contained in:
parent
d919a079cb
commit
0f531665b1
@ -226,7 +226,6 @@ import com.willfp.ecoenchants.enchantments.ecoenchants.spell.Dynamite;
|
|||||||
import com.willfp.ecoenchants.enchantments.ecoenchants.spell.Missile;
|
import com.willfp.ecoenchants.enchantments.ecoenchants.spell.Missile;
|
||||||
import com.willfp.ecoenchants.enchantments.ecoenchants.spell.Quake;
|
import com.willfp.ecoenchants.enchantments.ecoenchants.spell.Quake;
|
||||||
import com.willfp.ecoenchants.enchantments.ecoenchants.spell.Vitalize;
|
import com.willfp.ecoenchants.enchantments.ecoenchants.spell.Vitalize;
|
||||||
import com.willfp.ecoenchants.enchantments.ecoenchants.spell.Xray;
|
|
||||||
import com.willfp.ecoenchants.enchantments.meta.EnchantmentType;
|
import com.willfp.ecoenchants.enchantments.meta.EnchantmentType;
|
||||||
import lombok.experimental.UtilityClass;
|
import lombok.experimental.UtilityClass;
|
||||||
import org.bukkit.NamespacedKey;
|
import org.bukkit.NamespacedKey;
|
||||||
@ -470,7 +469,6 @@ public class EcoEnchants {
|
|||||||
public static final EcoEnchant CHARGE = new Charge();
|
public static final EcoEnchant CHARGE = new Charge();
|
||||||
public static final EcoEnchant ASCEND = new Ascend();
|
public static final EcoEnchant ASCEND = new Ascend();
|
||||||
public static final EcoEnchant ARBORIST = new Arborist();
|
public static final EcoEnchant ARBORIST = new Arborist();
|
||||||
public static final EcoEnchant XRAY = new Xray();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get all registered {@link EcoEnchant}s.
|
* Get all registered {@link EcoEnchant}s.
|
||||||
|
7
eco-extensions/xray/build.gradle
Normal file
7
eco-extensions/xray/build.gradle
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
group 'com.willfp'
|
||||||
|
version '1.0.0'
|
||||||
|
description = 'Xray Extension'
|
||||||
|
|
||||||
|
jar {
|
||||||
|
archiveFileName = project.getDescription() + " v" + project.version + ".jar"
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package com.willfp.ecoenchants.enchantments.ecoenchants.spell;
|
package com.willfp.ecoenchants.xray;
|
||||||
|
|
||||||
import com.willfp.eco.util.TeamUtils;
|
import com.willfp.eco.util.TeamUtils;
|
||||||
import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.willfp.ecoenchants.xray;
|
||||||
|
|
||||||
|
import com.willfp.eco.util.extensions.Extension;
|
||||||
|
import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
||||||
|
|
||||||
|
public class XrayMain extends Extension {
|
||||||
|
public static final EcoEnchant XRAY = new Xray();
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onEnable() {
|
||||||
|
// Handled by super
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onDisable() {
|
||||||
|
// Handled by super
|
||||||
|
}
|
||||||
|
}
|
3
eco-extensions/xray/src/main/resources/extension.yml
Normal file
3
eco-extensions/xray/src/main/resources/extension.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
name: Xray
|
||||||
|
main: com.willfp.ecoenchants.xray.XrayMain
|
||||||
|
version: ${projectVersion}
|
@ -23,3 +23,4 @@ include ':eco-extensions:firewand'
|
|||||||
include ':eco-extensions:precision'
|
include ':eco-extensions:precision'
|
||||||
include ':eco-extensions:sprint-artifacts'
|
include ':eco-extensions:sprint-artifacts'
|
||||||
include ':eco-extensions:summoning'
|
include ':eco-extensions:summoning'
|
||||||
|
include ':eco-extensions:xray'
|
Loading…
Reference in New Issue
Block a user