blob: 5880100421554a99d740128c730bdfd44ddee6bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/*
* Roughly Enough Items by Danielshe.
* Licensed under the MIT License.
*/
package me.shedaniel.rei.api;
import net.minecraft.util.Identifier;
import java.util.List;
import java.util.Optional;
public interface LiveRecipeGenerator<T extends RecipeDisplay> {
Identifier getCategoryIdentifier();
default Optional<List<T>> getRecipeFor(EntryStack entry) {
return Optional.empty();
}
default Optional<List<T>> getUsageFor(EntryStack entry) {
return Optional.empty();
}
}
|