Class ItemIntIDToString


  • public class ItemIntIDToString
    extends com.mojang.datafixers.DataFix
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static it.unimi.dsi.fastutil.ints.Int2ObjectMap<java.lang.String> ITEM_NAMES  
    • Constructor Summary

      Constructors 
      Constructor Description
      ItemIntIDToString​(com.mojang.datafixers.schemas.Schema p_i49643_1_, boolean p_i49643_2_)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getItem​(int p_199173_0_)  
      com.mojang.datafixers.TypeRewriteRule 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 Detail

      • ITEM_NAMES

        private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<java.lang.String> ITEM_NAMES
    • Constructor Detail

      • ItemIntIDToString

        public ItemIntIDToString​(com.mojang.datafixers.schemas.Schema p_i49643_1_,
                                 boolean p_i49643_2_)
    • Method Detail

      • getItem

        public static java.lang.String getItem​(int p_199173_0_)
      • makeRule

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