Skip to content
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.

Commit

Permalink
yeet part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCodedOne authored Sep 6, 2018
1 parent 8998e25 commit 3a8f7c9
Showing 1 changed file with 8 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ public BlockTraverseLeaves(String name, Item sapling, int saplingDropChance) {
ShootingStar.registerModel(new ModelCompound(TraverseConstants.MOD_ID, this, "leaves", CHECK_DECAY, DECAYABLE));
}


public int quantityDropped(Random random) {
return random.nextInt(saplingDropChance) == 0 ? 1 : 0;
}
Expand All @@ -60,17 +59,15 @@ public List<ItemStack> onSheared(ItemStack item, IBlockAccess world, BlockPos po
}

@Override
public boolean isOpaqueCube(IBlockState state) {
return Blocks.LEAVES.getDefaultState().isOpaqueCube();
}

@Override
@SideOnly(Side.CLIENT)
public BlockRenderLayer getBlockLayer() {
return Blocks.LEAVES.getBlockLayer();
}

public boolean isOpaqueCube(IBlockState state) {
return Blocks.LEAVES.getDefaultState().isOpaqueCube();
}

@Override
@SideOnly(Side.CLIENT)
public BlockRenderLayer getBlockLayer() {
return Blocks.LEAVES.getBlockLayer();
}

@Override
protected BlockStateContainer createBlockState() {
Expand Down

0 comments on commit 3a8f7c9

Please sign in to comment.