Class ItemLoreComponentizeFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.ItemLoreComponentizeFix

public class ItemLoreComponentizeFix extends com.mojang.datafixers.DataFix
  • Constructor Summary

    Constructors
    Constructor
    Description
    ItemLoreComponentizeFix(com.mojang.datafixers.schemas.Schema p_i50426_1_, boolean p_i50426_2_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static String
    fixLoreEntry(String p_219837_0_)
     
    private static <T> Stream<com.mojang.serialization.Dynamic<T>>
    fixLoreList(Stream<com.mojang.serialization.Dynamic<T>> p_219830_0_)
     
    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

    • ItemLoreComponentizeFix

      public ItemLoreComponentizeFix(com.mojang.datafixers.schemas.Schema p_i50426_1_, boolean p_i50426_2_)
  • Method Details

    • makeRule

      protected com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
    • fixLoreList

      private static <T> Stream<com.mojang.serialization.Dynamic<T>> fixLoreList(Stream<com.mojang.serialization.Dynamic<T>> p_219830_0_)
    • fixLoreEntry

      private static String fixLoreEntry(String p_219837_0_)