aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/bop/blocks/rainforest
diff options
context:
space:
mode:
authorDraknyte1 <Draknyte1@hotmail.com>2017-05-27 19:14:30 +1000
committerDraknyte1 <Draknyte1@hotmail.com>2017-05-27 19:14:30 +1000
commit230617a2bcac2493a15cdf24510a0caf967ceacc (patch)
tree413d241b3eff8d0066cd2ad12c7cfc2ce40305a3 /src/Java/gtPlusPlus/xmod/bop/blocks/rainforest
parent6f33213c0ed4561ed2892036bd15c55524841754 (diff)
downloadGT5-Unofficial-230617a2bcac2493a15cdf24510a0caf967ceacc.tar.gz
GT5-Unofficial-230617a2bcac2493a15cdf24510a0caf967ceacc.tar.bz2
GT5-Unofficial-230617a2bcac2493a15cdf24510a0caf967ceacc.zip
$ Fixed leaf generation on Rainforest Oaks.
$ Fixed leaf drops on Rainforest Oaks. $ Fixed Flammability on custom Logs/Leaves.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/bop/blocks/rainforest')
-rw-r--r--src/Java/gtPlusPlus/xmod/bop/blocks/rainforest/LeavesRainforestTree.java19
1 files changed, 14 insertions, 5 deletions
diff --git a/src/Java/gtPlusPlus/xmod/bop/blocks/rainforest/LeavesRainforestTree.java b/src/Java/gtPlusPlus/xmod/bop/blocks/rainforest/LeavesRainforestTree.java
index 890775537f..2fcbd966ee 100644
--- a/src/Java/gtPlusPlus/xmod/bop/blocks/rainforest/LeavesRainforestTree.java
+++ b/src/Java/gtPlusPlus/xmod/bop/blocks/rainforest/LeavesRainforestTree.java
@@ -1,16 +1,25 @@
package gtPlusPlus.xmod.bop.blocks.rainforest;
+import java.util.Random;
+
import gtPlusPlus.core.util.item.ItemUtils;
+import gtPlusPlus.xmod.bop.blocks.BOP_Block_Registrator;
import gtPlusPlus.xmod.bop.blocks.base.LeavesBase;
import net.minecraft.init.Items;
+import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
public class LeavesRainforestTree extends LeavesBase {
- public LeavesRainforestTree(){
- super("Rainforest Oak", "rainforestoak", new ItemStack[]{ItemUtils.getSimpleStack(Items.apple)});
- this.treeType = new String[] {"rainforest"};
- this.leafType = new String[][] {{"rainforest"},{"rainforest_opaque"}};
- }
+ public LeavesRainforestTree(){
+ super("Rainforest Oak", "rainforestoak", new ItemStack[]{ItemUtils.getSimpleStack(Items.apple)});
+ this.treeType = new String[] {"rainforest"};
+ this.leafType = new String[][] {{"rainforest"},{"rainforest_opaque"}};
+ }
+
+ @Override
+ public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_){
+ return Item.getItemFromBlock(BOP_Block_Registrator.sapling_Rainforest);
+ }
} \ No newline at end of file