Class VillagerFollowRangeFix

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

public class VillagerFollowRangeFix extends ChoiceFix
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/VillagerFollowRangeFix
intermediary net/minecraft/class_5273
official bjx
  • Field Summary

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

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

    Modifier and Type
    Method
    Description
    private static com.mojang.serialization.Dynamic<?>
    fix(com.mojang.serialization.Dynamic<?> villagerDynamic)
     
    protected com.mojang.datafixers.Typed<?>
    transform(com.mojang.datafixers.Typed<?> inputTyped)
     

    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

    • OLD_RANGE

      private static final double OLD_RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named OLD_RANGE Lnet/minecraft/datafixer/fix/VillagerFollowRangeFix;OLD_RANGE:D
      intermediary field_29912 Lnet/minecraft/class_5273;field_29912:D
      official a Lbjx;a:D
    • NEW_RANGE

      private static final double NEW_RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named NEW_RANGE Lnet/minecraft/datafixer/fix/VillagerFollowRangeFix;NEW_RANGE:D
      intermediary field_29913 Lnet/minecraft/class_5273;field_29913:D
      official b Lbjx;b:D
  • Constructor Details

    • VillagerFollowRangeFix

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

    • transform

      protected com.mojang.datafixers.Typed<?> transform(com.mojang.datafixers.Typed<?> inputTyped)
      Specified by:
      transform in class ChoiceFix
      Mappings:
      Namespace Name Mixin selector
      named transform Lnet/minecraft/datafixer/fix/ChoiceFix;transform(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;
      official a Lbhr;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
    • fix

      private static com.mojang.serialization.Dynamic<?> fix(com.mojang.serialization.Dynamic<?> villagerDynamic)
      Mappings:
      Namespace Name Mixin selector
      named fix Lnet/minecraft/datafixer/fix/VillagerFollowRangeFix;fix(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_27914 Lnet/minecraft/class_5273;method_27914(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official a Lbjx;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;