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
official aly
intermediary net/minecraft/class_4300
named net/minecraft/datafixer/fix/VillagerXpRebuildFix
  • Field Summary

    Fields
    Modifier and Type Field Description
    private static int[] LEVEL_TO_XP  
  • Constructor Summary

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

    Modifier and Type Method Description
    static int levelToXp​(int level)  
    com.mojang.datafixers.TypeRewriteRule makeRule()  
    private static com.mojang.datafixers.Typed<?> method_20487​(com.mojang.datafixers.Typed<?> typed, int int2)  
    private static com.mojang.datafixers.Typed<?> method_20490​(com.mojang.datafixers.Typed<?> typed, int int2)  

    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

    • LEVEL_TO_XP

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

    • VillagerXpRebuildFix

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

    • levelToXp

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

      public com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
      Mappings:
      Namespace Name Mixin selector
      official makeRule Laly;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
      intermediary makeRule Lnet/minecraft/class_4300;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
      named makeRule Lnet/minecraft/datafixer/fix/VillagerXpRebuildFix;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
    • method_20487

      private static com.mojang.datafixers.Typed<?> method_20487​(com.mojang.datafixers.Typed<?> typed, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Laly;a(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;
      named method_20487 Lnet/minecraft/datafixer/fix/VillagerXpRebuildFix;method_20487(Lcom/mojang/datafixers/Typed;I)Lcom/mojang/datafixers/Typed;
    • method_20490

      private static com.mojang.datafixers.Typed<?> method_20490​(com.mojang.datafixers.Typed<?> typed, int int2)
      Mappings:
      Namespace Name Mixin selector
      official b Laly;b(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;
      named method_20490 Lnet/minecraft/datafixer/fix/VillagerXpRebuildFix;method_20490(Lcom/mojang/datafixers/Typed;I)Lcom/mojang/datafixers/Typed;