mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 12:20:11 +00:00
Someone who has more in depth knowledge of that rendering system will need to do it.
20 lines
642 B
Diff
20 lines
642 B
Diff
--- a/net/minecraft/item/crafting/RecipeItemHelper.java
|
|
+++ b/net/minecraft/item/crafting/RecipeItemHelper.java
|
|
@@ -25,9 +25,13 @@
|
|
}
|
|
|
|
public void func_194112_a(ItemStack p_194112_1_) {
|
|
- if (!p_194112_1_.func_190926_b()) {
|
|
- int i = func_194113_b(p_194112_1_);
|
|
- int j = p_194112_1_.func_190916_E();
|
|
+ this.accountStack(p_194112_1_, -1);
|
|
+ }
|
|
+
|
|
+ public void accountStack(ItemStack stack, int forceCount) {
|
|
+ if (!stack.func_190926_b()) {
|
|
+ int i = func_194113_b(stack);
|
|
+ int j = forceCount == -1 ? stack.func_190916_E() : forceCount;
|
|
this.func_194117_b(i, j);
|
|
}
|
|
|