Class ItemIdFix

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

public class ItemIdFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
official awy
intermediary net/minecraft/class_1181
named net/minecraft/datafixer/fix/ItemIdFix
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final Int2ObjectMap<String>
     
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    static String
    fromId(int id)
     
    com.mojang.datafixers.TypeRewriteRule
     

    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

    • NUMERICAL_ID_TO_STRING_ID_MAP

      private static final Int2ObjectMap<String> NUMERICAL_ID_TO_STRING_ID_MAP
      Mappings:
      Namespace Name Mixin selector
      official a Lawy;a:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      intermediary field_5675 Lnet/minecraft/class_1181;field_5675:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      named NUMERICAL_ID_TO_STRING_ID_MAP Lnet/minecraft/datafixer/fix/ItemIdFix;NUMERICAL_ID_TO_STRING_ID_MAP:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
  • Constructor Details

    • ItemIdFix

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

    • fromId

      public static String fromId(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Lawy;a(I)Ljava/lang/String;
      intermediary method_5018 Lnet/minecraft/class_1181;method_5018(I)Ljava/lang/String;
      named fromId Lnet/minecraft/datafixer/fix/ItemIdFix;fromId(I)Ljava/lang/String;
    • makeRule

      public com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix