Class EntityRedundantChanceTagsFix

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

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

    Fields
    Modifier and Type
    Field
    Description
    private static com.mojang.serialization.Codec<List<Float>>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    EntityRedundantChanceTagsFix​(com.mojang.datafixers.schemas.Schema p_15601_, boolean p_15602_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static boolean
    isZeroList​(com.mojang.serialization.OptionalDynamic<?> p_15611_, int p_15612_)
     
    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

    • FLOAT_LIST_CODEC

      private static final com.mojang.serialization.Codec<List<Float>> FLOAT_LIST_CODEC
  • Constructor Details

    • EntityRedundantChanceTagsFix

      public EntityRedundantChanceTagsFix(com.mojang.datafixers.schemas.Schema p_15601_, boolean p_15602_)
  • Method Details

    • makeRule

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

      private static boolean isZeroList(com.mojang.serialization.OptionalDynamic<?> p_15611_, int p_15612_)