Interface RecipeComponentWithParent<T>

Type Parameters:
T - The value type of this component
All Superinterfaces:
RecipeComponent<T>
All Known Implementing Classes:
RecipeComponentWithCodec

public interface RecipeComponentWithParent<T> extends RecipeComponent<T>
A recipe component that may delegate most of its logic to a parent component. A common example of using this would be to define a custom item output component with different serialization or matching logic, but that can still use the same base ItemOutput type as its parent.
  • Method Details