Refactored modules

This commit is contained in:
Auxilor 2020-10-12 18:45:24 +01:00
parent a2e2f6888c
commit fea61a382d
18 changed files with 33 additions and 15 deletions

View File

@ -1,4 +1,4 @@
package com.willfp.ecoenchants.API; package com.willfp.ecoenchants.nms.API;
import org.bukkit.block.Block; import org.bukkit.block.Block;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;

View File

@ -1,4 +1,4 @@
package com.willfp.ecoenchants.API; package com.willfp.ecoenchants.nms.API;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;

View File

@ -1,4 +1,4 @@
package com.willfp.ecoenchants.API; package com.willfp.ecoenchants.nms.API;
import org.bukkit.entity.Trident; import org.bukkit.entity.Trident;
import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.ItemStack;

View File

@ -25,5 +25,11 @@
<version>1.15.2-R0.1-SNAPSHOT</version> <version>1.15.2-R0.1-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency>
<groupId>com.willfp.ecoenchants</groupId>
<artifactId>Interfacing</artifactId>
<version>5.0.0-beta25</version>
<scope>compile</scope>
</dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -1,6 +1,6 @@
package com.willfp.ecoenchants.v1_15_R1; package com.willfp.ecoenchants.v1_15_R1;
import com.willfp.ecoenchants.API.BlockBreakWrapper; import com.willfp.ecoenchants.nms.API.BlockBreakWrapper;
import net.minecraft.server.v1_15_R1.BlockPosition; import net.minecraft.server.v1_15_R1.BlockPosition;
import org.bukkit.block.Block; import org.bukkit.block.Block;
import org.bukkit.craftbukkit.v1_15_R1.entity.CraftPlayer; import org.bukkit.craftbukkit.v1_15_R1.entity.CraftPlayer;

View File

@ -1,6 +1,6 @@
package com.willfp.ecoenchants.v1_15_R1; package com.willfp.ecoenchants.v1_15_R1;
import com.willfp.ecoenchants.API.CooldownWrapper; import com.willfp.ecoenchants.nms.API.CooldownWrapper;
import net.minecraft.server.v1_15_R1.EntityHuman; import net.minecraft.server.v1_15_R1.EntityHuman;
import org.bukkit.craftbukkit.v1_15_R1.entity.CraftPlayer; import org.bukkit.craftbukkit.v1_15_R1.entity.CraftPlayer;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;

View File

@ -1,6 +1,6 @@
package com.willfp.ecoenchants.v1_15_R1; package com.willfp.ecoenchants.v1_15_R1;
import com.willfp.ecoenchants.API.TridentStackWrapper; import com.willfp.ecoenchants.nms.API.TridentStackWrapper;
import net.minecraft.server.v1_15_R1.EntityThrownTrident; import net.minecraft.server.v1_15_R1.EntityThrownTrident;
import org.bukkit.craftbukkit.v1_15_R1.entity.CraftTrident; import org.bukkit.craftbukkit.v1_15_R1.entity.CraftTrident;
import org.bukkit.craftbukkit.v1_15_R1.inventory.CraftItemStack; import org.bukkit.craftbukkit.v1_15_R1.inventory.CraftItemStack;

View File

@ -25,5 +25,11 @@
<version>1.16.1-R0.1-SNAPSHOT</version> <version>1.16.1-R0.1-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency>
<groupId>com.willfp.ecoenchants</groupId>
<artifactId>Interfacing</artifactId>
<version>5.0.0-beta25</version>
<scope>compile</scope>
</dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -1,6 +1,6 @@
package com.willfp.ecoenchants.v1_16_R1; package com.willfp.ecoenchants.v1_16_R1;
import com.willfp.ecoenchants.API.BlockBreakWrapper; import com.willfp.ecoenchants.nms.API.BlockBreakWrapper;
import net.minecraft.server.v1_16_R1.BlockPosition; import net.minecraft.server.v1_16_R1.BlockPosition;
import org.bukkit.block.Block; import org.bukkit.block.Block;
import org.bukkit.craftbukkit.v1_16_R1.entity.CraftPlayer; import org.bukkit.craftbukkit.v1_16_R1.entity.CraftPlayer;

View File

