Uses of Class
com.velocitypowered.api.event.ResultedEvent.GenericResult
Packages that use ResultedEvent.GenericResult
Package
Description
Provides core support for handling events with Velocity.
Provides events for handling incoming connections to the proxy and logins.
Provides events for handling actions performed by players.
Provides events for handling the lifecycle of the proxy.
-
Uses of ResultedEvent.GenericResult in com.btcvelocity.api.event.connection
Methods in com.btcvelocity.api.event.connection that return ResultedEvent.GenericResultModifier and TypeMethodDescriptionConnectionEstablishEvent.getResult()Returns the current result of this event.Methods in com.btcvelocity.api.event.connection with parameters of type ResultedEvent.GenericResultModifier and TypeMethodDescriptionvoidConnectionEstablishEvent.setResult(@NonNull ResultedEvent.GenericResult result) Sets the result of this event. -
Uses of ResultedEvent.GenericResult in com.velocitypowered.api.event
Methods in com.velocitypowered.api.event that return ResultedEvent.GenericResultModifier and TypeMethodDescriptionstatic ResultedEvent.GenericResultResultedEvent.GenericResult.allowed()Returns a result indicating the event is allowed to proceed.static ResultedEvent.GenericResultResultedEvent.GenericResult.denied()Returns a result indicating the event is denied. -
Uses of ResultedEvent.GenericResult in com.velocitypowered.api.event.connection
Methods in com.velocitypowered.api.event.connection that return ResultedEvent.GenericResultModifier and TypeMethodDescriptionConnectionEstablishEvent.getResult()Returns the current result of this event.Methods in com.velocitypowered.api.event.connection with parameters of type ResultedEvent.GenericResultModifier and TypeMethodDescriptionvoidConnectionEstablishEvent.setResult(@NonNull ResultedEvent.GenericResult result) Sets the result of this event. -
Uses of ResultedEvent.GenericResult in com.velocitypowered.api.event.player
Methods in com.velocitypowered.api.event.player that return ResultedEvent.GenericResultModifier and TypeMethodDescriptionServerResourcePackRemoveEvent.getResult()Returns the currentResultedEvent.GenericResultthat determines whether the resource pack removal should proceed.ServerResourcePackSendEvent.getResult()Gets theResultedEvent.GenericResultthat determines whether the resource pack will be forwarded to the player.Methods in com.velocitypowered.api.event.player with parameters of type ResultedEvent.GenericResultModifier and TypeMethodDescriptionvoidServerResourcePackRemoveEvent.setResult(ResultedEvent.GenericResult result) Sets theResultedEvent.GenericResultto control whether the resource pack removal proceeds.voidServerResourcePackSendEvent.setResult(ResultedEvent.GenericResult result) Sets theResultedEvent.GenericResultthat controls whether the resource pack is forwarded to the player. -
Uses of ResultedEvent.GenericResult in com.velocitypowered.api.event.proxy
Methods in com.velocitypowered.api.event.proxy that return ResultedEvent.GenericResultModifier and TypeMethodDescriptionProxyPingEvent.getResult()Gets whether to avoid sending a ping response to the connection.Methods in com.velocitypowered.api.event.proxy with parameters of type ResultedEvent.GenericResultModifier and TypeMethodDescriptionvoidProxyPingEvent.setResult(@NotNull ResultedEvent.GenericResult result) Sets whether to avoid sending a ping response to the connection.