Class VillagerXpRebuildFix

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

public class VillagerXpRebuildFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/VillagerXpRebuildFix
intermediary net/minecraft/class_4300
official bhy
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    private static final int
     
    private static final int[]
     
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    VillagerXpRebuildFix(com.mojang.datafixers.schemas.Schema schema, boolean bool)
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    private static com.mojang.datafixers.Typed<?>
    fixLevel(com.mojang.datafixers.Typed<?> typed, int level)
     
    private static com.mojang.datafixers.Typed<?>
    fixXp(com.mojang.datafixers.Typed<?> typed, int level)
     
    static int
    levelToXp(int level)
     
    com.mojang.datafixers.TypeRewriteRule
     

    Methods inherited from class com.mojang.datafixers.DataFix Link icon

    checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details Link icon

    • field_29914 Link icon

      private static final int field_29914
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_29914 Lnet/minecraft/datafixer/fix/VillagerXpRebuildFix;field_29914:I
      intermediary field_29914 Lnet/minecraft/class_4300;field_29914:I
      official a Lbhy;a:I
    • LEVEL_TO_XP Link icon

      private static final int[] LEVEL_TO_XP
      Mappings:
      Namespace Name Mixin selector
      named LEVEL_TO_XP Lnet/minecraft/datafixer/fix/VillagerXpRebuildFix;LEVEL_TO_XP:[I
      intermediary field_19285 Lnet/minecraft/class_4300;field_19285:[I
      official b Lbhy;b:[I
  • Constructor Details Link icon

    • VillagerXpRebuildFix Link icon

      public VillagerXpRebuildFix(com.mojang.datafixers.schemas.Schema schema, boolean bool)
  • Method Details Link icon

    • levelToXp Link icon

      public static int levelToXp(int level)
      Mappings:
      Namespace Name Mixin selector
      named levelToXp Lnet/minecraft/datafixer/fix/VillagerXpRebuildFix;levelToXp(I)I
      intermediary method_20482 Lnet/minecraft/class_4300;method_20482(I)I
      official a Lbhy;a(I)I
    • makeRule Link icon

      public com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
    • fixLevel Link icon

      private static com.mojang.datafixers.Typed<?> fixLevel(com.mojang.datafixers.Typed<?> typed, int level)
      Mappings:
      Namespace Name Mixin selector
      named fixLevel Lnet/minecraft/datafixer/fix/VillagerXpRebuildFix;fixLevel(Lcom/mojang/datafixers/Typed;I)Lcom/mojang/datafixers/Typed;
      intermediary method_20487 Lnet/minecraft/class_4300;method_20487(Lcom/mojang/datafixers/Typed;I)Lcom/mojang/datafixers/Typed;
      official a Lbhy;a(Lcom/mojang/datafixers/Typed;I)Lcom/mojang/datafixers/Typed;
    • fixXp Link icon

      private static com.mojang.datafixers.Typed<?> fixXp(com.mojang.datafixers.Typed<?> typed, int level)
      Mappings:
      Namespace Name Mixin selector
      named fixXp Lnet/minecraft/datafixer/fix/VillagerXpRebuildFix;fixXp(Lcom/mojang/datafixers/Typed;I)Lcom/mojang/datafixers/Typed;
      intermediary method_20490 Lnet/minecraft/class_4300;method_20490(Lcom/mojang/datafixers/Typed;I)Lcom/mojang/datafixers/Typed;
      official b Lbhy;b(Lcom/mojang/datafixers/Typed;I)Lcom/mojang/datafixers/Typed;