Class EntityZombieSplitFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.EntityTransformFix
net.minecraft.datafixer.fix.EntityZombieSplitFix

public class EntityZombieSplitFix extends EntityTransformFix
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/EntityZombieSplitFix
intermediary net/minecraft/class_1175
official bdp
  • Field Summary

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

    Fields inherited from class net.minecraft.datafixer.fix.EntityTransformFix

    name
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    private com.mojang.datafixers.Typed<?>
    setZombieVillagerProfession(com.mojang.datafixers.Typed<?> entityTyped, int variant)
     
    protected com.mojang.datafixers.util.Pair<String,com.mojang.datafixers.Typed<?>>
    transform(String choice, com.mojang.datafixers.Typed<?> entityTyped)
     

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

    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

    • ZOMBIE_VILLAGER_TYPE

      private final Supplier<com.mojang.datafixers.types.Type<?>> ZOMBIE_VILLAGER_TYPE
      Mappings:
      Namespace Name Mixin selector
      named ZOMBIE_VILLAGER_TYPE Lnet/minecraft/datafixer/fix/EntityZombieSplitFix;ZOMBIE_VILLAGER_TYPE:Ljava/util/function/Supplier;
      intermediary field_51480 Lnet/minecraft/class_1175;field_51480:Ljava/util/function/Supplier;
      official b Lbdp;b:Ljava/util/function/Supplier;
  • Constructor Details

    • EntityZombieSplitFix

      public EntityZombieSplitFix(com.mojang.datafixers.schemas.Schema outputSchema)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/datafixer/fix/EntityZombieSplitFix;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      intermediary <init> Lnet/minecraft/class_1175;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      official <init> Lbdp;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
  • Method Details

    • transform

      protected com.mojang.datafixers.util.Pair<String,com.mojang.datafixers.Typed<?>> transform(String choice, com.mojang.datafixers.Typed<?> entityTyped)
      Specified by:
      transform in class EntityTransformFix
      Mappings:
      Namespace Name Mixin selector
      named transform Lnet/minecraft/datafixer/fix/EntityTransformFix;transform(Ljava/lang/String;Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/util/Pair;
      intermediary method_4982 Lnet/minecraft/class_1167;method_4982(Ljava/lang/String;Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/util/Pair;
      official a Lbde;a(Ljava/lang/String;Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/util/Pair;
    • setZombieVillagerProfession

      private com.mojang.datafixers.Typed<?> setZombieVillagerProfession(com.mojang.datafixers.Typed<?> entityTyped, int variant)
      Mappings:
      Namespace Name Mixin selector
      named setZombieVillagerProfession Lnet/minecraft/datafixer/fix/EntityZombieSplitFix;setZombieVillagerProfession(Lcom/mojang/datafixers/Typed;I)Lcom/mojang/datafixers/Typed;
      intermediary method_59812 Lnet/minecraft/class_1175;method_59812(Lcom/mojang/datafixers/Typed;I)Lcom/mojang/datafixers/Typed;
      official a Lbdp;a(Lcom/mojang/datafixers/Typed;I)Lcom/mojang/datafixers/Typed;