Move some methods to RegionAccessor (#7635)

This commit is contained in:
Jake Potrebic
2022-06-05 13:51:44 -07:00
parent bcde5dbffe
commit 943212b776
8 changed files with 87 additions and 47 deletions

View File

@@ -8,7 +8,7 @@ diff --git a/src/main/java/org/bukkit/RegionAccessor.java b/src/main/java/org/bu
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
--- a/src/main/java/org/bukkit/RegionAccessor.java
+++ b/src/main/java/org/bukkit/RegionAccessor.java
@@ -0,0 +0,0 @@ public interface RegionAccessor {
@@ -0,0 +0,0 @@ public interface RegionAccessor extends Keyed { // Paper
*
* @param location the location of the biome
* @return Biome at the given location
@@ -16,7 +16,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
*/
@NotNull
Biome getBiome(@NotNull Location location);
@@ -0,0 +0,0 @@ public interface RegionAccessor {
@@ -0,0 +0,0 @@ public interface RegionAccessor extends Keyed { // Paper
* @param y Y-coordinate of the block
* @param z Z-coordinate of the block
* @return Biome at the given coordinates