Class EntityRedundantChanceTagsFix

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

public class EntityRedundantChanceTagsFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
official art
intermediary net/minecraft/class_1165
named net/minecraft/datafixer/fix/EntityRedundantChanceTagsFix
  • Field Summary

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

    Constructors
    Constructor
    Description
    EntityRedundantChanceTagsFix(com.mojang.datafixers.schemas.Schema schema, boolean bool)
     
  • Method Summary

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

    • field_25695

      private static final com.mojang.serialization.Codec<List<Float>> field_25695
      Mappings:
      Namespace Name Mixin selector
      official a Lart;a:Lcom/mojang/serialization/Codec;
      intermediary field_25695 Lnet/minecraft/class_1165;field_25695:Lcom/mojang/serialization/Codec;
      named field_25695 Lnet/minecraft/datafixer/fix/EntityRedundantChanceTagsFix;field_25695:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • EntityRedundantChanceTagsFix

      public EntityRedundantChanceTagsFix(com.mojang.datafixers.schemas.Schema schema, boolean bool)
  • Method Details

    • makeRule

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

      private static boolean hasZeroDropChance(com.mojang.serialization.OptionalDynamic<?> optionalDynamic, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lart;a(Lcom/mojang/serialization/OptionalDynamic;I)Z
      intermediary method_30073 Lnet/minecraft/class_1165;method_30073(Lcom/mojang/serialization/OptionalDynamic;I)Z
      named hasZeroDropChance Lnet/minecraft/datafixer/fix/EntityRedundantChanceTagsFix;hasZeroDropChance(Lcom/mojang/serialization/OptionalDynamic;I)Z