Class BannerPatternFormatFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ChoiceFix
net.minecraft.datafixer.fix.BannerPatternFormatFix

public class BannerPatternFormatFix extends ChoiceFix
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/BannerPatternFormatFix
intermediary net/minecraft/class_9264
official bck
  • 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 outputSchema)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    getColorFromInt(int color)
     
    private static com.mojang.serialization.Dynamic<?>
    replacePatternAndColor(com.mojang.serialization.Dynamic<?> dynamic)
     
    private static com.mojang.serialization.Dynamic<?>
    replacePatterns(com.mojang.serialization.Dynamic<?> dynamic)
     
    protected com.mojang.datafixers.Typed<?>
    transform(com.mojang.datafixers.Typed<?> inputTyped)
     

    Methods inherited from class net.minecraft.datafixer.fix.ChoiceFix

    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

    • OLD_TO_NEW_PATTERNS

      private static final Map<String,String> OLD_TO_NEW_PATTERNS
      Mappings:
      Namespace Name Mixin selector
      named OLD_TO_NEW_PATTERNS Lnet/minecraft/datafixer/fix/BannerPatternFormatFix;OLD_TO_NEW_PATTERNS:Ljava/util/Map;
      intermediary field_49187 Lnet/minecraft/class_9264;field_49187:Ljava/util/Map;
      official a Lbck;a:Ljava/util/Map;
  • Constructor Details

    • BannerPatternFormatFix

      public BannerPatternFormatFix(com.mojang.datafixers.schemas.Schema outputSchema)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/datafixer/fix/BannerPatternFormatFix;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      intermediary <init> Lnet/minecraft/class_9264;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      official <init> Lbck;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
  • Method Details

    • transform

      protected com.mojang.datafixers.Typed<?> transform(com.mojang.datafixers.Typed<?> inputTyped)
      Specified by:
      transform in class ChoiceFix
      Mappings:
      Namespace Name Mixin selector
      named transform Lnet/minecraft/datafixer/fix/ChoiceFix;transform(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
      intermediary method_5105 Lnet/minecraft/class_1197;method_5105(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
      official a Lbhr;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
    • replacePatterns

      private static com.mojang.serialization.Dynamic<?> replacePatterns(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      named replacePatterns Lnet/minecraft/datafixer/fix/BannerPatternFormatFix;replacePatterns(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_57193 Lnet/minecraft/class_9264;method_57193(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official a Lbck;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • replacePatternAndColor

      private static com.mojang.serialization.Dynamic<?> replacePatternAndColor(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      named replacePatternAndColor Lnet/minecraft/datafixer/fix/BannerPatternFormatFix;replacePatternAndColor(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_57195 Lnet/minecraft/class_9264;method_57195(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official b Lbck;b(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • getColorFromInt

      public static String getColorFromInt(int color)
      Mappings:
      Namespace Name Mixin selector
      named getColorFromInt Lnet/minecraft/datafixer/fix/BannerPatternFormatFix;getColorFromInt(I)Ljava/lang/String;
      intermediary method_57192 Lnet/minecraft/class_9264;method_57192(I)Ljava/lang/String;
      official a Lbck;a(I)Ljava/lang/String;