MCPcopy Create free account
hub / github.com/BuildCraft/BuildCraft / fmlInit

Method fmlInit

common/buildcraft/lib/BCLibRecipes.java:12–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11public class BCLibRecipes {
12 public static void fmlInit() {
13 if (BCLibItems.guide != null) {
14 Object[] input = { new ItemStack(Items.BOOK), null };
15 if (BCItems.CORE_GEAR_WOOD != null) {
16 input[1] = BCItems.CORE_GEAR_WOOD;
17 } else {
18 input[1] = Items.STICK;
19 }
20 GameRegistry.addRecipe(new ShapelessOreRecipe(BCLibItems.guide, input));
21 }
22 }
23}

Callers 1

initMethod · 0.95

Calls 1

addRecipeMethod · 0.45

Tested by

no test coverage detected