Interface RegistryEvents.EntryAdded<V>
- Type Parameters:
V- the entry type of theRegistrybeing listened for
- Enclosing class:
- RegistryEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface to be implemented on callbacks for
RegistryEvents.getEntryAddEvent(Registry).-
Method Summary
Modifier and TypeMethodDescriptionvoidonAdded(RegistryEntryContext<V> context) Called when an entry in this callback's event'sRegistryhas an entry added or assigned.
-
Method Details
-
onAdded
Called when an entry in this callback's event'sRegistryhas an entry added or assigned.- Parameters:
context- an object containing information regarding the registry, entry object, and identifier of the entry being registered
-