From 311ab89f93558233a40079f7cb16605b141b5346 Mon Sep 17 00:00:00 2001 From: Johann Bernhardt Date: Sun, 12 Dec 2021 19:38:06 +0100 Subject: Move sources and resources --- .../xmod/bop/blocks/pine/LeavesPineTree.java | 36 ---------------------- 1 file changed, 36 deletions(-) delete mode 100644 src/Java/gtPlusPlus/xmod/bop/blocks/pine/LeavesPineTree.java (limited to 'src/Java/gtPlusPlus/xmod/bop/blocks/pine/LeavesPineTree.java') 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 -- cgit