Search in sources :

Example 6 with BlockRegistryLepidopterology

use of forestry.lepidopterology.blocks.BlockRegistryLepidopterology in project ForestryMC by ForestryMC.

the class ModuleLepidopterology method registerRecipes.

@Override
public void registerRecipes() {
    BlockRegistryLepidopterology blocks = getBlocks();
    ItemRegistryLepidopterology items = getItems();
    ForgeRegistries.RECIPES.register(new MatingRecipe());
    RecipeUtil.addRecipe("butterfly_chest", blocks.butterflyChest, " # ", "XYX", "XXX", '#', "blockGlass", 'X', new ItemStack(items.butterflyGE, 1, OreDictionary.WILDCARD_VALUE), 'Y', "chestWood");
}
Also used : ItemRegistryLepidopterology(forestry.lepidopterology.items.ItemRegistryLepidopterology) BlockRegistryLepidopterology(forestry.lepidopterology.blocks.BlockRegistryLepidopterology) ItemStack(net.minecraft.item.ItemStack) MatingRecipe(forestry.lepidopterology.recipes.MatingRecipe)

Aggregations

BlockRegistryLepidopterology (forestry.lepidopterology.blocks.BlockRegistryLepidopterology)6 ItemStack (net.minecraft.item.ItemStack)3 ItemRegistryLepidopterology (forestry.lepidopterology.items.ItemRegistryLepidopterology)2 ResourceLocation (net.minecraft.util.ResourceLocation)2 AlleleSpeciesRegisterEvent (forestry.api.genetics.AlleleSpeciesRegisterEvent)1 IAlleleButterflySpecies (forestry.api.lepidopterology.IAlleleButterflySpecies)1 BlockRegistryApiculture (forestry.apiculture.blocks.BlockRegistryApiculture)1 CommandButterfly (forestry.lepidopterology.commands.CommandButterfly)1 MatingRecipe (forestry.lepidopterology.recipes.MatingRecipe)1 TileCocoon (forestry.lepidopterology.tiles.TileCocoon)1 ItemRegistryBackpacks (forestry.storage.items.ItemRegistryBackpacks)1 Block (net.minecraft.block.Block)1 IBlockState (net.minecraft.block.state.IBlockState)1 BlockPos (net.minecraft.util.math.BlockPos)1