Interface MappedRegistryAccessor<T>


public interface MappedRegistryAccessor<T>
This is very dangerous and should only be used during datagen
  • Method Summary

    Modifier and Type
    Method
    Description
    Map<T,net.minecraft.core.Holder.Reference<T>>
     
    it.unimi.dsi.fastutil.objects.Reference2IntMap<T>
     
  • Method Details

    • getToId

      it.unimi.dsi.fastutil.objects.Reference2IntMap<T> getToId()
    • getByValue

      Map<T,net.minecraft.core.Holder.Reference<T>> getByValue()