Interface InteractionEventDispatcher.RegistryHandler<T>
- Enclosing class:
InteractionEventDispatcher
- 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 TypeMethodDescriptionvoidhandle(T value, net.minecraft.core.Holder<InteractionEvent> event, StoredContext context) Handles a registry value that matched the fired interaction event.
-
Method Details
-
handle
Handles a registry value that matched the fired interaction event.- Parameters:
value- the matching registry valueevent- the interaction event that firedcontext- the context collected for the interaction event
-