Interface FabricClientAudiences
- All Superinterfaces:
FabricAudiences
Access the client's player as an
Audience
.- Since:
- 4.0.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription@NotNull Audience
audience()
Get an audience for the client's player.static @NotNull FabricClientAudiences.Builder
builder()
Create a builder for an audience provider that might use custom locales.static @NotNull FabricClientAudiences
of()
Get the common instance, that will render using the global translation registry.Methods inherited from interface net.kyori.adventure.platform.fabric.FabricAudiences
flattener, renderer, toAdventure, toNative
-
Method Details
-
of
Get the common instance, that will render using the global translation registry.- Returns:
- the audience provider
- Since:
- 4.0.0
-
builder
Create a builder for an audience provider that might use custom locales.- Returns:
- the builder
- Since:
- 4.0.0
-
audience
Get an audience for the client's player.When not in-game, most operations will no-op
- Returns:
- player audience
- Since:
- 4.0.0
-