Class HorseBodyArmorItemFix

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

public class HorseBodyArmorItemFix extends NamedEntityWriteReadFix
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final boolean
     
    private final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    HorseBodyArmorItemFix(com.mojang.datafixers.schemas.Schema p_323857_, String p_324552_, String p_324464_, boolean p_342009_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected <T> com.mojang.serialization.Dynamic<T>
    fix(com.mojang.serialization.Dynamic<T> p_324321_)
     

    Methods inherited from class net.minecraft.util.datafix.fixes.NamedEntityWriteReadFix

    makeRule

    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

    • previousBodyArmorTag

      private final String previousBodyArmorTag
    • clearArmorItems

      private final boolean clearArmorItems
  • Constructor Details

    • HorseBodyArmorItemFix

      public HorseBodyArmorItemFix(com.mojang.datafixers.schemas.Schema p_323857_, String p_324552_, String p_324464_, boolean p_342009_)
  • Method Details

    • fix

      protected <T> com.mojang.serialization.Dynamic<T> fix(com.mojang.serialization.Dynamic<T> p_324321_)
      Specified by:
      fix in class NamedEntityWriteReadFix