aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/bop/blocks/pine/LeavesPineTree.java
diff options
context:
space:
mode:
authoriouter <62897714+iouter@users.noreply.github.com>2022-01-07 12:36:06 +0800
committerGitHub <noreply@github.com>2022-01-07 12:36:06 +0800
commit0834d4b8b45a881f36ed5b295ac0fb38df49fa9a (patch)
tree6fb4a45cf17dd22748148417bc7bb0efb850cea3 /src/Java/gtPlusPlus/xmod/bop/blocks/pine/LeavesPineTree.java
parentea1439a4195c8f77c45625ea2593a232bf19984e (diff)
parent9b2e050151ad93170e84321d067d1e9d4ded4ba5 (diff)
downloadGT5-Unofficial-0834d4b8b45a881f36ed5b295ac0fb38df49fa9a.tar.gz
GT5-Unofficial-0834d4b8b45a881f36ed5b295ac0fb38df49fa9a.tar.bz2
GT5-Unofficial-0834d4b8b45a881f36ed5b295ac0fb38df49fa9a.zip
Merge branch 'GTNewHorizons:master' into master
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/bop/blocks/pine/LeavesPineTree.java')
-rw-r--r--src/Java/gtPlusPlus/xmod/bop/blocks/pine/LeavesPineTree.java36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/Java/gtPlusPlus/xmod/bop/blocks/pine/LeavesPineTree.java b/src/Java/gtPlusPlus/xmod/bop/blocks/pine/LeavesPineTree.java
deleted file mode 100644
index c942db14cf..0000000000
--- a/src/Java/gtPlusPlus/xmod/bop/blocks/pine/LeavesPineTree.java
+++ /dev/null
@@ -1,36 +0,0 @@
-package gtPlusPlus.xmod.bop.blocks.pine;
-
-import java.util.Random;
-
-import gtPlusPlus.api.objects.Logger;
-import gtPlusPlus.core.item.chemistry.AgriculturalChem;
-import gtPlusPlus.core.util.math.MathUtils;
-import gtPlusPlus.core.util.minecraft.ItemUtils;
-import gtPlusPlus.xmod.bop.blocks.BOP_Block_Registrator;
-import gtPlusPlus.xmod.bop.blocks.base.LeavesBase;
-import net.minecraft.item.Item;
-import net.minecraft.item.ItemStack;
-import net.minecraft.world.World;
-
-public class LeavesPineTree extends LeavesBase {
-
- public LeavesPineTree(){
- super("Pine", "pine", new ItemStack[]{});
- this.treeType = new String[] {"pine"};
- this.leafType = new String[][] {{"pine"},{"pine_opaque"}};
- }
-
- @Override
- public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_){
- return Item.getItemFromBlock(BOP_Block_Registrator.sapling_Pine);
- }
-
- @Override//Drops when Leaf is broken
- protected void func_150124_c(World world, int x, int y, int z, int meta, int randomChance){
- Logger.INFO("Dropping Bonus Drops");
- if (MathUtils.randInt(0, 10) >= 9) {
- this.dropBlockAsItem(world, x, y, z, ItemUtils.getSimpleStack(AgriculturalChem.mPinecone, MathUtils.randInt(1, 4)));
- }
- }
-
-} \ No newline at end of file