-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8d929d2
commit 2dbf55d
Showing
3 changed files
with
70 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
src/main/java/com/github/angeschossen/pluginframework/api/blockutil/UnloadedPosition.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package com.github.angeschossen.pluginframework.api.blockutil; | ||
|
||
import org.bukkit.Location; | ||
import org.jetbrains.annotations.NotNull; | ||
import org.jetbrains.annotations.Nullable; | ||
|
||
public interface UnloadedPosition { | ||
boolean isTargetServer(); | ||
|
||
int getBlockX(); | ||
|
||
int getBlockY(); | ||
|
||
int getBlockZ(); | ||
|
||
int getChunkX(); | ||
|
||
int getChunkZ(); | ||
|
||
@Nullable | ||
Location toLocation(); | ||
|
||
@NotNull | ||
String getWorldName(); | ||
|
||
double getX(); | ||
|
||
double getY(); | ||
|
||
double getZ(); | ||
|
||
String getServerName(); | ||
|
||
float getYaw(); | ||
|
||
float getPitch(); | ||
|
||
boolean isChunkLoaded(); | ||
|
||
boolean isWorldLoaded(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters