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_328584_, String p_334943_, String p_330348_, boolean p_334013_)
     
  • Method Summary

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

    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_328584_, String p_334943_, String p_330348_, boolean p_334013_)
  • Method Details

    • fix

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