mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-28 15:36:18 +00:00
Fix #1974 Add Support for Animania wool types in recipes
This commit is contained in:
1 parent
a093e7c094
commit
d6a5827f0b
3 files changed
+12
-3
No files matched your search
@@ -477,7 +477,7 @@ public class ModuleApiculture extends BlankForestryModule {
|
||||
RecipeUtil.addRecipe("scoop", items.scoop,
|
||||
"#X#", "###", " # ",
|
||||
'#', OreDictUtil.STICK_WOOD,
|
||||
'X', Blocks.WOOL);
|
||||
'X', OreDictUtil.BLOCK_WOOL);
|
||||
RecipeUtil.addRecipe("smoker", items.smoker,
|
||||
"LS#",
|
||||
"LF#",
|
||||
|
||||
@@ -10,6 +10,12 @@
|
||||
******************************************************************************/
|
||||
package forestry.apiculture.items;
|
||||
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.inventory.EntityEquipmentSlot;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
|
||||
import forestry.api.apiculture.EnumBeeType;
|
||||
import forestry.api.core.Tabs;
|
||||
import forestry.core.items.ItemForestry;
|
||||
@@ -17,8 +23,6 @@ import forestry.core.items.ItemOverlay;
|
||||
import forestry.core.items.ItemRegistry;
|
||||
import forestry.core.items.ItemScoop;
|
||||
import forestry.core.utils.OreDictUtil;
|
||||
import net.minecraft.inventory.EntityEquipmentSlot;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
|
||||
public class ItemRegistryApiculture extends ItemRegistry {
|
||||
public final ItemBeeGE beeQueenGE;
|
||||
@@ -100,5 +104,8 @@ public class ItemRegistryApiculture extends ItemRegistry {
|
||||
scoop.setHarvestLevel("scoop", 3);
|
||||
|
||||
smoker = registerItem(new ItemSmoker(), "smoker");
|
||||
|
||||
// register some common oreDict names for our recipes
|
||||
OreDictionary.registerOre(OreDictUtil.BLOCK_WOOL, new ItemStack(Blocks.WOOL, 1, OreDictionary.WILDCARD_VALUE));
|
||||
}
|
||||
}
|
||||
@@ -18,6 +18,8 @@ public class OreDictUtil {
|
||||
public static final String GEAR_TIN = "gearTin";
|
||||
public static final String GEAR_STONE = "gearStone";
|
||||
|
||||
public static final String BLOCK_WOOL = "blockWool";
|
||||
|
||||
public static final String CRAFTING_TABLE_WOOD = "craftingTableWood";
|
||||
|
||||
public static final String BEE_COMB = "beeComb";
|
||||
|
||||
Reference in new issue
Block a user