Class AttributeIdFix

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

public class AttributeIdFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/AttributeIdFix
intermediary net/minecraft/class_9785
official bcg
  • Field Summary

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

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

    Modifier and Type
    Method
    Description
    private static com.mojang.serialization.Dynamic<?>
    fixAttribute(com.mojang.serialization.Dynamic<?> attributeDynamic)
     
    private static com.mojang.datafixers.Typed<?>
    fixEntity(com.mojang.datafixers.Typed<?> entityTyped)
     
    private static com.mojang.serialization.Dynamic<?>
    fixItemStack(com.mojang.serialization.Dynamic<?> stackDataDynamic)
     
    private static Stream<com.mojang.serialization.Dynamic<?>>
    fixModifiers(Stream<com.mojang.serialization.Dynamic<?>> dynamicStream)
     
    getUuidFromIntArray(int[] uuidArray)
     
    protected com.mojang.datafixers.TypeRewriteRule
     
    private static Stream<com.mojang.serialization.Dynamic<?>>
    method_60683(Stream<?> stream)
     
    private static com.mojang.serialization.Dynamic<?>
    renameOtherFields(com.mojang.serialization.Dynamic<?> attributeDynamic)
     

    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

    • UUID_TO_ID

      private static final Map<UUID,String> UUID_TO_ID
      Mappings:
      Namespace Name Mixin selector
      named UUID_TO_ID Lnet/minecraft/datafixer/fix/AttributeIdFix;UUID_TO_ID:Ljava/util/Map;
      intermediary field_51992 Lnet/minecraft/class_9785;field_51992:Ljava/util/Map;
      official a Lbcg;a:Ljava/util/Map;
    • NAME_TO_ID

      private static final Map<String,String> NAME_TO_ID
      Mappings:
      Namespace Name Mixin selector
      named NAME_TO_ID Lnet/minecraft/datafixer/fix/AttributeIdFix;NAME_TO_ID:Ljava/util/Map;
      intermediary field_51993 Lnet/minecraft/class_9785;field_51993:Ljava/util/Map;
      official b Lbcg;b:Ljava/util/Map;
  • Constructor Details

    • AttributeIdFix

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

    • makeRule

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

      private static Stream<com.mojang.serialization.Dynamic<?>> method_60683(Stream<?> stream)
      Mappings:
      Namespace Name Mixin selector
      named method_60683 Lnet/minecraft/datafixer/fix/AttributeIdFix;method_60683(Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
      intermediary method_60683 Lnet/minecraft/class_9785;method_60683(Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
      official a Lbcg;a(Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
    • fixModifiers

      private static Stream<com.mojang.serialization.Dynamic<?>> fixModifiers(Stream<com.mojang.serialization.Dynamic<?>> dynamicStream)
      Mappings:
      Namespace Name Mixin selector
      named fixModifiers Lnet/minecraft/datafixer/fix/AttributeIdFix;fixModifiers(Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
      intermediary method_60687 Lnet/minecraft/class_9785;method_60687(Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
      official b Lbcg;b(Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
    • renameOtherFields

      private static com.mojang.serialization.Dynamic<?> renameOtherFields(com.mojang.serialization.Dynamic<?> attributeDynamic)
      Mappings:
      Namespace Name Mixin selector
      named renameOtherFields Lnet/minecraft/datafixer/fix/AttributeIdFix;renameOtherFields(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_60680 Lnet/minecraft/class_9785;method_60680(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official a Lbcg;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • fixItemStack

      private static com.mojang.serialization.Dynamic<?> fixItemStack(com.mojang.serialization.Dynamic<?> stackDataDynamic)
      Mappings:
      Namespace Name Mixin selector
      named fixItemStack Lnet/minecraft/datafixer/fix/AttributeIdFix;fixItemStack(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_60686 Lnet/minecraft/class_9785;method_60686(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official b Lbcg;b(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • fixAttribute

      private static com.mojang.serialization.Dynamic<?> fixAttribute(com.mojang.serialization.Dynamic<?> attributeDynamic)
      Mappings:
      Namespace Name Mixin selector
      named fixAttribute Lnet/minecraft/datafixer/fix/AttributeIdFix;fixAttribute(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_60688 Lnet/minecraft/class_9785;method_60688(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official c Lbcg;c(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • fixEntity

      private static com.mojang.datafixers.Typed<?> fixEntity(com.mojang.datafixers.Typed<?> entityTyped)
      Mappings:
      Namespace Name Mixin selector
      named fixEntity Lnet/minecraft/datafixer/fix/AttributeIdFix;fixEntity(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
      intermediary method_60679 Lnet/minecraft/class_9785;method_60679(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
      official a Lbcg;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
    • getUuidFromIntArray

      @Nullable public static @Nullable UUID getUuidFromIntArray(int[] uuidArray)
      Mappings:
      Namespace Name Mixin selector
      named getUuidFromIntArray Lnet/minecraft/datafixer/fix/AttributeIdFix;getUuidFromIntArray([I)Ljava/util/UUID;
      intermediary method_60684 Lnet/minecraft/class_9785;method_60684([I)Ljava/util/UUID;
      official a Lbcg;a([I)Ljava/util/UUID;