Class AttributeModifierIdFix

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

public class AttributeModifierIdFix extends com.mojang.datafixers.DataFix
  • Field Summary

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

    Constructors
    Constructor
    Description
    AttributeModifierIdFix(com.mojang.datafixers.schemas.Schema p_350353_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static com.mojang.serialization.Dynamic<?>
    convertModifierForEntity(com.mojang.serialization.Dynamic<?> p_350703_)
     
    private static com.mojang.serialization.Dynamic<?>
    fixAttribute(com.mojang.serialization.Dynamic<?> p_350325_)
     
    private static com.mojang.datafixers.Typed<?>
    fixEntity(com.mojang.datafixers.Typed<?> p_351052_)
     
    private static com.mojang.serialization.Dynamic<?>
    fixItemStackComponents(com.mojang.serialization.Dynamic<?> p_350317_)
     
    private static Stream<com.mojang.serialization.Dynamic<?>>
    fixModifiers(Stream<com.mojang.serialization.Dynamic<?>> p_350772_)
     
    private static Stream<com.mojang.serialization.Dynamic<?>>
     
    protected com.mojang.datafixers.TypeRewriteRule
     
    static UUID
    uuidFromIntArray(int[] p_350729_)
     

    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

    • AttributeModifierIdFix

      public AttributeModifierIdFix(com.mojang.datafixers.schemas.Schema p_350353_)
  • Method Details

    • makeRule

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

      private static Stream<com.mojang.serialization.Dynamic<?>> fixModifiersTypeWrapper(Stream<?> p_350501_)
    • fixModifiers

      private static Stream<com.mojang.serialization.Dynamic<?>> fixModifiers(Stream<com.mojang.serialization.Dynamic<?>> p_350772_)
    • convertModifierForEntity

      private static com.mojang.serialization.Dynamic<?> convertModifierForEntity(com.mojang.serialization.Dynamic<?> p_350703_)
    • fixItemStackComponents

      private static com.mojang.serialization.Dynamic<?> fixItemStackComponents(com.mojang.serialization.Dynamic<?> p_350317_)
    • fixAttribute

      private static com.mojang.serialization.Dynamic<?> fixAttribute(com.mojang.serialization.Dynamic<?> p_350325_)
    • fixEntity

      private static com.mojang.datafixers.Typed<?> fixEntity(com.mojang.datafixers.Typed<?> p_351052_)
    • uuidFromIntArray

      @Nullable public static UUID uuidFromIntArray(int[] p_350729_)