Uses of Interface
com.velocitypowered.api.proxy.player.ResourcePackInfo.Builder
Packages that use ResourcePackInfo.Builder
Package
Description
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.Builder in com.velocitypowered.api.proxy
Methods in com.velocitypowered.api.proxy that return ResourcePackInfo.BuilderModifier and TypeMethodDescriptionProxyServer.createResourcePackBuilder
(String url) Creates a builder to build aResourcePackInfo
instance for use withPlayer.sendResourcePackOffer(ResourcePackInfo)
. -
Uses of ResourcePackInfo.Builder in com.velocitypowered.api.proxy.player
Methods in com.velocitypowered.api.proxy.player that return ResourcePackInfo.BuilderModifier and TypeMethodDescriptionResourcePackInfo.asBuilder()
Returns a copy of thisResourcePackInfo
instance as a builder so that it can be modified.Returns a copy of thisResourcePackInfo
instance as a builder, using the new URL.ResourcePackInfo.Builder.setHash
(@org.checkerframework.checker.nullness.qual.Nullable byte[] hash) Sets the SHA-1 hash of the provided resource pack.Sets the id of the resource pack.Sets aComponent
to display on the download prompt.ResourcePackInfo.Builder.setShouldForce
(boolean shouldForce) Sets the resource-pack as required to play on the network.