Uses of Interface
net.kyori.adventure.resource.ResourcePackCallback
Packages that use ResourcePackCallback
-
Uses of ResourcePackCallback in net.kyori.adventure.resource
Methods in net.kyori.adventure.resource that return ResourcePackCallbackModifier and TypeMethodDescriptionResourcePackRequest.callback()A callback to respond to resource pack application status events.static ResourcePackCallbackResourcePackCallback.noOp()Create a pack callback that performs no operation.static ResourcePackCallbackResourcePackCallback.onTerminal(BiConsumer<UUID, Audience> success, BiConsumer<UUID, Audience> failure) Create a pack callback that will only execute the provided functions when the pack application has completed, discarding all intermediate events.Methods in net.kyori.adventure.resource with parameters of type ResourcePackCallbackModifier and TypeMethodDescriptionResourcePackRequest.Builder.callback(ResourcePackCallback cb) Set the callback to respond to resource pack application status events.ResourcePackRequest.callback(ResourcePackCallback cb) Set the callback to respond to resource pack application status events.