net.minecraft.client.gui.narration

public class NarrationThunk<T>

ebf
net.minecraft.client.gui.narration.NarrationThunk
net.minecraft.class_6384
net.minecraft.client.gui.screen.narration.Narration
net.minecraft.src.C_141610_

Field summary

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

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)
m_169160_(String p_169161_)
public static NarrationThunk<?>
a(pz arg0)
from(Component arg0)
method_37042(class_2561 arg0)
text(Text text)
m_169176_(C_4996_ p_169177_)
public static NarrationThunk<?>
a(List<pz> arg0)
from(List<Component> arg0)
method_37037(List<class_2561> arg0)
texts(List<Text> texts)
m_169162_(List<C_4996_> p_169163_)
public void
a(Consumer<String> arg0)
getText(Consumer<String> arg0)
method_37039(Consumer<String> arg0)
forEachSentence(Consumer<String> consumer)
m_169168_(Consumer<String> arg0)