From 68b0075fe6cd6281a3a7b33787dcb36dd53fc02c Mon Sep 17 00:00:00 2001 From: Luke Tonon <41268323+SmellyModder@users.noreply.github.com> Date: Mon, 2 Dec 2019 17:36:30 -0500 Subject: [PATCH] Added FENCES_WOODEN and FENCE_GATES_WOODEN tags as fuels in AbstractFurnaceTileEntity (#6327) --- .../AbstractFurnaceTileEntity.java.patch | 37 +++++++++++++++---- 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/patches/minecraft/net/minecraft/tileentity/AbstractFurnaceTileEntity.java.patch b/patches/minecraft/net/minecraft/tileentity/AbstractFurnaceTileEntity.java.patch index 7aa0de7c6..068593287 100644 --- a/patches/minecraft/net/minecraft/tileentity/AbstractFurnaceTileEntity.java.patch +++ b/patches/minecraft/net/minecraft/tileentity/AbstractFurnaceTileEntity.java.patch @@ -8,7 +8,28 @@ public static Map func_214001_f() { Map map = Maps.newLinkedHashMap(); func_213996_a(map, Items.field_151129_at, 20000); -@@ -169,9 +170,9 @@ +@@ -98,18 +99,8 @@ + func_213992_a(map, ItemTags.field_202899_i, 150); + func_213992_a(map, ItemTags.field_212188_k, 300); + func_213992_a(map, ItemTags.field_202900_j, 300); +- func_213996_a(map, Blocks.field_180407_aO, 300); +- func_213996_a(map, Blocks.field_180404_aQ, 300); +- func_213996_a(map, Blocks.field_180408_aP, 300); +- func_213996_a(map, Blocks.field_180403_aR, 300); +- func_213996_a(map, Blocks.field_180406_aS, 300); +- func_213996_a(map, Blocks.field_180405_aT, 300); +- func_213996_a(map, Blocks.field_180390_bo, 300); +- func_213996_a(map, Blocks.field_180392_bq, 300); +- func_213996_a(map, Blocks.field_180391_bp, 300); +- func_213996_a(map, Blocks.field_180386_br, 300); +- func_213996_a(map, Blocks.field_180385_bs, 300); +- func_213996_a(map, Blocks.field_180387_bt, 300); ++ func_213992_a(map, net.minecraftforge.common.Tags.Items.FENCES_WOODEN, 300); ++ func_213992_a(map, net.minecraftforge.common.Tags.Items.FENCE_GATES_WOODEN, 300); + func_213996_a(map, Blocks.field_196586_al, 300); + func_213996_a(map, Blocks.field_150342_X, 300); + func_213996_a(map, Blocks.field_222428_lQ, 300); +@@ -169,9 +160,9 @@ super.func_145839_a(p_145839_1_); this.field_214012_a = NonNullList.func_191197_a(this.func_70302_i_(), ItemStack.field_190927_a); ItemStackHelper.func_191283_b(p_145839_1_, this.field_214012_a); @@ -21,7 +42,7 @@ this.field_214019_k = this.func_213997_a(this.field_214012_a.get(1)); int i = p_145839_1_.func_74765_d("RecipesUsedSize"); -@@ -185,9 +186,9 @@ +@@ -185,9 +176,9 @@ public CompoundNBT func_189515_b(CompoundNBT p_189515_1_) { super.func_189515_b(p_189515_1_); @@ -34,7 +55,7 @@ ItemStackHelper.func_191282_a(p_189515_1_, this.field_214012_a); p_189515_1_.func_74777_a("RecipesUsedSize", (short)this.field_214022_n.size()); int i = 0; -@@ -217,12 +218,14 @@ +@@ -217,12 +208,14 @@ this.field_214019_k = this.field_214018_j; if (this.func_214006_r()) { flag1 = true; @@ -51,7 +72,7 @@ } } } -@@ -266,10 +269,10 @@ +@@ -266,10 +259,10 @@ return true; } else if (!itemstack1.func_77969_a(itemstack)) { return false; @@ -64,7 +85,7 @@ } } } else { -@@ -285,7 +288,7 @@ +@@ -285,7 +278,7 @@ if (itemstack2.func_190926_b()) { this.field_214012_a.set(2, itemstack1.func_77946_l()); } else if (itemstack2.func_77973_b() == itemstack1.func_77973_b()) { @@ -73,7 +94,7 @@ } if (!this.field_145850_b.field_72995_K) { -@@ -305,7 +308,7 @@ +@@ -305,7 +298,7 @@ return 0; } else { Item item = p_213997_1_.func_77973_b(); @@ -82,7 +103,7 @@ } } -@@ -314,7 +317,7 @@ +@@ -314,7 +307,7 @@ } public static boolean func_213991_b(ItemStack p_213991_0_) { @@ -91,7 +112,7 @@ } public int[] func_180463_a(Direction p_180463_1_) { -@@ -462,4 +465,27 @@ +@@ -462,4 +455,27 @@ } }