Interface Emitable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Something that holds data representable as MiniMessage tags.
- Since:
- 4.10.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidemit(TokenEmitter emitter) Emit tags based on this emitable's data.default @Nullable ComponentProvide a substitute for this component's actual children.
-
Method Details
-
emit
Emit tags based on this emitable's data.- Parameters:
emitter- the target to emit to- Since:
- 4.10.0
-
substitute
Provide a substitute for this component's actual children.This allows modifying tags to output original data while still transforming the created components.
- Returns:
- a potential substitute
- Since:
- 4.13.0
-