diff --git a/SpigotCore_10/pom.xml b/SpigotCore_10/pom.xml new file mode 100644 index 0000000..8e3d942 --- /dev/null +++ b/SpigotCore_10/pom.xml @@ -0,0 +1,53 @@ + + + 4.0.0 + + + steamwar + SpigotCore + 2.0 + + + SpigotCore_10 + 2.0 + + + src + + + src + + **/*.java + **/*.kt + + + + + + + + steamwar + Spigot + 1.10 + provided + + + steamwar + WorldEdit + 1.0 + provided + + + steamwar + SpigotCore_API + 2.0 + + + steamwar + SpigotCore_9 + 2.0 + + + diff --git a/SpigotCore_10/src/de/steamwar/inventory/SWInventory_10.java b/SpigotCore_10/src/de/steamwar/inventory/SWInventory_10.java new file mode 100644 index 0000000..2b4c1e4 --- /dev/null +++ b/SpigotCore_10/src/de/steamwar/inventory/SWInventory_10.java @@ -0,0 +1,13 @@ +package de.steamwar.inventory; + +import org.bukkit.craftbukkit.v1_10_R1.inventory.CraftInventoryCustom; +import org.bukkit.entity.Player; +import org.bukkit.inventory.Inventory; + +class SWInventory_10 { + private SWInventory_10(){} + + static Inventory get(Player player, int size, String title){ + return new CraftInventoryCustom(player, size, title); + } +} diff --git a/SpigotCore_10/src/de/steamwar/inventory/SWItem_10.java b/SpigotCore_10/src/de/steamwar/inventory/SWItem_10.java new file mode 100644 index 0000000..6cea915 --- /dev/null +++ b/SpigotCore_10/src/de/steamwar/inventory/SWItem_10.java @@ -0,0 +1,21 @@ +package de.steamwar.inventory; + +import org.bukkit.Material; +import org.bukkit.OfflinePlayer; +import org.bukkit.inventory.meta.SkullMeta; + +class SWItem_10 { + private SWItem_10(){} + + static Material getMaterial(String material){ + return SWItem_8.getMaterial(material); + } + + static Material getDye(){ + return SWItem_8.getDye(); + } + + static void setSkullOwner(OfflinePlayer player, SkullMeta meta){ + SWItem_8.setSkullOwner(player, meta); + } +} diff --git a/SpigotCore_10/src/de/steamwar/sql/Schematic_10.java b/SpigotCore_10/src/de/steamwar/sql/Schematic_10.java new file mode 100644 index 0000000..4afcc91 --- /dev/null +++ b/SpigotCore_10/src/de/steamwar/sql/Schematic_10.java @@ -0,0 +1,23 @@ +package de.steamwar.sql; + +import com.sk89q.worldedit.extent.clipboard.Clipboard; +import org.bukkit.entity.Player; + +import java.io.IOException; +import java.io.InputStream; + +class Schematic_10 { + private Schematic_10(){} + + static byte[] getPlayerClipboard(Player player) throws IOException, NoClipboardException { + return Schematic_8.getPlayerClipboard(player); + } + + static void setPlayerClipboard(Player player, InputStream is) throws IOException { + Schematic_8.setPlayerClipboard(player, is); + } + + static Clipboard getClipboard(InputStream is) throws IOException { + return Schematic_8.getClipboard(is); + } +} diff --git a/SpigotCore_Main/src/de/steamwar/sql/DownloadSchematic.java b/SpigotCore_Main/src/de/steamwar/sql/DownloadSchematic.java new file mode 100644 index 0000000..545825a --- /dev/null +++ b/SpigotCore_Main/src/de/steamwar/sql/DownloadSchematic.java @@ -0,0 +1,7 @@ +package de.steamwar.sql; + +public class DownloadSchematic { + public DownloadSchematic(Schematic schem){ + SQL.update(""); + } +}