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(Consumer<CommandCause> callback)
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(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)
-
-