Registry Id Remap Callback
public interface RegistryIdRemapCallback<T>
Content copied to clipboard
The remapping process functions as follows:
- RegistryEntryRemovedCallbacks are called to remove any objects culled in the process, with the old numeric ID.
- RegistryIdRemapCallback is emitted to allow remapping the IDs of objects still present.
- RegistryEntryAddedCallbacks are called to add any objects added in the process, with the new numeric ID.
RegistryIdRemapCallback is called on every remapping operation, if you want to do your own processing in one swoop (say, rebuild the ID map from scratch).
Generally speaking, a remap can only cause object *removals*; object *additions* are necessary to reverse remaps.
Parameters
<T>
The registry type.
Types
RemapState
Link copied to clipboard
public interface RemapState<T>
Content copied to clipboard
Functions
Inheritors
IdListTracker
Link copied to clipboard
Int2ObjectMapTracker
Link copied to clipboard
StateIdTracker
Link copied to clipboard
Sources
jvm source
Link copied to clipboard