接口 RecipeUnlocker
-
- 所有已知实现类:
AbstractFurnaceBlockEntity,BlastFurnaceBlockEntity,CraftingResultInventory,FurnaceBlockEntity,SmokerBlockEntity
public interface RecipeUnlocker- Mappings:
Namespace Name official bmwintermediary net/minecraft/class_1732named net/minecraft/recipe/RecipeUnlocker
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 @Nullable Recipe<?>getLastRecipe()voidsetLastRecipe(@Nullable Recipe<?> recipe)default booleanshouldCraftRecipe(World world, ServerPlayerEntity player, Recipe<?> recipe)default voidunlockLastRecipe(PlayerEntity player)
-
-
-
方法详细资料
-
setLastRecipe
void setLastRecipe(@Nullable @Nullable Recipe<?> recipe)
- Mappings:
Namespace Name Mixin selector official aLbmw;a(Lbsj;)Vintermediary method_7662Lnet/minecraft/class_1732;method_7662(Lnet/minecraft/class_1860;)Vnamed setLastRecipeLnet/minecraft/recipe/RecipeUnlocker;setLastRecipe(Lnet/minecraft/recipe/Recipe;)V
-
getLastRecipe
@Nullable @Nullable Recipe<?> getLastRecipe()
- Mappings:
Namespace Name Mixin selector official ap_Lbmw;ap_()Lbsj;intermediary method_7663Lnet/minecraft/class_1732;method_7663()Lnet/minecraft/class_1860;named getLastRecipeLnet/minecraft/recipe/RecipeUnlocker;getLastRecipe()Lnet/minecraft/recipe/Recipe;
-
unlockLastRecipe
default void unlockLastRecipe(PlayerEntity player)
- Mappings:
Namespace Name Mixin selector official bLbmw;b(Lbjf;)Vintermediary method_7664Lnet/minecraft/class_1732;method_7664(Lnet/minecraft/class_1657;)Vnamed unlockLastRecipeLnet/minecraft/recipe/RecipeUnlocker;unlockLastRecipe(Lnet/minecraft/entity/player/PlayerEntity;)V
-
shouldCraftRecipe
default boolean shouldCraftRecipe(World world, ServerPlayerEntity player, Recipe<?> recipe)
- Mappings:
Namespace Name Mixin selector official aLbmw;a(Lbvr;Labk;Lbsj;)Zintermediary method_7665Lnet/minecraft/class_1732;method_7665(Lnet/minecraft/class_1937;Lnet/minecraft/class_3222;Lnet/minecraft/class_1860;)Znamed shouldCraftRecipeLnet/minecraft/recipe/RecipeUnlocker;shouldCraftRecipe(Lnet/minecraft/world/World;Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/recipe/Recipe;)Z
-
-