Interface Locatable
- All Known Subinterfaces:
WrappedLocatable<T>
- All Known Implementing Classes:
ChunkWrapper, CustomBlock, LocationWrapper
public interface Locatable
-
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable org.bukkit.ChunkgetChunk()default @Nullable org.bukkit.Locationstatic <T> @NotNull WrappedLocatable<T> of(@NotNull org.bukkit.Chunk chunk, T element) static <T> @NotNull WrappedLocatable<T> of(@NotNull org.bukkit.Location location, T element)
-
Method Details
-
getLocation
@Nullable default @Nullable org.bukkit.Location getLocation() -
getChunk
@Nullable default @Nullable org.bukkit.Chunk getChunk() -
of
@NotNull static <T> @NotNull WrappedLocatable<T> of(@NotNull @NotNull org.bukkit.Location location, @NotNull T element) -
of
@NotNull static <T> @NotNull WrappedLocatable<T> of(@NotNull @NotNull org.bukkit.Chunk chunk, @NotNull T element)
-