Package net.minecraft.recipe
Interface RecipeUnlocker
- All Known Implementing Classes:
AbstractFurnaceBlockEntity
,BlastFurnaceBlockEntity
,CraftingResultInventory
,FurnaceBlockEntity
,SmokerBlockEntity
public interface RecipeUnlocker
- Mappings:
Namespace Name official blw
intermediary net/minecraft/class_1732
named net/minecraft/recipe/RecipeUnlocker
-
Method Summary
Modifier and Type Method Description @Nullable Recipe<?>
getLastRecipe()
void
setLastRecipe(@Nullable Recipe<?> recipe)
default boolean
shouldCraftRecipe(World world, ServerPlayerEntity player, Recipe<?> recipe)
default void
unlockLastRecipe(PlayerEntity player)
-
Method Details
-
setLastRecipe
- Mappings:
Namespace Name Mixin selector official a
Lblw;a(Lbri;)V
intermediary method_7662
Lnet/minecraft/class_1732;method_7662(Lnet/minecraft/class_1860;)V
named setLastRecipe
Lnet/minecraft/recipe/RecipeUnlocker;setLastRecipe(Lnet/minecraft/recipe/Recipe;)V
-
getLastRecipe
- Mappings:
Namespace Name Mixin selector official ao_
Lblw;ao_()Lbri;
intermediary method_7663
Lnet/minecraft/class_1732;method_7663()Lnet/minecraft/class_1860;
named getLastRecipe
Lnet/minecraft/recipe/RecipeUnlocker;getLastRecipe()Lnet/minecraft/recipe/Recipe;
-
unlockLastRecipe
- Mappings:
Namespace Name Mixin selector official b
Lblw;b(Lbif;)V
intermediary method_7664
Lnet/minecraft/class_1732;method_7664(Lnet/minecraft/class_1657;)V
named unlockLastRecipe
Lnet/minecraft/recipe/RecipeUnlocker;unlockLastRecipe(Lnet/minecraft/entity/player/PlayerEntity;)V
-
shouldCraftRecipe
- Mappings:
Namespace Name Mixin selector official a
Lblw;a(Lbuq;Labg;Lbri;)Z
intermediary method_7665
Lnet/minecraft/class_1732;method_7665(Lnet/minecraft/class_1937;Lnet/minecraft/class_3222;Lnet/minecraft/class_1860;)Z
named shouldCraftRecipe
Lnet/minecraft/recipe/RecipeUnlocker;shouldCraftRecipe(Lnet/minecraft/world/World;Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/recipe/Recipe;)Z
-