Register biome essence recipe

This commit is contained in:
Anton 2015-07-05 13:26:44 +03:00
parent 43f6473ac5
commit a2c815acc9
2 changed files with 7 additions and 2 deletions

View file

@ -136,7 +136,7 @@ public class BlockBOPSapling extends BlockSapling
switch (meta)
{
case 0: // Apple Tree
obj = new WorldGenOriginalTree(Blocks.log, Blocks.leaves, 0, 0, 1);
obj = new WorldGenOriginalTree(Blocks.log, BOPCBlocks.appleLeaves, 0, 0, 1);
break;
case 1: // Autumn Tree
@ -206,7 +206,7 @@ public class BlockBOPSapling extends BlockSapling
break;
case 15: // Persimmon
obj = new WorldGenOriginalTree(Blocks.log, BOPCBlocks.leaves2, 0, 0, 1);
obj = new WorldGenOriginalTree(Blocks.log, BOPCBlocks.persimmonLeaves, 0, 0, 1);
break;
}
}

View file

@ -5,11 +5,16 @@ import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.IRecipe;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.World;
import net.minecraftforge.oredict.RecipeSorter;
import biomesoplenty.api.BOPItemHelper;
import biomesoplenty.api.content.BOPCItems;
public class BiomeEssenceRecipe implements IRecipe
{
static {
RecipeSorter.register("BiomesOPlenty:biomeessenceRecipe", BiomeEssenceRecipe.class, RecipeSorter.Category.SHAPELESS, "after:minecraft:shapeless");
}
private ItemStack recipeOutput;
@Override