Class RedundantChanceTags

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

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

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

    Constructors
    Constructor
    Description
    RedundantChanceTags(com.mojang.datafixers.schemas.Schema p_i49657_1_, boolean p_i49657_2_)
     
  • Method Summary

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

    • RedundantChanceTags

      public RedundantChanceTags(com.mojang.datafixers.schemas.Schema p_i49657_1_, boolean p_i49657_2_)
  • 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_241306_0_, int p_241306_1_)