Class HorseArmorFix

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

public class HorseArmorFix extends ChoiceWriteReadFix
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/HorseArmorFix
intermediary net/minecraft/class_9183
official bge
  • Field Summary

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

    Constructors
    Constructor
    Description
    HorseArmorFix(com.mojang.datafixers.schemas.Schema outputSchema, String entityId, String oldNbtKey, boolean removeOldArmor)
     
  • Method Summary

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

    Methods inherited from class net.minecraft.datafixer.fix.ChoiceWriteReadFix

    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

    • oldNbtKey

      private final String oldNbtKey
      Mappings:
      Namespace Name Mixin selector
      named oldNbtKey Lnet/minecraft/datafixer/fix/HorseArmorFix;oldNbtKey:Ljava/lang/String;
      intermediary field_48805 Lnet/minecraft/class_9183;field_48805:Ljava/lang/String;
      official a Lbge;a:Ljava/lang/String;
    • removeOldArmor

      private final boolean removeOldArmor
      Mappings:
      Namespace Name Mixin selector
      named removeOldArmor Lnet/minecraft/datafixer/fix/HorseArmorFix;removeOldArmor:Z
      intermediary field_51519 Lnet/minecraft/class_9183;field_51519:Z
      official b Lbge;b:Z
  • Constructor Details

    • HorseArmorFix

      public HorseArmorFix(com.mojang.datafixers.schemas.Schema outputSchema, String entityId, String oldNbtKey, boolean removeOldArmor)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/datafixer/fix/HorseArmorFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/lang/String;Z)V
      intermediary <init> Lnet/minecraft/class_9183;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/lang/String;Z)V
      official <init> Lbge;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/lang/String;Z)V
  • Method Details

    • transform

      protected <T> com.mojang.serialization.Dynamic<T> transform(com.mojang.serialization.Dynamic<T> data)
      Specified by:
      transform in class ChoiceWriteReadFix
      Mappings:
      Namespace Name Mixin selector
      named transform Lnet/minecraft/datafixer/fix/ChoiceWriteReadFix;transform(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_54447 Lnet/minecraft/class_8877;method_54447(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official a Lbhs;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;