Class EntityZombieVillagerTypeFix

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

public class EntityZombieVillagerTypeFix extends ChoiceFix
Mappings:
Namespace Name
official amz
intermediary net/minecraft/class_1174
named net/minecraft/datafixer/fix/EntityZombieVillagerTypeFix
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final int
     
    private static final Random
     
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    private int
    clampType(int type)
     
    com.mojang.serialization.Dynamic<?>
    fixZombieType(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

    • field_29883

      private static final int field_29883
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lamz;a:I
      intermediary field_29883 Lnet/minecraft/class_1174;field_29883:I
      named field_29883 Lnet/minecraft/datafixer/fix/EntityZombieVillagerTypeFix;field_29883:I
    • RANDOM

      private static final Random RANDOM
      Mappings:
      Namespace Name Mixin selector
      official b Lamz;b:Ljava/util/Random;
      intermediary field_5674 Lnet/minecraft/class_1174;field_5674:Ljava/util/Random;
      named RANDOM Lnet/minecraft/datafixer/fix/EntityZombieVillagerTypeFix;RANDOM:Ljava/util/Random;
  • Constructor Details

    • EntityZombieVillagerTypeFix

      public EntityZombieVillagerTypeFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lamz;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      intermediary <init> Lnet/minecraft/class_1174;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      named <init> Lnet/minecraft/datafixer/fix/EntityZombieVillagerTypeFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
  • Method Details

    • fixZombieType

      public com.mojang.serialization.Dynamic<?> fixZombieType(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official a Lamz;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_4990 Lnet/minecraft/class_1174;method_4990(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named fixZombieType Lnet/minecraft/datafixer/fix/EntityZombieVillagerTypeFix;fixZombieType(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • clampType

      private int clampType(int type)
      Mappings:
      Namespace Name Mixin selector
      official a Lamz;a(I)I
      intermediary method_4991 Lnet/minecraft/class_1174;method_4991(I)I
      named clampType Lnet/minecraft/datafixer/fix/EntityZombieVillagerTypeFix;clampType(I)I
    • transform

      protected com.mojang.datafixers.Typed<?> transform(com.mojang.datafixers.Typed<?> inputType)
      Specified by:
      transform in class ChoiceFix
      Mappings:
      Namespace Name Mixin selector
      official a Laof;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
      intermediary method_5105 Lnet/minecraft/class_1197;method_5105(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
      named transform Lnet/minecraft/datafixer/fix/ChoiceFix;transform(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;