From e9544ec8b7d67eb88d40534a34f1fa9693c2f606 Mon Sep 17 00:00:00 2001 From: Paldiu Date: Sat, 1 May 2021 02:07:36 -0500 Subject: [PATCH] Delete IStructure.java --- .../io/github/simplexdev/api/IStructure.java | 46 ------------------- 1 file changed, 46 deletions(-) delete mode 100644 src/main/java/io/github/simplexdev/api/IStructure.java diff --git a/src/main/java/io/github/simplexdev/api/IStructure.java b/src/main/java/io/github/simplexdev/api/IStructure.java deleted file mode 100644 index aad88f4..0000000 --- a/src/main/java/io/github/simplexdev/api/IStructure.java +++ /dev/null @@ -1,46 +0,0 @@ -package io.github.simplexdev.api; - -import io.github.simplexdev.simplexcore.math.Size; -import org.bukkit.Location; -import org.bukkit.NamespacedKey; -import org.bukkit.World; -import org.bukkit.block.Block; - -import java.io.File; -import java.util.Map; - -public interface IStructure { - NamespacedKey getNamespacedKey(); - - String getName(); - - /** - * Gets the location where the structure is supposed to generate. - * @return Structure Location - */ - Location getLocation(); - - World getWorld(); - - boolean shouldGenerateNaturally(); - - void generate(Location location, World world); - - void generate(Location location, World world, boolean generateNaturally); - - /** - * Gets the approximate size of the structure / schematic. - * This is for natural generation of structures, to ensure it doesn't generate somewhere - * which is occluded or otherwise populated. This will always round up to the nearest - * related size, and never down. - * @return The approximate {@link Size} of the structure. - */ - Size getApproximateSize(); - - Block[] getBlocks(); - - Map getBlockLocations(); - - File getStructureFile(); -} -