net.minecraft.util.datafix

public class ComponentDataFixUtils

baf
net.minecraft.util.datafix.ComponentDataFixUtils
net.minecraft.class_8809
net.minecraft.datafixer.fix.TextFixes
net.minecraft.src.C_301987_
net.minecraft.util.datafix.ComponentDataFixUtils

Field summary

Modifier and TypeField
private static final String
a
EMPTY_CONTENTS
field_46246
EMPTY_TEXT
f_302503_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static <T> com.mojang.serialization.Dynamic<T>
a(com.mojang.serialization.DynamicOps<T> arg0, String arg1)
createPlainTextComponent(com.mojang.serialization.DynamicOps<T> arg0, String arg1)
method_53961(com.mojang.serialization.DynamicOps<T> arg0, String arg1)
text(com.mojang.serialization.DynamicOps<T> ops, String string)
m_307115_(com.mojang.serialization.DynamicOps<T> p_312596_, String p_312893_)
public static <T> com.mojang.serialization.Dynamic<T>
a(com.mojang.serialization.DynamicOps<T> arg0)
createEmptyComponent(com.mojang.serialization.DynamicOps<T> arg0)
method_53960(com.mojang.serialization.DynamicOps<T> arg0)
empty(com.mojang.serialization.DynamicOps<T> ops)
m_307375_(com.mojang.serialization.DynamicOps<T> p_310010_)
private static String
b(String arg0)
createTextComponentJson(String arg0)
method_53962(String arg0)
text(String string)
m_304899_(String p_309616_)
public static <T> com.mojang.serialization.Dynamic<T>
b(com.mojang.serialization.DynamicOps<T> arg0, String arg1)
createTranslatableComponent(com.mojang.serialization.DynamicOps<T> arg0, String arg1)
method_53963(com.mojang.serialization.DynamicOps<T> arg0, String arg1)
translate(com.mojang.serialization.DynamicOps<T> ops, String key)
m_306987_(com.mojang.serialization.DynamicOps<T> p_310384_, String p_313033_)
public static <T> com.mojang.serialization.Dynamic<T>
a(com.mojang.serialization.Dynamic<T> arg0)
wrapLiteralStringAsComponent(com.mojang.serialization.Dynamic<T> arg0)
method_53958(com.mojang.serialization.Dynamic<T> arg0)
fixText(com.mojang.serialization.Dynamic<T> dynamic)
m_304636_(com.mojang.serialization.Dynamic<T> p_309728_)
public static com.mojang.serialization.Dynamic<?>
b(com.mojang.serialization.Dynamic<?> arg0)
rewriteFromLenient(com.mojang.serialization.Dynamic<?> arg0)
method_56629(com.mojang.serialization.Dynamic<?> arg0)
text(com.mojang.serialization.Dynamic<?> dynamic)
m_324174_(com.mojang.serialization.Dynamic<?> p_328370_)
public static Optional<String>
a(String arg0)
extractTranslationString(String arg0)
method_58596(String arg0)
getTranslate(String json)
m_321143_(String p_331580_)