Class EntityZombieSplitFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.EntityRenameFix
net.minecraft.util.datafix.fixes.EntityZombieSplitFix

public class EntityZombieSplitFix extends EntityRenameFix
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final Supplier<com.mojang.datafixers.types.Type<?>>
     

    Fields inherited from class net.minecraft.util.datafix.fixes.EntityRenameFix

    name
  • Constructor Summary

    Constructors
    Constructor
    Description
    EntityZombieSplitFix(com.mojang.datafixers.schemas.Schema pOutputSchema)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private com.mojang.datafixers.Typed<?>
    changeSchemaToZombieVillager(com.mojang.datafixers.Typed<?> pTyped, int pProfession)
     
    protected com.mojang.datafixers.util.Pair<String,com.mojang.datafixers.Typed<?>>
    fix(String pEntityName, com.mojang.datafixers.Typed<?> pTyped)
     

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

    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

    • zombieVillagerType

      private final Supplier<com.mojang.datafixers.types.Type<?>> zombieVillagerType
  • Constructor Details

    • EntityZombieSplitFix

      public EntityZombieSplitFix(com.mojang.datafixers.schemas.Schema pOutputSchema)
  • Method Details

    • fix

      protected com.mojang.datafixers.util.Pair<String,com.mojang.datafixers.Typed<?>> fix(String pEntityName, com.mojang.datafixers.Typed<?> pTyped)
      Specified by:
      fix in class EntityRenameFix
    • changeSchemaToZombieVillager

      private com.mojang.datafixers.Typed<?> changeSchemaToZombieVillager(com.mojang.datafixers.Typed<?> pTyped, int pProfession)