mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-25 06:14:46 +00:00
Tree refactor. Breaks wooden logs and planks.
Fix #758 Add fireproof versions of all Forestry wooden items Fix #762 Forestry saplings are randomly invisible on place. Fix #689 Remove old fence recipes Fix #504 Make NaturalistEye pretty Fix #778 Villager house roofs should be made of colorful Forestry wood stairs
This commit is contained in:
1 parent
0a79ead98d
commit
3a5ccd87cd
98 files changed
+4205
-3178
No files matched your search
@@ -24,10 +24,10 @@ import cpw.mods.fml.relauncher.SideOnly;
|
||||
import forestry.api.arboriculture.EnumTreeChromosome;
|
||||
import forestry.api.arboriculture.IAlleleFruit;
|
||||
import forestry.api.arboriculture.ITreeGenome;
|
||||
import forestry.api.arboriculture.TreeManager;
|
||||
import forestry.api.genetics.IFruitFamily;
|
||||
import forestry.core.render.TextureManager;
|
||||
import forestry.core.utils.BlockUtil;
|
||||
import forestry.plugins.PluginArboriculture;
|
||||
|
||||
public class FruitProviderPod extends FruitProviderNone {
|
||||
|
||||
@@ -85,7 +85,7 @@ public class FruitProviderPod extends FruitProviderNone {
|
||||
if (type == EnumPodType.COCOA) {
|
||||
return BlockUtil.tryPlantPot(world, x, y, z, Blocks.cocoa);
|
||||
} else {
|
||||
return PluginArboriculture.treeInterface.setFruitBlock(world, (IAlleleFruit) genome.getActiveAllele(EnumTreeChromosome.FRUITS),
|
||||
return TreeManager.treeRoot.setFruitBlock(world, (IAlleleFruit) genome.getActiveAllele(EnumTreeChromosome.FRUITS),
|
||||
genome.getSappiness(), type.uids, x, y, z);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user