StateIdTracker

public final class StateIdTracker<T, S> implements RegistryIdRemapCallback<T>, RegistryEntryAddedCallback<T>

Functions

event
Link copied to clipboard
static Event<RegistryIdRemapCallback<T>> event<T>(Registry<T> registry)
static Event<RegistryEntryAddedCallback<T>> event<T>(Registry<T> registry)
onEntryAdded
Link copied to clipboard
void onEntryAdded(int rawId, Identifier id, T object)
onRemap
Link copied to clipboard
void onRemap(RegistryIdRemapCallback.RemapState<T> state)
register
Link copied to clipboard
static void register<T, S>(Registry<T> registry, IdList<S> stateList, Function<T, Collection<S>> stateGetter)

Sources

jvm source
Link copied to clipboard