Initial commit

This commit is contained in:
Auxilor
2020-08-28 16:14:36 +01:00
commit d0f72ac3d1
447 changed files with 22506 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
package com.willfp.ecoenchants.API;
import org.bukkit.block.Block;
import org.bukkit.entity.Player;
public interface BlockBreakWrapper {
public void breakBlock(Player player, Block block);
}

View File

@@ -0,0 +1,7 @@
package com.willfp.ecoenchants.API;
import org.bukkit.entity.Player;
public interface CooldownWrapper {
double getAttackCooldown(Player player);
}

View File

@@ -0,0 +1,8 @@
package com.willfp.ecoenchants.API;
import org.bukkit.enchantments.Enchantment;
public interface NMSEnchantManagerWrapper {
void init(Enchantment enchantment);
void debug();
}

View File

@@ -0,0 +1,29 @@
package com.willfp.ecoenchants.API;
import org.bukkit.Material;
import java.util.HashSet;
import java.util.Set;
public interface TargetWrapper {
Set<Material> TOOL = new HashSet<>();
Set<Material> ROD = new HashSet<>();
Set<Material> ARMOR = new HashSet<>();
Set<Material> ALL = new HashSet<>();
Set<Material> AXE = new HashSet<>();
Set<Material> BOOK = new HashSet<>();
Set<Material> PICKAXE = new HashSet<>();
Set<Material> HOE = new HashSet<>();
Set<Material> SHOVEL = new HashSet<>();
Set<Material> SWORD = new HashSet<>();
Set<Material> HELMET = new HashSet<>();
Set<Material> CHESTPLATE = new HashSet<>();
Set<Material> LEGGINGS = new HashSet<>();
Set<Material> BOOTS = new HashSet<>();
Set<Material> ELYTRA = new HashSet<>();
Set<Material> BOW = new HashSet<>();
Set<Material> CROSSBOW = new HashSet<>();
Set<Material> SHEARS = new HashSet<>();
Set<Material> TRIDENT = new HashSet<>();
Set<Material> SHIELD = new HashSet<>();
}

View File

@@ -0,0 +1,8 @@
package com.willfp.ecoenchants.API;
import org.bukkit.entity.Trident;
import org.bukkit.inventory.ItemStack;
public interface TridentStackWrapper {
ItemStack getTridentStack(Trident trident);
}