Class EntityPaintingMotiveFix

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

public class EntityPaintingMotiveFix
extends ChoiceFix
  • Field Summary

    Fields
    Modifier and Type Field Description
    private static Map<String,​String> RENAMED_MOTIVES  
  • Constructor Summary

    Constructors
    Constructor Description
    EntityPaintingMotiveFix​(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)  
  • Method Summary

    Modifier and Type Method Description
    com.mojang.serialization.Dynamic<?> renameMotive​(com.mojang.serialization.Dynamic<?> dynamic)  
    protected com.mojang.datafixers.Typed<?> transform​(com.mojang.datafixers.Typed<?> inputType)  

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

    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

    • RENAMED_MOTIVES

      private static final Map<String,​String> RENAMED_MOTIVES
  • Constructor Details

    • EntityPaintingMotiveFix

      public EntityPaintingMotiveFix​(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
  • Method Details

    • renameMotive

      public com.mojang.serialization.Dynamic<?> renameMotive​(com.mojang.serialization.Dynamic<?> dynamic)
    • transform

      protected com.mojang.datafixers.Typed<?> transform​(com.mojang.datafixers.Typed<?> inputType)
      Specified by:
      transform in class ChoiceFix