Interface RegistryEntryAddedCallback<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Event<RegistryEntryAddedCallback<T>>
event(net.minecraft.util.registry.Registry<T> registry)
void
onEntryAdded(int rawId, net.minecraft.util.Identifier id, T object)
-
Method Details
-
onEntryAdded
-
event
static <T> Event<RegistryEntryAddedCallback<T>> event(net.minecraft.util.registry.Registry<T> registry)
-