net.minecraft.client.gui.narration

public class NarrationThunk<T>

fst
net.minecraft.client.gui.narration.NarrationThunk
net.minecraft.class_6384
net.minecraft.client.gui.screen.narration.Narration

Field summary

Modifier and TypeField
private final T
b
contents
field_33794
value
private final BiConsumer<Consumer<String>, T>
c
converter
field_33795
transformer
public static final NarrationThunk<?>
a
EMPTY
field_33793
EMPTY

Constructor summary

ModifierConstructor
private (T value, BiConsumer<Consumer<String>, T> transformer)

Method summary

Modifier and TypeMethod
public static NarrationThunk<?>
a(String arg0)
from(String arg0)
method_37036(String arg0)
string(String string)
public static NarrationThunk<?>
a(wp arg0)
from(Component arg0)
method_37042(class_2561 arg0)
text(Text text)
public static NarrationThunk<?>
a(List<wp> arg0)
from(List<Component> arg0)
method_37037(List<class_2561> arg0)
texts(List<Text> texts)
public void
a(Consumer<String> arg0)
getText(Consumer<String> arg0)
method_37039(Consumer<String> arg0)
forEachSentence(Consumer<String> consumer)