public interface RecipeUnlocker
Modifier and Type | Method and Description |
---|---|
Recipe<?> |
getLastRecipe() |
void |
setLastRecipe(Recipe<?> recipe) |
default boolean |
shouldCraftRecipe(World world,
ServerPlayerEntity player,
Recipe<?> recipe) |
default void |
unlockLastRecipe(PlayerEntity player) |
default void unlockLastRecipe(PlayerEntity player)
default boolean shouldCraftRecipe(World world, ServerPlayerEntity player, Recipe<?> recipe)