Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaperMC/Velocity
/ functions
Functions
3,479 in github.com/PaperMC/Velocity
⨍
Functions
3,479
◇
Types & classes
619
↓ 2 callers
Method
setGameMode
Sets the game mode for {@code this} entry to the specified value. @param gameMode to change to @return {@code this}, for chaining @see #getGameMode()
api/src/main/java/com/velocitypowered/api/proxy/player/TabListEntry.java:121
↓ 2 callers
Method
setHash
(String hash)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/ResourcePackRequestPacket.java:70
↓ 2 callers
Method
setInstance
(Object instance)
proxy/src/main/java/com/velocitypowered/proxy/plugin/loader/VelocityPluginContainer.java:50
↓ 2 callers
Method
setIntent
(HandshakeIntent intent)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/HandshakePacket.java:69
↓ 2 callers
Method
setLatency
(int latency)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/UpsertPlayerInfoPacket.java:280
↓ 2 callers
Method
setLatency
Sets the latency for {@code this} entry to the specified value. @param latency to changed to @return {@code this}, for chaining @see #getLatency()
api/src/main/java/com/velocitypowered/api/proxy/player/TabListEntry.java:97
↓ 2 callers
Method
setLatencyInternal
(int latency)
proxy/src/main/java/com/velocitypowered/proxy/tablist/KeyedVelocityTabListEntry.java:91
↓ 2 callers
Method
setLength
(int length)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/TabCompleteResponsePacket.java:60
↓ 2 callers
Method
setListOrder
(int listOrder)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/UpsertPlayerInfoPacket.java:296
↓ 2 callers
Method
setListed
(boolean listed)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/UpsertPlayerInfoPacket.java:276
↓ 2 callers
Method
setMessage
(String message)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/legacy/LegacyChatPacket.java:75
↓ 2 callers
Method
setName
(ComponentHolder name)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/BossBarPacket.java:156
↓ 2 callers
Method
setOrigin
(Origin origin)
proxy/src/main/java/com/velocitypowered/proxy/connection/player/resourcepack/VelocityResourcePackInfo.java:189
↓ 2 callers
Method
setOriginalOrigin
(Origin originalOrigin)
proxy/src/main/java/com/velocitypowered/proxy/connection/player/resourcepack/VelocityResourcePackInfo.java:85
↓ 2 callers
Method
setOverlay
(int overlay)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/BossBarPacket.java:180
↓ 2 callers
Method
setPacketLimiter
(@Nullable PacketLimiter packetLimiter)
proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftCompressDecoder.java:127
↓ 2 callers
Method
setPercent
(float percent)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/BossBarPacket.java:164
↓ 2 callers
Method
setPlayerKey
(IdentifiedKey playerKey)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/ServerLoginPacket.java:66
↓ 2 callers
Method
setPlayerKey
(IdentifiedKey playerKey)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LegacyPlayerListItemPacket.java:252
↓ 2 callers
Method
setPort
(int port)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/HandshakePacket.java:61
↓ 2 callers
Method
setProperties
(List<GameProfile.Property> properties)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LegacyPlayerListItemPacket.java:220
↓ 2 callers
Method
setProtocolVersion
(ProtocolVersion protocolVersion)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/HandshakePacket.java:45
↓ 2 callers
Method
setShowHat
(boolean showHat)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/UpsertPlayerInfoPacket.java:292
↓ 2 callers
Method
setState
(StateRegistry state)
proxy/src/main/java/com/velocitypowered/proxy/protocol/netty/MinecraftEncoder.java:74
↓ 2 callers
Method
setStay
(int stay)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/title/GenericTitlePacket.java:79
↓ 2 callers
Method
setupRegistry
()
proxy/src/test/java/com/velocitypowered/proxy/protocol/PacketRegistryTest.java:45
↓ 2 callers
Method
shallowCopyAsBuilder
Creates a copy of the given literal with the specified name. @param original the literal node to copy @param newName the name of the returned litera
proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommands.java:218
↓ 2 callers
Method
shouldQueryShowPlugins
Whether GameSpy 4 queries should show plugins installed on Velocity by default. @return show plugins in query
api/src/main/java/com/velocitypowered/api/proxy/config/ProxyConfig.java:47
↓ 2 callers
Method
sortedServerList
(ProxyServer proxy)
proxy/src/main/java/com/velocitypowered/proxy/command/builtin/BuiltinCommandUtil.java:33
↓ 2 callers
Method
sync
(TestEvent event)
proxy/src/test/java/com/velocitypowered/proxy/event/EventTest.java:148
↓ 2 callers
Method
tabList
Sets the parent {@link TabList} for this entry, the entry will only be able to be added to that specific {@link TabList}. @param tabList to set @retu
api/src/main/java/com/velocitypowered/api/proxy/player/TabListEntry.java:221
↓ 2 callers
Method
tickResourcePackQueue
(final @NotNull UUID uuid)
proxy/src/main/java/com/velocitypowered/proxy/connection/player/resourcepack/handler/ModernResourcePackHandler.java:110
↓ 2 callers
Method
toBuilder
Creates a new {@link Builder} instance from data represented by this response, so that you may create a new {@link QueryResponse} with new data. It is
api/src/main/java/com/velocitypowered/api/proxy/server/QueryResponse.java:159
↓ 2 callers
Method
toClient
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/builder/ChatBuilderV2.java:87
↓ 2 callers
Method
toProtocolState
Gets the API representation of the StateRegistry. @return the API representation
proxy/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java:897
↓ 2 callers
Method
toServer
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/session/SessionChatBuilder.java:42
↓ 2 callers
Method
toString
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/util/DeferredByteBufHolder.java:143
↓ 2 callers
Method
twosComplementHexdigest
Generates a hex digest in two's complement form for use with the Mojang joinedServer endpoint. @param digest the bytes to digest @return the hex dige
proxy/src/main/java/com/velocitypowered/proxy/crypto/EncryptionUtils.java:178
↓ 2 callers
Method
unregisterIf
(final Predicate<HandlerRegistration> predicate)
proxy/src/main/java/com/velocitypowered/proxy/event/VelocityEventManager.java:477
↓ 2 callers
Method
unwrap
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/util/ByteBufDataInput.java:43
↓ 2 callers
Method
updateAndAdd
Convenience method that advances the window to the current time and then adds {@code count} units at that time. @param count the amount to add (non-n
proxy/src/main/java/com/velocitypowered/proxy/util/IntervalledCounter.java:163
↓ 2 callers
Method
updateCurrentTime
Advances the window to the current time using {@link System#nanoTime()}, evicting any data points that have fallen outside of the interval and updatin
proxy/src/main/java/com/velocitypowered/proxy/util/IntervalledCounter.java:83
↓ 2 callers
Method
useTcpFastOpen
()
proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java:398
↓ 2 callers
Method
validate
Attempts to validate the configuration. @return {@code true} if the configuration is sound, {@code false} if not
proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java:143
↓ 2 callers
Method
validateData
(@Nullable UUID verify)
proxy/src/main/java/com/velocitypowered/proxy/crypto/IdentifiedKeyImpl.java:118
↓ 2 callers
Method
version
Uses the modified {@code version} info in the response. @param version version info to set @return this builder, for chaining
api/src/main/java/com/velocitypowered/api/proxy/server/ServerPing.java:172
↓ 2 callers
Method
withLastSeenMessages
(LastSeenMessages lastSeenMessages)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/session/SessionPlayerChatPacket.java:103
↓ 2 callers
Method
wrap
Walks the command node tree and wraps all {@link Command} instances in a {@link VelocityBrigadierCommandWrapper}, to indicate the plugin that register
proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommands.java:60
↓ 2 callers
Method
wrap
Transforms the given command into a {@code VelocityBrigadierCommandWrapper} if the registrant is not null and if the command is not already wrapped.
proxy/src/main/java/com/velocitypowered/proxy/command/brigadier/VelocityBrigadierCommandWrapper.java:47
↓ 2 callers
Method
writeDisplayName
(ByteBuf buf, @Nullable Component displayName, ProtocolVersion version)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LegacyPlayerListItemPacket.java:166
↓ 2 callers
Method
writeDouble
(double v)
proxy/src/main/java/com/velocitypowered/proxy/protocol/util/ByteBufDataOutput.java:96
↓ 2 callers
Method
writeExtendedForgeShort
Writes a Minecraft-style extended short to the specified {@code buf}. @param buf buf to write @param toWrite the extended short to write
proxy/src/main/java/com/velocitypowered/proxy/protocol/ProtocolUtils.java:758
↓ 2 callers
Method
writeMinimalKey
Writes the key to the buffer, dropping the "minecraft:" namespace when present. @param buf the buffer to write to @param key the key to write
proxy/src/main/java/com/velocitypowered/proxy/protocol/ProtocolUtils.java:349
↓ 2 callers
Method
writeReadTestOld
(ByteBuf buf, int test)
proxy/src/test/java/com/velocitypowered/proxy/protocol/ProtocolUtilsTest.java:71
↓ 2 callers
Method
writeSoundSource
Writes a {@link Sound.Source} to the buffer. @param buf the buffer @param version the protocol version @param source the sound source to write
proxy/src/main/java/com/velocitypowered/proxy/protocol/ProtocolUtils.java:853
↓ 1 callers
Method
accumulateAckCount
(int ackCount)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/ChatQueue.java:177
↓ 1 callers
Method
addAction
(Action action)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/UpsertPlayerInfoPacket.java:71
↓ 1 callers
Method
addAlias
(final LiteralCommandNode<S> node, final RootCommandNode<S> dest)
proxy/src/main/java/com/velocitypowered/proxy/command/CommandGraphInjector.java:143
↓ 1 callers
Method
addEntry
(Entry entry)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/UpsertPlayerInfoPacket.java:79
↓ 1 callers
Method
addGameProfileTokensIfRequired
Adds properties to the {@link GameProfile} if required. If any properties are added, the returned {@link GameProfile} will be a copy. @param original
proxy/src/main/java/com/velocitypowered/proxy/connection/ConnectionType.java:52
↓ 1 callers
Method
addPath
(Path path)
proxy/src/main/java/com/velocitypowered/proxy/plugin/PluginClassLoader.java:48
↓ 1 callers
Method
addPlayPacketQueueHandler
Adds the play packet queue handler.
proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java:416
↓ 1 callers
Method
addPlayer
(ConnectedPlayer player)
proxy/src/main/java/com/velocitypowered/proxy/server/VelocityRegisteredServer.java:141
↓ 1 callers
Method
addSessionHandler
Adds a secondary session handler for this connection. @param registry the registry of the handler @param sessionHandler the handler to use
proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java:525
↓ 1 callers
Method
addToClassloaders
()
proxy/src/main/java/com/velocitypowered/proxy/plugin/PluginClassLoader.java:44
↓ 1 callers
Method
allowed
()
api/src/main/java/com/velocitypowered/api/event/ResultedEvent.java:73
↓ 1 callers
Method
allowed
()
api/src/main/java/com/velocitypowered/api/event/ResultedEvent.java:117
↓ 1 callers
Method
allowed
Returns a result indicating the connection will be allowed through the proxy. @return the allowed result
api/src/main/java/com/velocitypowered/api/event/connection/PreLoginEvent.java:159
↓ 1 callers
Method
allowed
Allows the command to be sent, without modification. @return the allowed result
api/src/main/java/com/velocitypowered/api/event/command/CommandExecuteEvent.java:217
↓ 1 callers
Method
allowed
Allows the player to connect to the specified server. @param server the new server to connect to @return a result to allow the player to connect to t
api/src/main/java/com/velocitypowered/api/event/player/ServerPreConnectEvent.java:158
↓ 1 callers
Method
anonymizeInetAddress
Anonymises or redacts a given {@link InetAddress} public address bits. @param address The address to redact @return {@link String} address with publi
proxy/src/main/java/com/velocitypowered/proxy/util/InformationUtils.java:147
↓ 1 callers
Method
asBuilder
Returns a copy of this {@link ResourcePackInfo} instance as a builder so that it can be modified. It is <b>not</b> guaranteed that {@code resourcePack
api/src/main/java/com/velocitypowered/api/proxy/player/ResourcePackInfo.java:86
↓ 1 callers
Method
asGroup
Returns a view of this resolver as a AddressResolverGroup. @return a view of this resolver as a AddressResolverGroup
proxy/src/main/java/com/velocitypowered/proxy/network/netty/SeparatePoolInetNameResolver.java:122
↓ 1 callers
Method
attemptPingPassthrough
(VelocityInboundConnection connection, PingPassthroughMode mode, List<String> servers, ProtocolVersion r
proxy/src/main/java/com/velocitypowered/proxy/connection/util/ServerListPingHandler.java:84
↓ 1 callers
Method
awaitCompletion
()
proxy/src/main/java/com/velocitypowered/proxy/scheduler/VelocityScheduler.java:313
↓ 1 callers
Method
awaitProxyShutdown
()
proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java:235
↓ 1 callers
Method
beforeHandle
()
proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftSessionHandler.java:95
↓ 1 callers
Method
buildEntry
Builds a tab list entry. @param profile profile @param displayName display name @param latency latency @param gameMode game mode @return e
api/src/main/java/com/velocitypowered/api/proxy/player/TabList.java:120
↓ 1 callers
Method
buildHandler
(Object targetInstance)
proxy/src/main/java/com/velocitypowered/proxy/event/UntargetedEventHandler.java:31
↓ 1 callers
Method
buildUntargetedHandler
(final Method method)
proxy/src/main/java/com/velocitypowered/proxy/event/CustomHandlerAdapter.java:60
↓ 1 callers
Method
bundlePackets
Bundles all packets sent in the given Runnable.
proxy/src/main/java/com/velocitypowered/proxy/connection/player/bundle/BundleDelimiterHandler.java:60
↓ 1 callers
Method
callCommandEvent
Fires a {@link CommandExecuteEvent}. @param source the source to execute the command for @param cmdLine the command to execute @param invocationInfo
proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommandManager.java:224
↓ 1 callers
Method
canRegisterConnection
Checks if the {@code connection} can be registered with the proxy. @param connection the connection to check @return {@code true} if we can register
proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java:700
↓ 1 callers
Method
chatSession
Sets the {@link IdentifiedKey} of the {@link TabListEntry}. <p>This only works for players currently <b>not</b> connected to this proxy.</p> <p>For an
api/src/main/java/com/velocitypowered/api/proxy/player/TabListEntry.java:248
↓ 1 callers
Method
cleanSectionSymbol
(String string)
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LegacyDisconnect.java:72
↓ 1 callers
Method
cleanServerName
TOML requires keys to match a regex of {@code [A-Za-z0-9_-]} unless it is wrapped in quotes; however, the TOML parser returns the key with the quotes
proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java:686
↓ 1 callers
Method
clearAll
Clears all entries from the tab list.
api/src/main/java/com/velocitypowered/api/proxy/player/TabList.java:108
↓ 1 callers
Method
clearAllSilent
()
proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabList.java:222
↓ 1 callers
Method
clearAllSilent
()
proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabListLegacy.java:80
↓ 1 callers
Method
clearAllSilent
()
proxy/src/main/java/com/velocitypowered/proxy/tablist/KeyedVelocityTabList.java:143
↓ 1 callers
Method
close
()
proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/ChatQueue.java:124
↓ 1 callers
Method
collectEnvironmentInfo
Creates a {@link JsonObject} containing information about the current environment the project is run under. @return {@link JsonObject} containing env
proxy/src/main/java/com/velocitypowered/proxy/util/InformationUtils.java:103
↓ 1 callers
Method
collectForcedHosts
Creates a {@link JsonObject} containing information about the forced hosts of the {@link ProxyConfig} instance. @return {@link JsonArray} containing
proxy/src/main/java/com/velocitypowered/proxy/util/InformationUtils.java:127
↓ 1 callers
Method
collectMethods
(final Class<?> targetClass, final Map<String, MethodHandlerInfo> collected)
proxy/src/main/java/com/velocitypowered/proxy/event/VelocityEventManager.java:270
↓ 1 callers
Method
collectPluginInfo
Retrieves a {@link JsonArray} containing basic information about all running plugins on the {@link ProxyServer} instance. @param proxy the proxy inst
proxy/src/main/java/com/velocitypowered/proxy/util/InformationUtils.java:57
↓ 1 callers
Method
collectProxyConfig
Creates a {@link JsonObject} containing most relevant information of the {@link ProxyConfig} for diagnosis. @param config the config instance to retr
proxy/src/main/java/com/velocitypowered/proxy/util/InformationUtils.java:227
↓ 1 callers
Method
collectProxyInfo
Creates a {@link JsonObject} containing information about the current environment the project is run under. @param version the proxy instance to retr
proxy/src/main/java/com/velocitypowered/proxy/util/InformationUtils.java:216
↓ 1 callers
Method
collectServerInfo
Creates a {@link JsonObject} containing most relevant information of the {@link RegisteredServer} for diagnosis. @param server the server to evaluate
proxy/src/main/java/com/velocitypowered/proxy/util/InformationUtils.java:195
↓ 1 callers
Method
command
Creates a Velocity Shutdown Command. @param server the proxy instance @return the Shutdown Command
proxy/src/main/java/com/velocitypowered/proxy/command/builtin/ShutdownCommand.java:47
↓ 1 callers
Method
completeJoin
Indicates that we have completed the plugin process.
proxy/src/main/java/com/velocitypowered/proxy/connection/backend/VelocityServerConnection.java:307
← previous
next →
701–800 of 3,479, ranked by callers