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
official apd
intermediary net/minecraft/class_5273
named net/minecraft/datafixer/fix/VillagerFollowRangeFix
  • 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 schema)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static com.mojang.serialization.Dynamic<?>
    fix(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

    • OLD_RANGE

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

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

    • VillagerFollowRangeFix

      public VillagerFollowRangeFix(com.mojang.datafixers.schemas.Schema schema)
  • Method Details

    • 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 Lans;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;
    • fix

      private static com.mojang.serialization.Dynamic<?> fix(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official a Lapd;a(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;
      named fix Lnet/minecraft/datafixer/fix/VillagerFollowRangeFix;fix(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;