Package net.minecraft.recipe
Class RecipeCache
java.lang.Object
net.minecraft.recipe.RecipeCache
- Mappings:
Namespace Name named net/minecraft/recipe/RecipeCache
intermediary net/minecraft/class_8884
official cyx
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final RecipeCache.CachedRecipe[]
private WeakReference
<RecipeManager> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
cache
(List<ItemStack> inputStacks, @Nullable RecipeEntry<CraftingRecipe> recipe) private Optional
<RecipeEntry<CraftingRecipe>> getAndCacheRecipe
(RecipeInputInventory inputInventory, World world) getRecipe
(World world, RecipeInputInventory inputInventory) private void
sendToFront
(int index) private void
validateRecipeManager
(World world)
-
Field Details
-
cache
- Mappings:
Namespace Name Mixin selector named cache
Lnet/minecraft/recipe/RecipeCache;cache:[Lnet/minecraft/recipe/RecipeCache$CachedRecipe;
intermediary field_46792
Lnet/minecraft/class_8884;field_46792:[Lnet/minecraft/class_8884$class_8885;
official a
Lcyx;a:[Lcyx$a;
-
recipeManagerRef
- Mappings:
Namespace Name Mixin selector named recipeManagerRef
Lnet/minecraft/recipe/RecipeCache;recipeManagerRef:Ljava/lang/ref/WeakReference;
intermediary field_46793
Lnet/minecraft/class_8884;field_46793:Ljava/lang/ref/WeakReference;
official b
Lcyx;b:Ljava/lang/ref/WeakReference;
-
-
Constructor Details
-
RecipeCache
public RecipeCache(int size) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/recipe/RecipeCache;<init>(I)V
intermediary <init>
Lnet/minecraft/class_8884;<init>(I)V
official <init>
Lcyx;<init>(I)V
-
-
Method Details
-
getRecipe
public Optional<RecipeEntry<CraftingRecipe>> getRecipe(World world, RecipeInputInventory inputInventory) - Mappings:
Namespace Name Mixin selector named getRecipe
Lnet/minecraft/recipe/RecipeCache;getRecipe(Lnet/minecraft/world/World;Lnet/minecraft/inventory/RecipeInputInventory;)Ljava/util/Optional;
intermediary method_54470
Lnet/minecraft/class_8884;method_54470(Lnet/minecraft/class_1937;Lnet/minecraft/class_8566;)Ljava/util/Optional;
official a
Lcyx;a(Ldbz;Lcql;)Ljava/util/Optional;
-
validateRecipeManager
- Mappings:
Namespace Name Mixin selector named validateRecipeManager
Lnet/minecraft/recipe/RecipeCache;validateRecipeManager(Lnet/minecraft/world/World;)V
intermediary method_54469
Lnet/minecraft/class_8884;method_54469(Lnet/minecraft/class_1937;)V
official a
Lcyx;a(Ldbz;)V
-
getAndCacheRecipe
private Optional<RecipeEntry<CraftingRecipe>> getAndCacheRecipe(RecipeInputInventory inputInventory, World world) - Mappings:
Namespace Name Mixin selector named getAndCacheRecipe
Lnet/minecraft/recipe/RecipeCache;getAndCacheRecipe(Lnet/minecraft/inventory/RecipeInputInventory;Lnet/minecraft/world/World;)Ljava/util/Optional;
intermediary method_54468
Lnet/minecraft/class_8884;method_54468(Lnet/minecraft/class_8566;Lnet/minecraft/class_1937;)Ljava/util/Optional;
official a
Lcyx;a(Lcql;Ldbz;)Ljava/util/Optional;
-
sendToFront
private void sendToFront(int index) - Mappings:
Namespace Name Mixin selector named sendToFront
Lnet/minecraft/recipe/RecipeCache;sendToFront(I)V
intermediary method_54467
Lnet/minecraft/class_8884;method_54467(I)V
official a
Lcyx;a(I)V
-
cache
private void cache(List<ItemStack> inputStacks, @Nullable @Nullable RecipeEntry<CraftingRecipe> recipe) - Mappings:
Namespace Name Mixin selector named cache
Lnet/minecraft/recipe/RecipeCache;cache(Ljava/util/List;Lnet/minecraft/recipe/RecipeEntry;)V
intermediary method_54471
Lnet/minecraft/class_8884;method_54471(Ljava/util/List;Lnet/minecraft/class_8786;)V
official a
Lcyx;a(Ljava/util/List;Lcyy;)V
-