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 akq
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>>
    fixLoreNbt​(Stream<com.mojang.serialization.Dynamic<T>> nbt)
     
    protected com.mojang.datafixers.TypeRewriteRule
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ItemLoreToTextFix

      public ItemLoreToTextFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lakq;<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 class com.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 Lakq;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

      private static String componentize(String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lakq;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;