public class RecipeFinder
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static ISimpleReloadListener |
LISTENER |
| Constructor and Description |
|---|
RecipeFinder() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<net.minecraft.item.crafting.IRecipe<?>> |
get(java.lang.Object cacheKey,
net.minecraft.world.World world,
java.util.function.Predicate<net.minecraft.item.crafting.IRecipe<?>> conditions)
Find all IRecipes matching the condition predicate.
|
public static final ISimpleReloadListener LISTENER
public static java.util.List<net.minecraft.item.crafting.IRecipe<?>> get(@Nullable
java.lang.Object cacheKey,
net.minecraft.world.World world,
java.util.function.Predicate<net.minecraft.item.crafting.IRecipe<?>> conditions)
cacheKey - (can be null to prevent the caching)world - conditions -