Int2ObjectMapTracker

public class Int2ObjectMapTracker<V, OV> implements RegistryEntryAddedCallback<V>, RegistryIdRemapCallback<V>, RegistryEntryRemovedCallback<V>

Functions

event
Link copied to clipboard
static Event<RegistryEntryAddedCallback<T>> event<T>(Registry<T> registry)
static Event<RegistryIdRemapCallback<T>> event<T>(Registry<T> registry)
static Event<RegistryEntryRemovedCallback<T>> event<T>(Registry<T> registry)
onEntryAdded
Link copied to clipboard
abstract void onEntryAdded(int rawId, Identifier id, T object)
void onEntryAdded(int rawId, Identifier id, V object)
onEntryRemoved
Link copied to clipboard
abstract void onEntryRemoved(int rawId, Identifier id, T object)
void onEntryRemoved(int rawId, Identifier id, V object)
onRemap
Link copied to clipboard
abstract void onRemap(RegistryIdRemapCallback.RemapState<T> state)
void onRemap(RegistryIdRemapCallback.RemapState<V> state)
register
Link copied to clipboard
static void register<V, OV>(Registry<V> registry, String name, Int2ObjectMap<OV> mappers)

Sources

jvm source
Link copied to clipboard