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_331354_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.mojang.datafixers.Typed<?>
    fix(com.mojang.datafixers.Typed<?> p_331801_)
     
    static String
    fixColor(int p_331992_)
     
    private static com.mojang.serialization.Dynamic<?>
    fixLayer(com.mojang.serialization.Dynamic<?> p_331951_)
     
    private static com.mojang.serialization.Dynamic<?>
    fixTag(com.mojang.serialization.Dynamic<?> p_330421_)
     

    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_331354_)
  • Method Details

    • fix

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

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

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

      public static String fixColor(int p_331992_)