aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/bop/blocks/rainforest
diff options
context:
space:
mode:
authorDraknyte1 <Draknyte1@hotmail.com>2017-05-27 15:41:04 +1000
committerDraknyte1 <Draknyte1@hotmail.com>2017-05-27 15:41:04 +1000
commitb20fad29ca4e6ad5de25080e212ab5257692afa5 (patch)
treea83c378cac103dac82a32b0508212109b5ac0d04 /src/Java/gtPlusPlus/xmod/bop/blocks/rainforest
parent0c3d983f6bfa7ada1c85a6176f599a3ea4bb8d2a (diff)
downloadGT5-Unofficial-b20fad29ca4e6ad5de25080e212ab5257692afa5.tar.gz
GT5-Unofficial-b20fad29ca4e6ad5de25080e212ab5257692afa5.tar.bz2
GT5-Unofficial-b20fad29ca4e6ad5de25080e212ab5257692afa5.zip
+ Added some modular base tree (Log/Leaf/Sapling) classes.
+ Added BoP Rainforest Trees (Still need a bit of work).
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/bop/blocks/rainforest')
-rw-r--r--src/Java/gtPlusPlus/xmod/bop/blocks/rainforest/LeavesRainforestTree.java16
-rw-r--r--src/Java/gtPlusPlus/xmod/bop/blocks/rainforest/LogRainforestTree.java24
-rw-r--r--src/Java/gtPlusPlus/xmod/bop/blocks/rainforest/SaplingRainforestTree.java11
3 files changed, 51 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/xmod/bop/blocks/rainforest/LeavesRainforestTree.java b/src/Java/gtPlusPlus/xmod/bop/blocks/rainforest/LeavesRainforestTree.java
new file mode 100644
index 0000000000..890775537f
--- /dev/null
+++ b/src/Java/gtPlusPlus/xmod/bop/blocks/rainforest/LeavesRainforestTree.java
@@ -0,0 +1,16 @@
+package gtPlusPlus.xmod.bop.blocks.rainforest;
+
+import gtPlusPlus.core.util.item.ItemUtils;
+import gtPlusPlus.xmod.bop.blocks.base.LeavesBase;
+import net.minecraft.init.Items;
+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"}};
+ }
+
+} \ No newline at end of file
diff --git a/src/Java/gtPlusPlus/xmod/bop/blocks/rainforest/LogRainforestTree.java b/src/Java/gtPlusPlus/xmod/bop/blocks/rainforest/LogRainforestTree.java
new file mode 100644
index 0000000000..6d30caafb7
--- /dev/null
+++ b/src/Java/gtPlusPlus/xmod/bop/blocks/rainforest/LogRainforestTree.java
@@ -0,0 +1,24 @@
+package gtPlusPlus.xmod.bop.blocks.rainforest;
+
+import gtPlusPlus.xmod.bop.blocks.base.LogBase;
+
+public class LogRainforestTree extends LogBase {
+
+ public LogRainforestTree(){
+ super("Rainforest Oak", "rainforestoak", new String[]{"rainforest"});
+ this.treeType = new String[] {"rainforest"};
+ }
+
+ /*@Override
+ @SideOnly(Side.CLIENT)
+ protected IIcon getSideIcon(int metaID){
+ return this.textureSide[metaID % this.textureSide.length];
+ }
+
+ @Override
+ @SideOnly(Side.CLIENT)
+ protected IIcon getTopIcon(int metaID){
+ return this.textureTop[metaID % this.textureTop.length];
+ }*/
+
+} \ No newline at end of file
diff --git a/src/Java/gtPlusPlus/xmod/bop/blocks/rainforest/SaplingRainforestTree.java b/src/Java/gtPlusPlus/xmod/bop/blocks/rainforest/SaplingRainforestTree.java
new file mode 100644
index 0000000000..76c10d1bb5
--- /dev/null
+++ b/src/Java/gtPlusPlus/xmod/bop/blocks/rainforest/SaplingRainforestTree.java
@@ -0,0 +1,11 @@
+package gtPlusPlus.xmod.bop.blocks.rainforest;
+
+import gtPlusPlus.xmod.bop.blocks.base.SaplingBase;
+
+public class SaplingRainforestTree extends SaplingBase {
+
+ public SaplingRainforestTree(){
+ super("Rainforest Oak Sapling", "rainforestoak", new String[]{"rainforest"});
+ }
+
+} \ No newline at end of file