Uses of Interface
com.janboerman.invsee.spigot.api.response.NotCreatedReason
Packages that use NotCreatedReason
-
Uses of NotCreatedReason in com.janboerman.invsee.spigot.api.response
Classes in com.janboerman.invsee.spigot.api.response that implement NotCreatedReasonModifier and TypeClassDescriptionclassclassDeprecated.classInventories of offline players could not be opened.classThe target player does not exist.classThe target player is exempted from being spectated.classWe don't know why the SpectatorInventory could not be created or opened.classThe target player has not been on the server before.Methods in com.janboerman.invsee.spigot.api.response that return NotCreatedReasonModifier and TypeMethodDescriptionInventoryNotCreated.getNotCreatedReason()Get why theSpectatorInventorycould not be created.SpectateResponse.getReason()Get the reason why the spectator inventory could not be created.Methods in com.janboerman.invsee.spigot.api.response with parameters of type NotCreatedReasonModifier and TypeMethodDescriptionstatic <SI extends SpectatorInventory<?>>
SpectateResponse<SI> SpectateResponse.fail(NotCreatedReason reason) Create a failed SpectateResponse.static <SI extends SpectatorInventory<?>>
SpectateResponse<SI> SpectateResponse.fromOptional(Optional<SI> optional, NotCreatedReason ifEmpty) Convert anOptionalinto a SpectateResponse.static InventoryNotCreatedNotOpenedReason.notCreated(NotCreatedReason notCreatedReason) Method parameters in com.janboerman.invsee.spigot.api.response with type arguments of type NotCreatedReasonModifier and TypeMethodDescriptiondefault voidSpectateResponse.ifFailure(Consumer<? super NotCreatedReason> reasonConsumer) Much likeOptional.ifPresent(Consumer)