public interface IRecipeHolder
Modifier and Type | Method and Description |
---|---|
default boolean |
canUseRecipe(World worldIn,
ServerPlayerEntity player,
IRecipe<?> recipe) |
IRecipe<?> |
getRecipeUsed() |
default void |
onCrafting(PlayerEntity player) |
void |
setRecipeUsed(IRecipe<?> recipe) |
void setRecipeUsed(@Nullable IRecipe<?> recipe)
@Nullable IRecipe<?> getRecipeUsed()
default void onCrafting(PlayerEntity player)
default boolean canUseRecipe(World worldIn, ServerPlayerEntity player, IRecipe<?> recipe)