Package net.minecraft.datafixer.fix
Class ItemLoreToTextFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ItemLoreToTextFix
public class ItemLoreToTextFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name official ajs
intermediary net/minecraft/class_1180
named net/minecraft/datafixer/fix/ItemLoreToTextFix
-
Constructor Summary
Constructors Constructor Description ItemLoreToTextFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
-
Method Summary
Modifier and Type Method Description private static String
componentize(String string)
private static <T> Stream<com.mojang.serialization.Dynamic<T>>
fixLoreTags(Stream<com.mojang.serialization.Dynamic<T>> tags)
protected com.mojang.datafixers.TypeRewriteRule
makeRule()
Methods inherited from class com.mojang.datafixers.DataFix
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
-
Constructor Details
-
ItemLoreToTextFix
public ItemLoreToTextFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)- Mappings:
Namespace Name Mixin selector official <init>
Lajs;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
intermediary <init>
Lnet/minecraft/class_1180;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
named <init>
Lnet/minecraft/datafixer/fix/ItemLoreToTextFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
-
-
Method Details
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
- Mappings:
Namespace Name Mixin selector official makeRule
Lajs;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
intermediary makeRule
Lnet/minecraft/class_1180;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
named makeRule
Lnet/minecraft/datafixer/fix/ItemLoreToTextFix;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
-
fixLoreTags
private static <T> Stream<com.mojang.serialization.Dynamic<T>> fixLoreTags(Stream<com.mojang.serialization.Dynamic<T>> tags)- Mappings:
Namespace Name Mixin selector official a
Lajs;a(Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
intermediary method_5005
Lnet/minecraft/class_1180;method_5005(Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
named fixLoreTags
Lnet/minecraft/datafixer/fix/ItemLoreToTextFix;fixLoreTags(Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
-
componentize
- Mappings:
Namespace Name Mixin selector official a
Lajs;a(Ljava/lang/String;)Ljava/lang/String;
intermediary method_5012
Lnet/minecraft/class_1180;method_5012(Ljava/lang/String;)Ljava/lang/String;
named componentize
Lnet/minecraft/datafixer/fix/ItemLoreToTextFix;componentize(Ljava/lang/String;)Ljava/lang/String;
-