net.minecraft.client.gui.narration

public class NarrationThunk<T>

fmk
net.minecraft.client.gui.narration.NarrationThunk
net.minecraft.class_6384
net.minecraft.unmapped.C_gblvuxst
net.minecraft.client.gui.screen.narration.Narration
net.minecraft.client.gui.screen.narration.Narration
net.minecraft.src.C_141610_

Field summary

Modifier and TypeField
private final T
b
contents
field_33794
f_xsrwibvv
value
value
f_169154_
private final BiConsumer<Consumer<String>, T>
c
converter
field_33795
f_ovtumeoq
transformer
transformer
f_169155_
public static final NarrationThunk<?>
a
EMPTY
field_33793
f_sznptihb
EMPTY
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)
m_txhpaqjb(String arg0)
string(String string)
string(String string)
m_169160_(String p_169161_)
public static NarrationThunk<?>
a(wz arg0)
from(Component arg0)
method_37042(class_2561 arg0)
m_wpmfpuxa(C_rdaqiwdt arg0)
text(Text text)
text(Text text)
m_169176_(C_4996_ p_169177_)
public static NarrationThunk<?>
a(List<wz> arg0)
from(List<Component> arg0)
method_37037(List<class_2561> arg0)
m_xkljzaju(List<C_rdaqiwdt> arg0)
texts(List<Text> texts)
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)
m_rlclhpnp(Consumer<String> arg0)
forEachSentence(Consumer<String> consumer)
forEachSentence(Consumer<String> consumer)
m_169168_(Consumer<String> arg0)