Interface ChatWidthFunction<CX>
-
- Type Parameters:
CX- a context type (player, server)
- 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 ChatWidthFunction<CX>
A function that takes some context and returns the chat width of that context.- Since:
- 1.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatchatWidthOf(CX context)Gets the chat width in the given context.
-
-
-
Method Detail
-
chatWidthOf
float chatWidthOf(CX context)
Gets the chat width in the given context.- Parameters:
context- a context- Returns:
- the chat width in the given context
- Since:
- 1.1.0
-
-