blob: 30f57e1ce6b9e7742fd5359c354b899eafe4f7bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package gtPlusPlus.xmod.bop.blocks.rainforest;
import java.util.Random;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import gtPlusPlus.core.util.minecraft.ItemUtils;
import gtPlusPlus.xmod.bop.blocks.BOPBlockRegistrator;
import gtPlusPlus.xmod.bop.blocks.base.LeavesBase;
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" } };
}
@Override
public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) {
return Item.getItemFromBlock(BOPBlockRegistrator.sapling_Rainforest);
}
}
|