@FunctionalInterface public interface RegistryEntryAddedCallback<T>
Modifier and Type | Method and Description |
---|---|
static <T> Event<RegistryEntryAddedCallback<T>> |
event(net.minecraft.util.registry.Registry<T> registry) |
void |
onEntryAdded(int rawId,
net.minecraft.util.Identifier id,
T object) |
void onEntryAdded(int rawId, net.minecraft.util.Identifier id, T object)
static <T> Event<RegistryEntryAddedCallback<T>> event(net.minecraft.util.registry.Registry<T> registry)