Skip to content

Commit

Permalink
Minor API Changes for 0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Outspending committed Jan 4, 2024
1 parent bff26f7 commit 5620708
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 177 deletions.
5 changes: 0 additions & 5 deletions Plugin/build.gradle.kts

This file was deleted.

17 changes: 0 additions & 17 deletions Plugin/src/main/java/me/outspending/biomesapi/plugin/Main.java

This file was deleted.

4 changes: 0 additions & 4 deletions Plugin/src/main/resources/plugin.yml

This file was deleted.

12 changes: 0 additions & 12 deletions Skript/build.gradle.kts

This file was deleted.

17 changes: 0 additions & 17 deletions Skript/src/main/java/me/outspending/biomesapi/skript/Main.java

This file was deleted.

4 changes: 0 additions & 4 deletions Skript/src/main/resources/plugin.yml

This file was deleted.

5 changes: 1 addition & 4 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,4 @@ include("NMS:1.19_R2")
include("NMS:1.19_R3")
include("NMS:1.20_R1")
include("NMS:1.20_R2")
include("NMS:1.20_R3")

include("Plugin")
include("Skript")
include("NMS:1.20_R3")
24 changes: 0 additions & 24 deletions src/main/java/me/outspending/biomesapi/biome/BiomeCreator.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,4 @@ public static boolean isBiome(@NotNull BiomeResourceKey resourceKey) {
return getBiome(resourceKey) != null;
}

// TODO: Add a method to get a biome from a location
@AsOf("0.0.2")
public static @Nullable CustomBiome getBiome(@NotNull Location location) {
return null;
}

}
10 changes: 10 additions & 0 deletions src/main/java/me/outspending/biomesapi/setter/BiomeSetter.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ public interface BiomeSetter {
int MIN_HEIGHT = -64;
int MAX_HEIGHT = 320;

/**
* Returns a new instance of the BiomeSetter interface.
*
* @return a new instance of the BiomeSetter interface
* @version 0.0.1
*/
static BiomeSetter of() {
return new GlobalBiomeSetter();
}

/**
* Returns the RegionAccessor for the given location.
*
Expand Down

This file was deleted.

0 comments on commit 5620708

Please sign in to comment.