Package org.spongepowered.api.adventure
Interface SpongeComponents.Factory
- Enclosing class:
SpongeComponents
public static interface SpongeComponents.Factory
-
Method Summary
Modifier and TypeMethodDescriptioncallbackClickEvent
(Consumer<CommandCause> callback) render
(Component component, CommandCause senderContext, Audience viewer, DefaultedRegistryReference<ResolveOperation> resolver, DefaultedRegistryReference<ResolveOperation>... otherResolvers) render
(Component component, CommandCause senderContext, DefaultedRegistryReference<ResolveOperation> resolver, DefaultedRegistryReference<ResolveOperation>... otherResolvers)
-
Method Details
-
callbackClickEvent
-
render
Component render(Component component, CommandCause senderContext, Audience viewer, DefaultedRegistryReference<ResolveOperation> resolver, DefaultedRegistryReference<ResolveOperation>... otherResolvers) -
render
Component render(Component component, CommandCause senderContext, DefaultedRegistryReference<ResolveOperation> resolver, DefaultedRegistryReference<ResolveOperation>... otherResolvers) -
flattener
ComponentFlattener flattener()
-