Class ItemStackCustomNameToItemNameFix

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

public class ItemStackCustomNameToItemNameFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/ItemStackCustomNameToItemNameFix
intermediary net/minecraft/class_9452
official bgr
  • Field Summary

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

    Constructors
    Constructor
    Description
    ItemStackCustomNameToItemNameFix(com.mojang.datafixers.schemas.Schema outputSchema)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static <T> com.mojang.serialization.Dynamic<T>
    fix(com.mojang.serialization.Dynamic<T> data, Predicate<String> namePredicate)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    fixExplorerMaps(com.mojang.serialization.Dynamic<T> data)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    fixOminousBanner(com.mojang.serialization.Dynamic<T> data)
     
    final 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
  • Field Details

    • EXPLORER_MAP_NAMES

      private static final Set<String> EXPLORER_MAP_NAMES
      Mappings:
      Namespace Name Mixin selector
      named EXPLORER_MAP_NAMES Lnet/minecraft/datafixer/fix/ItemStackCustomNameToItemNameFix;EXPLORER_MAP_NAMES:Ljava/util/Set;
      intermediary field_50111 Lnet/minecraft/class_9452;field_50111:Ljava/util/Set;
      official a Lbgr;a:Ljava/util/Set;
  • Constructor Details

    • ItemStackCustomNameToItemNameFix

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

    • makeRule

      public final com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
    • fixExplorerMaps

      private static <T> com.mojang.serialization.Dynamic<T> fixExplorerMaps(com.mojang.serialization.Dynamic<T> data)
      Mappings:
      Namespace Name Mixin selector
      named fixExplorerMaps Lnet/minecraft/datafixer/fix/ItemStackCustomNameToItemNameFix;fixExplorerMaps(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_58603 Lnet/minecraft/class_9452;method_58603(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official a Lbgr;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • fixOminousBanner

      private static <T> com.mojang.serialization.Dynamic<T> fixOminousBanner(com.mojang.serialization.Dynamic<T> data)
      Mappings:
      Namespace Name Mixin selector
      named fixOminousBanner Lnet/minecraft/datafixer/fix/ItemStackCustomNameToItemNameFix;fixOminousBanner(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_58607 Lnet/minecraft/class_9452;method_58607(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official b Lbgr;b(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • fix

      private static <T> com.mojang.serialization.Dynamic<T> fix(com.mojang.serialization.Dynamic<T> data, Predicate<String> namePredicate)
      Mappings:
      Namespace Name Mixin selector
      named fix Lnet/minecraft/datafixer/fix/ItemStackCustomNameToItemNameFix;fix(Lcom/mojang/serialization/Dynamic;Ljava/util/function/Predicate;)Lcom/mojang/serialization/Dynamic;
      intermediary method_58604 Lnet/minecraft/class_9452;method_58604(Lcom/mojang/serialization/Dynamic;Ljava/util/function/Predicate;)Lcom/mojang/serialization/Dynamic;
      official a Lbgr;a(Lcom/mojang/serialization/Dynamic;Ljava/util/function/Predicate;)Lcom/mojang/serialization/Dynamic;