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 p_15798_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private com.mojang.datafixers.Typed<?>
    changeSchemaToZombieVillager(com.mojang.datafixers.Typed<?> p_336232_, int p_336308_)
     
    protected com.mojang.datafixers.util.Pair<String,com.mojang.datafixers.Typed<?>>
    fix(String p_331870_, com.mojang.datafixers.Typed<?> p_331918_)
     

    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 p_15798_)
  • Method Details

    • fix

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

      private com.mojang.datafixers.Typed<?> changeSchemaToZombieVillager(com.mojang.datafixers.Typed<?> p_336232_, int p_336308_)