Interface FabricClientAudiences

All Superinterfaces:
FabricAudiences

public interface FabricClientAudiences extends FabricAudiences
Access the client's player as an Audience.
Since:
4.0.0
  • Method Details

    • of

      @NotNull static @NotNull FabricClientAudiences of()
      Get the common instance, that will render using the global translation registry.
      Returns:
      the audience provider
      Since:
      4.0.0
    • builder

      static @NotNull FabricClientAudiences.Builder builder()
      Create a builder for an audience provider that might use custom locales.
      Returns:
      the builder
      Since:
      4.0.0
    • audience

      @NotNull @NotNull Audience 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