Package org.spongepowered.api.adventure
Interface SpongeComponents.Factory
-
- Enclosing class:
- SpongeComponents
public static interface SpongeComponents.Factory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClickEvent
callbackClickEvent(java.util.function.Consumer<CommandCause> callback)
ComponentFlattener
flattener()
Component
render(Component component, CommandCause senderContext, Audience viewer, DefaultedRegistryReference<ResolveOperation> resolver, DefaultedRegistryReference<ResolveOperation>... otherResolvers)
Component
render(Component component, CommandCause senderContext, DefaultedRegistryReference<ResolveOperation> resolver, DefaultedRegistryReference<ResolveOperation>... otherResolvers)
-
-
-
Method Detail
-
callbackClickEvent
ClickEvent callbackClickEvent(java.util.function.Consumer<CommandCause> callback)
-
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()
-
-