@Environment(value=CLIENT) public class RepeatedNarrator extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
RepeatedNarrator.Parameters |
Modifier and Type | Field and Description |
---|---|
private AtomicReference<RepeatedNarrator.Parameters> |
params |
private float |
permitsPerSecond |
Constructor and Description |
---|
RepeatedNarrator(Duration duration) |
private final float permitsPerSecond
private final AtomicReference<RepeatedNarrator.Parameters> params
public RepeatedNarrator(Duration duration)
public void narrate(String message)