@ -1,6 +1,6 @@
package com.willfp.ecoenchants.v1_16_R1; package com.willfp.ecoenchants.v1_16_R1;
import com.willfp.ecoenchants.API.CooldownWrapper; import com.willfp.ecoenchants.nms.API.CooldownWrapper;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
public class Cooldown implements CooldownWrapper { public class Cooldown implements CooldownWrapper {

View File

@ -1,6 +1,6 @@
package com.willfp.ecoenchants.v1_16_R1; package com.willfp.ecoenchants.v1_16_R1;
import com.willfp.ecoenchants.API.TridentStackWrapper; import com.willfp.ecoenchants.nms.API.TridentStackWrapper;
import net.minecraft.server.v1_16_R1.EntityThrownTrident; import net.minecraft.server.v1_16_R1.EntityThrownTrident;
import org.bukkit.craftbukkit.v1_16_R1.entity.CraftTrident; import org.bukkit.craftbukkit.v1_16_R1.entity.CraftTrident;
import org.bukkit.craftbukkit.v1_16_R1.inventory.CraftItemStack; import org.bukkit.craftbukkit.v1_16_R1.inventory.CraftItemStack;

View File

@ -25,5 +25,11 @@
<version>1.16.2-R0.1-SNAPSHOT</version> <version>1.16.2-R0.1-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency>
<groupId>com.willfp.ecoenchants</groupId>
<artifactId>Interfacing</artifactId>
<version>5.0.0-beta25</version>
<scope>compile</scope>
</dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -1,6 +1,6 @@
package com.willfp.ecoenchants.v1_16_R2; package com.willfp.ecoenchants.v1_16_R2;
import com.willfp.ecoenchants.API.BlockBreakWrapper; import com.willfp.ecoenchants.nms.API.BlockBreakWrapper;
import net.minecraft.server.v1_16_R2.BlockPosition; import net.minecraft.server.v1_16_R2.BlockPosition;
import org.bukkit.block.Block; import org.bukkit.block.Block;
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftPlayer; import org.bukkit.craftbukkit.v1_16_R2.entity.CraftPlayer;

View File

@ -1,6 +1,6 @@
package com.willfp.ecoenchants.v1_16_R2; package com.willfp.ecoenchants.v1_16_R2;
import com.willfp.ecoenchants.API.CooldownWrapper; import com.willfp.ecoenchants.nms.API.CooldownWrapper;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
public class Cooldown implements CooldownWrapper { public class Cooldown implements CooldownWrapper {

View File

@ -1,6 +1,6 @@
package com.willfp.ecoenchants.v1_16_R2; package com.willfp.ecoenchants.v1_16_R2;
import com.willfp.ecoenchants.API.TridentStackWrapper; import com.willfp.ecoenchants.nms.API.TridentStackWrapper;
import net.minecraft.server.v1_16_R2.EntityThrownTrident; import net.minecraft.server.v1_16_R2.EntityThrownTrident;
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftTrident; import org.bukkit.craftbukkit.v1_16_R2.entity.CraftTrident;
import org.bukkit.craftbukkit.v1_16_R2.inventory.CraftItemStack; import org.bukkit.craftbukkit.v1_16_R2.inventory.CraftItemStack;

View File

@ -1,7 +1,7 @@
package com.willfp.ecoenchants.nms; package com.willfp.ecoenchants.nms;
import com.willfp.ecoenchants.API.BlockBreakWrapper; import com.willfp.ecoenchants.nms.API.BlockBreakWrapper;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.block.Block; import org.bukkit.block.Block;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;

View File

@ -1,7 +1,7 @@
package com.willfp.ecoenchants.nms; package com.willfp.ecoenchants.nms;
import com.willfp.ecoenchants.API.CooldownWrapper; import com.willfp.ecoenchants.nms.API.CooldownWrapper;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;

View File

@ -1,7 +1,7 @@
package com.willfp.ecoenchants.nms; package com.willfp.ecoenchants.nms;
import com.willfp.ecoenchants.API.TridentStackWrapper; import com.willfp.ecoenchants.nms.API.TridentStackWrapper;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.entity.Trident; import org.bukkit.entity.Trident;
import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.ItemStack;