net.minecraft.util.datafix

public class ComponentDataFixUtils

bbr
net.minecraft.util.datafix.ComponentDataFixUtils
net.minecraft.class_8809
net.minecraft.datafixer.fix.TextFixes
net.minecraft.util.datafix.ComponentDataFixUtils

Field summary

Modifier and TypeField
private static final String
a
EMPTY_CONTENTS
field_46246
EMPTY_TEXT

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)
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)
private static String
b(String arg0)
createTextComponentJson(String arg0)
method_53962(String arg0)
text(String string)
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)
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)
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)
public static Optional<String>
a(String arg0)
extractTranslationString(String arg0)
method_58596(String arg0)
getTranslate(String json)