: new RepeatedNarrator.Params(narration, RateLimiter.create(this.permitsPerSecond))
27
);
28
if (params.rateLimiter.tryAcquire(1)) {
29
narrator.saySystemNow(narration);
30
}
31
}
32
33
@Environment(EnvType.CLIENT)
34
private record Params(Component narration, RateLimiter rateLimiter) {
35
}
36
}
37
Decompiled Minecraft 26.3 source of RepeatedNarrator (net/minecraft/realms/RepeatedNarrator.java) with Mojang official mappings, stored verbatim on the site.