Package org.core.platform
Interface PlatformServer
public interface PlatformServer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyBlockSnapshots(@NotNull Collection<? extends BlockSnapshot.AsyncBlockSnapshot> collection, @NotNull Plugin plugin, @NotNull Runnable onComplete)
default void
applyBlockSnapshots(@NotNull Collection<? extends BlockSnapshot.SyncBlockSnapshot> collection)
@NotNull CompletableFuture<Optional<User>>
getOfflineUser(@NotNull String lastName)
@NotNull CompletableFuture<Optional<User>>
getOfflineUser(@NotNull UUID uuid)
@NotNull Collection<CompletableFuture<User>>
default @NotNull Collection<LivePlayer>
Deprecated, for removal: This API element is subject to removal in a future version.default @NotNull Optional<WorldExtent>
default @NotNull Optional<WorldExtent>
@NotNull Optional<WorldExtent>
getWorldByPlatformSpecific(String name)
default @NotNull Set<WorldExtent>
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
getWorlds
Deprecated, for removal: This API element is subject to removal in a future version. -
getWorldExtents
Stream<WorldExtent> getWorldExtents() -
getWorldByPlatformSpecific
-
getOnlinePlayers
Deprecated, for removal: This API element is subject to removal in a future version. -
getLivePlayers
Stream<LivePlayer> getLivePlayers() -
applyBlockSnapshots
void applyBlockSnapshots(@NotNull @NotNull Collection<? extends BlockSnapshot.AsyncBlockSnapshot> collection, @NotNull @NotNull Plugin plugin, @NotNull @NotNull Runnable onComplete) -
applyBlockSnapshots
default void applyBlockSnapshots(@NotNull @NotNull Collection<? extends BlockSnapshot.SyncBlockSnapshot> collection) -
getOfflineUser
-
getOfflineUser
@NotNull @NotNull CompletableFuture<Optional<User>> getOfflineUser(@NotNull @NotNull String lastName) -
getOfflineUsers
-
getWorld
@NotNull default @NotNull Optional<WorldExtent> getWorld(@NotNull @NotNull String name, boolean justName) -
getWorld
-