Package net.fabricmc.fabric.api.item.v1
Interface DefaultItemComponentEvents.ModifyCallback
- Enclosing class:
DefaultItemComponentEvents
- 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 TypeMethodDescriptionvoid
Modify the default data components of items using the providedDefaultItemComponentEvents.ModifyContext
instance.
-
Method Details
-
modify
Modify the default data components of items using the providedDefaultItemComponentEvents.ModifyContext
instance.- Parameters:
context
- The context to modify items
-