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 aqz
intermediary net/minecraft/class_1180
named net/minecraft/datafixer/fix/ItemLoreToTextFix
-
Constructor Summary
ConstructorsConstructorDescriptionItemLoreToTextFix
(com.mojang.datafixers.schemas.Schema schema, boolean bool) -
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 schema, boolean bool)
-
-
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
Laqz;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
Laqz;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;
-