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 awz
intermediary net/minecraft/class_1180
named net/minecraft/datafixer/fix/ItemLoreToTextFix
-
Constructor Summary
ConstructorDescriptionItemLoreToTextFix
(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType) -
Method Summary
Modifier and TypeMethodDescriptionprivate static String
componentize
(String string) private static <T> Stream<com.mojang.serialization.Dynamic<T>>
fixLoreNbt
(Stream<com.mojang.serialization.Dynamic<T>> nbt) 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>
Lawz;<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
-
fixLoreNbt
private static <T> Stream<com.mojang.serialization.Dynamic<T>> fixLoreNbt(Stream<com.mojang.serialization.Dynamic<T>> nbt) - Mappings:
Namespace Name Mixin selector official a
Lawz;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 fixLoreNbt
Lnet/minecraft/datafixer/fix/ItemLoreToTextFix;fixLoreNbt(Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
-
componentize
- Mappings:
Namespace Name Mixin selector official a
Lawz;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;
-