Class BannerPatternFormatFix

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

public class BannerPatternFormatFix extends NamedEntityFix
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final Map<String,String>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    BannerPatternFormatFix(com.mojang.datafixers.schemas.Schema p_331151_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.mojang.datafixers.Typed<?>
    fix(com.mojang.datafixers.Typed<?> p_332978_)
     
    static String
    fixColor(int p_328642_)
     
    private static com.mojang.serialization.Dynamic<?>
    fixLayer(com.mojang.serialization.Dynamic<?> p_333413_)
     
    private static com.mojang.serialization.Dynamic<?>
    fixTag(com.mojang.serialization.Dynamic<?> p_329398_)
     

    Methods inherited from class net.minecraft.util.datafix.fixes.NamedEntityFix

    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

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • BannerPatternFormatFix

      public BannerPatternFormatFix(com.mojang.datafixers.schemas.Schema p_331151_)
  • Method Details

    • fix

      protected com.mojang.datafixers.Typed<?> fix(com.mojang.datafixers.Typed<?> p_332978_)
      Specified by:
      fix in class NamedEntityFix
    • fixTag

      private static com.mojang.serialization.Dynamic<?> fixTag(com.mojang.serialization.Dynamic<?> p_329398_)
    • fixLayer

      private static com.mojang.serialization.Dynamic<?> fixLayer(com.mojang.serialization.Dynamic<?> p_333413_)
    • fixColor

      public static String fixColor(int p_328642_)