Package net.kyori.adventure.text
Interface ComponentApplicable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ComponentApplicable
Something that can be applied to a
Component
.- Since:
- 4.0.0
-
Method Summary
Modifier and Type Method Description @NonNull Component
componentApply(@NonNull Component component)
Applies tocomponent
.
-
Method Details
-
componentApply
Applies tocomponent
.- Parameters:
component
- the component- Returns:
- a component with something applied.
- Since:
- 4.0.0
-