Uses of Interface
com.velocitypowered.api.proxy.player.ResourcePackInfo
Packages that use ResourcePackInfo
Package
Description
Provides events for handling actions performed by players.
Provides an interface to interact with the proxy at a low level.
Provides an interface to work with players connected to the proxy.
-
Uses of ResourcePackInfo in com.velocitypowered.api.event.player
Methods in com.velocitypowered.api.event.player that return ResourcePackInfoModifier and TypeMethodDescription@Nullable ResourcePackInfo
PlayerResourcePackStatusEvent.getPackInfo()
Returns theResourcePackInfo
this response is for.ServerResourcePackSendEvent.getProvidedResourcePack()
ServerResourcePackSendEvent.getReceivedResourcePack()
Methods in com.velocitypowered.api.event.player with parameters of type ResourcePackInfoModifier and TypeMethodDescriptionvoid
ServerResourcePackSendEvent.setProvidedResourcePack
(ResourcePackInfo providedResourcePack) Constructors in com.velocitypowered.api.event.player with parameters of type ResourcePackInfoModifierConstructorDescriptionPlayerResourcePackStatusEvent
(Player player, PlayerResourcePackStatusEvent.Status status, ResourcePackInfo packInfo) Deprecated.PlayerResourcePackStatusEvent
(Player player, UUID packId, PlayerResourcePackStatusEvent.Status status, ResourcePackInfo packInfo) Instantiates this event.ServerResourcePackSendEvent
(ResourcePackInfo receivedResourcePack, ServerConnection serverConnection) Constructs a new ServerResourcePackSendEvent. -
Uses of ResourcePackInfo in com.velocitypowered.api.proxy
Methods in com.velocitypowered.api.proxy that return ResourcePackInfoModifier and TypeMethodDescription@Nullable ResourcePackInfo
Player.getAppliedResourcePack()
Deprecated.@Nullable ResourcePackInfo
Player.getPendingResourcePack()
Deprecated.Methods in com.velocitypowered.api.proxy that return types with arguments of type ResourcePackInfoModifier and TypeMethodDescription@NotNull Collection<ResourcePackInfo>
Player.getAppliedResourcePacks()
Gets theResourcePackInfo
of the currently applied resource-packs.@NotNull Collection<ResourcePackInfo>
Player.getPendingResourcePacks()
Gets theResourcePackInfo
of the resource packs the user is currently downloading or is currently prompted to install.Methods in com.velocitypowered.api.proxy with parameters of type ResourcePackInfoModifier and TypeMethodDescriptionvoid
Player.sendResourcePackOffer
(ResourcePackInfo packInfo) Queues and sends a new Resource-pack offer to the player. -
Uses of ResourcePackInfo in com.velocitypowered.api.proxy.player
Methods in com.velocitypowered.api.proxy.player that return ResourcePackInfoModifier and TypeMethodDescriptionResourcePackInfo.Builder.build()
Builds theResourcePackInfo
from the provided info for use withPlayer.sendResourcePackOffer(ResourcePackInfo)
.
(Player, UUID, Status, ResourcePackInfo)
instead.