Class RemapStateImpl<T>

java.lang.Object
net.fabricmc.fabric.impl.registry.sync.RemapStateImpl<T>
All Implemented Interfaces:
RegistryIdRemapCallback.RemapState<T>

public class RemapStateImpl<T> extends Object implements RegistryIdRemapCallback.RemapState<T>
  • Constructor Summary

    Constructors
    Constructor
    Description
    RemapStateImpl(net.minecraft.core.Registry<T> registry, it.unimi.dsi.fastutil.ints.Int2ObjectMap<net.minecraft.resources.Identifier> oldIdMap, it.unimi.dsi.fastutil.ints.Int2IntMap rawIdChangeMap)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.resources.Identifier
    getIdFromNew(int newRawId)
     
    net.minecraft.resources.Identifier
    getIdFromOld(int oldRawId)
     
    it.unimi.dsi.fastutil.ints.Int2IntMap
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RemapStateImpl

      public RemapStateImpl(net.minecraft.core.Registry<T> registry, it.unimi.dsi.fastutil.ints.Int2ObjectMap<net.minecraft.resources.Identifier> oldIdMap, it.unimi.dsi.fastutil.ints.Int2IntMap rawIdChangeMap)
  • Method Details