From c1b64f033bb479ebbb031eb7b33ac8831d040c00 Mon Sep 17 00:00:00 2001 From: Draknyte1 Date: Sun, 22 Jan 2017 19:04:57 +1000 Subject: + Added a FarmAI to the Tree Farmer, which handles Forestry saplings. (Will eventually also do block breaks too). + Added handling of the block break particles. --- .../core/util/particles/BlockBreakParticles.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/Java/gtPlusPlus/core/util/particles/BlockBreakParticles.java (limited to 'src/Java/gtPlusPlus/core/util') diff --git a/src/Java/gtPlusPlus/core/util/particles/BlockBreakParticles.java b/src/Java/gtPlusPlus/core/util/particles/BlockBreakParticles.java new file mode 100644 index 0000000000..df0910da99 --- /dev/null +++ b/src/Java/gtPlusPlus/core/util/particles/BlockBreakParticles.java @@ -0,0 +1,17 @@ +package gtPlusPlus.core.util.particles; + +import gtPlusPlus.xmod.forestry.HANDLER_FR; +import net.minecraft.block.Block; +import net.minecraft.world.World; + +public class BlockBreakParticles { + + public BlockBreakParticles(World world, int x, int y, int z, Block block){ + try { + HANDLER_FR.createBlockBreakParticles(world, x, y, z, block); + } catch (Throwable T){ + + } + } + +} -- cgit