17 lines
486 B
Java
17 lines
486 B
Java
package net.minecraft.client.gui.narration;
|
|
|
|
import net.fabricmc.api.EnvType;
|
|
import net.fabricmc.api.Environment;
|
|
|
|
/**
|
|
* An interface for providing narration information.
|
|
*/
|
|
@Environment(EnvType.CLIENT)
|
|
public interface NarrationSupplier {
|
|
/**
|
|
* Updates the narration output with the current narration information.
|
|
*
|
|
* @param narrationElementOutput the output to update with narration information.
|
|
*/
|
|
void updateNarration(NarrationElementOutput narrationElementOutput);
|
|
}
|